com.bea.p13n.security.management.rolemapper
Class RoleProviderDescription

java.lang.Object
  extended by com.bea.p13n.security.management.ProviderDescription
      extended by com.bea.p13n.security.management.rolemapper.RoleProviderDescription
All Implemented Interfaces
Serializable

public class RoleProviderDescription
extends ProviderDescription
implements Serializable

This class holds information describing a single SSPI rolemapper provider. It is a convenience class, an immutable value object used by RM management functions.

This class is normally not directly instantiated, but is accessed through the use of the SecurityMgmtHelper.

See Also
RoleSecurityMgmtHelper, Serialized Form

Field Summary
 
Fields inherited from class com.bea.p13n.security.management.ProviderDescription
DUMB_PROVIDER, READ_ONLY_PROVIDER, READ_WRITE_PROVIDER
 
Constructor Summary
RoleProviderDescription(RoleMapperMBean aRoleMapperMBean)
           
 
Method Summary
 RoleMapperMBean getProviderMBean()
          Get the MBean used to initialize this instance.
 int getProviderMgmtCapability()
          Get provider capability - a roll up of what optional MBeans are implemented.
 boolean isDefaultRoleProvider()
          The scheme for who the default role provider is simple:
 boolean isRoleEditorImplemented()
          Get provider configuration information for optional MBean implementation.
 boolean isRoleReaderImplemented()
          Get provider configuration information for optional MBean implementation.
 String toString()
           
 
Methods inherited from class com.bea.p13n.security.management.ProviderDescription
getDescription, getDisplayName, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RoleProviderDescription

public RoleProviderDescription(RoleMapperMBean aRoleMapperMBean)
Method Detail

isDefaultRoleProvider

public boolean isDefaultRoleProvider()
The scheme for who the default role provider is simple:

Returns
true if this provider is the default authentication provider. If the provider is an instance of weblogic.security.providers.authorization.DefaultRoleMapperMBean, it is the default.

isRoleEditorImplemented

public boolean isRoleEditorImplemented()
Get provider configuration information for optional MBean implementation.

Returns
true if provider implements this interface, otherwise false

isRoleReaderImplemented

public boolean isRoleReaderImplemented()
Get provider configuration information for optional MBean implementation.

Returns
true if provider implements this interface, otherwise false

getProviderMBean

public RoleMapperMBean getProviderMBean()
Get the MBean used to initialize this instance.

Returns
the MBean representing this authentication provider

getProviderMgmtCapability

public int getProviderMgmtCapability()
Get provider capability - a roll up of what optional MBeans are implemented. Possible values;
  1. DUMB_PROVIDER
  2. READ_ONLY_PROVIDER
  3. READ_WRITE_PROVIDER

Returns
true if provider implements this interface, otherwise false

toString

public String toString()
Overrides:
toString in class ProviderDescription


Copyright © 2011, Oracle. All rights reserved.