RoleProviderDescription Class

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

public class RoleProviderDescription

    extends ProviderDescription
    implements Serializable

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

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

Related Topics

AtnSecurityMgmtHelper


Hierarchy
Object
  ProviderDescription
    RoleProviderDescription
All Implemented Interfaces

Serializable

Field Summary

public static final int
DUMB_PROVIDER
The AuthenticatorMBean represented by this object, in total, implements no MBean interfaces.
public static final int
READ_ONLY_PROVIDER
The AuthenticatorMBean represented by this object, in total, implements enough optional MBean interfaces to allow read operations.
public static final int
READ_WRITE_PROVIDER
The AuthenticatorMBean represented by this object, in total, implements enough optional MBean interfaces to allow full CRUD operations.
 

Constructor Summary

RoleProviderDescription(RoleMapperMBean aRoleMapperMBean)

 

Method Summary

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

Field Detail

DUMB_PROVIDER

public static final int DUMB_PROVIDER
The AuthenticatorMBean represented by this object, in total, implements no MBean interfaces.


READ_ONLY_PROVIDER

public static final int READ_ONLY_PROVIDER
The AuthenticatorMBean represented by this object, in total, implements enough optional MBean interfaces to allow read operations.


READ_WRITE_PROVIDER

public static final int READ_WRITE_PROVIDER
The AuthenticatorMBean represented by this object, in total, implements enough optional MBean interfaces to allow full CRUD operations.

 

Constructor Detail

RoleProviderDescription

public RoleProviderDescription(RoleMapperMBean aRoleMapperMBean)
 

Method Detail

getProviderMBean() Method

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

Returns

the MBean representing this authentication provider

getProviderMgmtCapability() Method

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

int capability defined within this class

isDefaultRoleProvider() Method

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() Method

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

Returns

true if provider implements this interface, otherwise false

isRoleReaderImplemented() Method

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

Returns

true if provider implements this interface, otherwise false

toString() Method

public String toString()
Overrides
Object.toString()