RoleSecurityMgmtHelper Class
- public class RoleSecurityMgmtHelper
extends Object
Provides helper methods for accessing security management classes,
especially those used to manage SSPI providers.
-
Hierarchy
-
Object
RoleSecurityMgmtHelper
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleSecurityMgmtHelper
public RoleSecurityMgmtHelper()
findProviderByName(String) Method
public static RoleProviderDescription
findProviderByName(String
aDisplayName)
throws ProviderMgmtException
Returns the configured SSPI authentication
provider with a matching display name.
Parameters
-
aDisplayName
- The name entered at the WLS console when
creating a new authentication provider.
Returns
- AtnProviderDescription or null, if no matching provider found
Exceptions
-
ProviderMgmtException
findProviderByUniqueName(String) Method
public static RoleProviderDescription
findProviderByUniqueName(String
aUniqueId)
throws ProviderMgmtException
Returns the configured SSPI authentication
provider with a matching unique id which is the concatenation
of display name and version number.
Parameters
-
aUniqueId
- Concatenation of display name and version number
Returns
- AtnProviderDescription or null, if no matching provider found
Exceptions
-
ProviderMgmtException
getDefaultProvider() Method
public static RoleProviderDescription
getDefaultProvider()
throws ProviderMgmtException
Returns the default configured SSPI authentication
provider.
Returns
- default AtnProviderDescription
Exceptions
-
ProviderMgmtException
getProviders() Method
public static List
getProviders()
throws ProviderMgmtException
Returns the list of currently configured SSPI authentication
providers.
Returns
- List of AtnProviderDescription objects
Exceptions
-
ProviderMgmtException
getProviderUniqueName(String, String) Method
public static String
getProviderUniqueName(String
aDisplayName,
String
aVersion)
Returns unique id of the
provider which is the concatenation
of display name and version number.
Parameters
-
aDisplayName
- The provider name
-
aVersion
- The provider version
Returns
- unique id
isMultiRoleProviderMode() Method
public static boolean isMultiRoleProviderMode()
Returns an indication of whether multiple authentication providers
have been configured.
Returns
- True if more than one authentication provider is found, else false