|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.p13n.security.management.credentials.CredentialSecurityMgmtHelper
public class CredentialSecurityMgmtHelper
Provides helper methods for accessing security management classes, especially those used to manage SSPI providers.
Constructor Summary | |
---|---|
CredentialSecurityMgmtHelper()
|
Method Summary | |
---|---|
static CredentialProviderDescription |
findProviderByName(AuthenticatedSubject authSubject,
String aDisplayName)
Returns the configured SSPI authentication provider with a matching display name. |
static CredentialProviderDescription |
findProviderByUniqueName(AuthenticatedSubject authSubject,
String aUniqueId)
Returns the configured SSPI authentication provider with a matching unique id which is the concatenation of display name and version number. |
static CredentialProviderDescription |
getDefaultProvider(AuthenticatedSubject authSubject)
Returns the default configured SSPI Credential provider. |
static List |
getProviders(AuthenticatedSubject authSubject)
Returns the list of currently configured SSPI Credential Mapper providers. |
static String |
getProviderUniqueName(String aDisplayName,
String aVersion)
Returns unique id of the provider which is the concatenation of display name and version number. |
static boolean |
isMultiCredentialProviderMode(AuthenticatedSubject authSubject)
Returns an indication of whether multiple authentication providers have been configured. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CredentialSecurityMgmtHelper()
Method Detail |
---|
public static List getProviders(AuthenticatedSubject authSubject) throws ProviderMgmtException
authSubject
- An Admin role subject
ProviderMgmtException
public static CredentialProviderDescription getDefaultProvider(AuthenticatedSubject authSubject) throws ProviderMgmtException
ProviderMgmtException
public static CredentialProviderDescription findProviderByName(AuthenticatedSubject authSubject, String aDisplayName) throws ProviderMgmtException
aDisplayName
- The name entered at the WLS console when
creating a new authentication provider.
ProviderMgmtException
public static CredentialProviderDescription findProviderByUniqueName(AuthenticatedSubject authSubject, String aUniqueId) throws ProviderMgmtException
aUniqueId
- Concatenation of display name and version number
ProviderMgmtException
public static String getProviderUniqueName(String aDisplayName, String aVersion)
aDisplayName
- The provider nameaVersion
- The provider version
public static boolean isMultiCredentialProviderMode(AuthenticatedSubject authSubject)
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |