RoleManagerProxy Class
- public class RoleManagerProxy
extends Object
This class provides access to Role management functions
as defined by the WLS Security Service Provider Interface (SSPI). This
class acts as a proxy for a single, configured Role Mapper Provider
plug-in by proxying calls to the RoleProvider
class.
This class should not contain any layered product dependencies.
Since it is possible that a Role Mapper Provider may not implement
all optional management interfaces, an OperationNotSupportedException
may be thrown.
This class is constructed using the RoleProviderDescription
.
Related Topics
RoleSecurityMgmtHelper
-
Hierarchy
-
Object
RoleManagerProxy
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleManagerProxy
public RoleManagerProxy(RoleProviderDescription
aProviderDescription,
boolean cacheAdminMBean)
RoleManagerProxy
public RoleManagerProxy(RoleProviderDescription
aProviderDescription)
getUniqueName() Method
public String
getUniqueName()
Get the unique name for this RoleManagerProxy. It's the concatenation of the
display name with the version.
listRolesForResource(String) Method
public String
[] listRolesForResource(String
resourceId)
Lists all role names for this provider associated with
the given resource id.
Parameters
-
resourceId
- the resource the role is scoped to
Returns
- String array of role names
roleExists(String, String) Method
public boolean roleExists(String
resourceId,
String
roleName)
Determines if a role exists for this provider.
Parameters
-
resourceId
- the resource the role is scoped to
-
roleName
- the role name to check
Returns
- true if the role exists, false otherwise