|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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(weblogic.security.acl.internal.AuthenticatedSubject authSubject,
String aDisplayName)
Returns the configured SSPI authentication provider with a matching display name. |
static CredentialProviderDescription |
findProviderByUniqueName(weblogic.security.acl.internal.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(weblogic.security.acl.internal.AuthenticatedSubject authSubject)
Returns the default configured SSPI Credential provider. |
static List |
getProviders(weblogic.security.acl.internal.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(weblogic.security.acl.internal.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(weblogic.security.acl.internal.AuthenticatedSubject authSubject) throws ProviderMgmtException
authSubject
- An Admin role subject
ProviderMgmtException
public static CredentialProviderDescription getDefaultProvider(weblogic.security.acl.internal.AuthenticatedSubject authSubject) throws ProviderMgmtException
ProviderMgmtException
public static CredentialProviderDescription findProviderByName(weblogic.security.acl.internal.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(weblogic.security.acl.internal.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(weblogic.security.acl.internal.AuthenticatedSubject authSubject)
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |