public class RoleManager
extends java.lang.Object
Constructor and Description |
---|
RoleManager()
Internal: Applications should not use this method.
Default Constructor for RoleManager.
|
RoleManager(java.util.Hashtable env)
Internal: Applications should not use this method.
Constructor for RoleManager with initialization properties.
|
RoleManager(java.lang.String providerClassName)
Internal: Applications should not use this method.
Constructor for RoleManager with specified provider class
|
Modifier and Type | Method and Description |
---|---|
java.security.Principal |
addRole(Role role)
Internal: Applications should not use this method.
Add the role to identity store.
|
void |
addToRole(java.security.Principal role,
java.security.Principal member)
Internal: Applications should not use this method.
|
Role |
createRole()
Internal: Applications should not use this method.
Create a role
|
void |
deleteFromRole(java.security.Principal role,
java.security.Principal member)
Internal: Applications should not use this method.
|
void |
deleteRole(java.security.Principal rolePrincipal)
Internal: Applications should not use this method.
|
java.security.Principal |
getAnonymousRole()
Internal: Applications should not use this method.
Returns the anonymous role principal
|
java.lang.String |
getAnonymousRoleName()
Internal: Applications should not use this method.
Returns the anonymous role principal name
|
java.security.Principal |
getPrincipal(java.lang.String roleName)
Internal: Applications should not use this method.
Returnd the principal for the specified role name
|
Role |
getRole(java.security.Principal rolePrincipal)
Internal: Applications should not use this method.
Return a Role instance for the role principal
|
java.util.ArrayList |
getRoleList(int sizeLimit,
AttributeFilter[] filter)
Internal: Applications should not use this method.
Returns a list of roles for the specified filter and size
limit.
|
boolean |
isAddRoleSupported()
Internal: Applications should not use this method.
Returns true if addRole to identity store is
supported.
|
boolean |
isDeleteRoleSupported()
Internal: Applications should not use this method.
Returns true if deleteRole from identity store is
supported.
|
boolean |
isModifyRoleSupported()
Internal: Applications should not use this method.
Returns true if modifiyRole in identity store is
supported.
|
void |
modifyRole(java.security.Principal roleRef,
Role roleDef)
Internal: Applications should not use this method.
Method not implemented by this class.
|
public RoleManager()
public RoleManager(java.lang.String providerClassName)
providerClassName
- the provider class name.public RoleManager(java.util.Hashtable env)
env
- the properties to initiatize the provider.public Role createRole()
public java.security.Principal addRole(Role role)
role
- the role to be added.public void modifyRole(java.security.Principal roleRef, Role roleDef)
public void deleteRole(java.security.Principal rolePrincipal)
public Role getRole(java.security.Principal rolePrincipal)
rolePrincipal
- the role Principalpublic java.security.Principal getPrincipal(java.lang.String roleName)
roleName
- the role namepublic void deleteFromRole(java.security.Principal role, java.security.Principal member)
public void addToRole(java.security.Principal role, java.security.Principal member)
public java.util.ArrayList getRoleList(int sizeLimit, AttributeFilter[] filter)
sizeLimit
- the maximum return size.filter
- filter attributespublic java.lang.String getAnonymousRoleName()
public java.security.Principal getAnonymousRole()
public boolean isAddRoleSupported()
public boolean isModifyRoleSupported()
public boolean isDeleteRoleSupported()