|
© 2004 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.p13n.security.management.authentication.AtnSecurityMgmtHelper
Provides helper methods for accessing security management classes, especially those used to manage SSPI providers.
Constructor Summary | |
AtnSecurityMgmtHelper()
|
Method Summary | |
static AtnProviderDescription |
findProviderByName(String aDisplayName)
Returns the configured SSPI authentication provider with a matching display name. |
static AtnProviderDescription |
findProviderByName(String aDisplayName,
boolean getCachedMBean)
Returns the configured SSPI authentication provider with a matching display name. |
static AtnProviderDescription |
findProviderByUniqueName(String aUniqueId)
Returns the configured SSPI authentication provider with a matching unique id which is the concatenation of display name and version number. |
static AtnProviderDescription |
getDefaultProvider()
Returns the default configured SSPI authentication provider. |
static String |
getDisallowedUserPattern()
Returns the set of characters which are disallowed in the creation of user names. |
static List |
getProviders()
Returns the list of currently configured SSPI authentication 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 |
isDeletableGroup(String aProviderDescription,
String groupName)
Checks whether the groupName specified is a protected group
name or whether the groupName is a WLS special group name, neither of which will
be allowed to be deleted. |
static boolean |
isMultiAtnProviderMode()
Returns an indication of whether multiple authentication providers have been configured. |
static boolean |
isProtectedGroupName(String aProviderDescription,
String groupName)
Checks whether the groupName specified is an optional reserved group
name or whether the groupName is a WLS special group name, neither of which will
be allowed to be created by this provider. |
static boolean |
isProtectedUserName(String aProviderDescription,
String userName)
Checks whether the userName specified is a protected user
name which willnot be allowed to be created by this provider. |
static boolean |
isReservedGroupName(String aProviderDescription,
String groupName)
Checks whether the groupName specified is an optional reserved group
name which will not be allowed to be created by this provider. |
static boolean |
isReservedUserName(String aProviderDescription,
String userName)
Checks whether the userName specified is an optional reserved user
name or whether the userName is a WLS special user name, neither of which will
be allowed to be created by this provider. |
static void |
validateGroupCallerRole(String operationType,
String targetUserName)
Throws an exception if the caller is not in the proper role to perform the requested user management operation. |
static void |
validateUserCallerRole(String operationType,
String targetUserName)
Throws an exception if the caller is not in the proper role to perform the requested user management operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AtnSecurityMgmtHelper()
Method Detail |
public static AtnProviderDescription findProviderByName(String aDisplayName) throws ProviderMgmtException
aDisplayName
- The name entered at the WLS console when
creating a new authentication provider.
ProviderMgmtException
public static AtnProviderDescription findProviderByName(String aDisplayName, boolean getCachedMBean) throws ProviderMgmtException
aDisplayName
- The display name this provider is recognized bygetCachedMBean
- If true, uses an existing reference to the provider
ProviderMgmtException
public static AtnProviderDescription findProviderByUniqueName(String aUniqueId) throws ProviderMgmtException
aUniqueId
- Concatenation of display name and version number
ProviderMgmtException
public static AtnProviderDescription getDefaultProvider() throws ProviderMgmtException
ProviderMgmtException
public static String getDisallowedUserPattern()
public static List getProviders() throws ProviderMgmtException
ProviderMgmtException
public static String getProviderUniqueName(String aDisplayName, String aVersion)
aDisplayName
- The provider nameaVersion
- The provider version
public static boolean isDeletableGroup(String aProviderDescription, String groupName)
groupName
specified is a protected group
name or whether the groupName
is a WLS special group name, neither of which will
be allowed to be deleted.
aProviderDescription
- the string identifying this authentication provider in
the properties file.groupName
- the group name to evaluate
public static boolean isMultiAtnProviderMode()
public static boolean isProtectedGroupName(String aProviderDescription, String groupName)
groupName
specified is an optional reserved group
name or whether the groupName
is a WLS special group name, neither of which will
be allowed to be created by this provider.
aProviderDescription
- the string identifying this authentication provider in
the properties file.groupName
- the group name to evaluate
public static boolean isProtectedUserName(String aProviderDescription, String userName)
userName
specified is a protected user
name which willnot be allowed to be created by this provider.
aProviderDescription
- the string identifying this authentication provider in
the properties file.userName
- the user name to evaluate
public static boolean isReservedGroupName(String aProviderDescription, String groupName)
groupName
specified is an optional reserved group
name which will not be allowed to be created by this provider.
aProviderDescription
- the string identifying this authentication provider in
the properties file.groupName
- the group name to evaluate
IllegalArgumentException
public static boolean isReservedUserName(String aProviderDescription, String userName)
userName
specified is an optional reserved user
name or whether the userName
is a WLS special user name, neither of which will
be allowed to be created by this provider.
aProviderDescription
- the string identifying this authentication provider in
the properties file.userName
- the user name to evaluate
public static void validateGroupCallerRole(String operationType, String targetUserName)
SecurityException
public static void validateUserCallerRole(String operationType, String targetUserName)
SecurityException
|
© 2004 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |