RoleManagerProxy Class

com.bea.p13n.security.management.rolemapper
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

Constructor Summary

RoleManagerProxy(RoleProviderDescription aProviderDescription, boolean cacheAdminMBean)

RoleManagerProxy(RoleProviderDescription aProviderDescription)

 

Method Summary

public String
getUniqueName()
Get the unique name for this RoleManagerProxy.
public String[]
listRolesForResource(String resourceId)
Lists all role names for this provider associated with the given resource id.
public boolean
roleExists(String resourceId, String roleName)
Determines if a role exists for this provider.
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

RoleManagerProxy

public RoleManagerProxy(RoleProviderDescription aProviderDescription, 
                        boolean cacheAdminMBean)

RoleManagerProxy

public RoleManagerProxy(RoleProviderDescription aProviderDescription)
 

Method Detail

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