|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.p13n.security.management.ProviderDescription com.bea.p13n.security.management.authentication.AtnProviderDescription
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
.
AtnSecurityMgmtHelper
,
Serialized FormField Summary | |
static int |
DUMB_PROVIDER
The AuthenticatorMBean represented by this object, in total, implements no MBean interfaces. |
static int |
READ_ONLY_PROVIDER
The AuthenticatorMBean represented by this object, in total, implements enough optional MBean interfaces to allow read operations. |
static int |
READ_WRITE_PROVIDER
The AuthenticatorMBean represented by this object, in total, implements enough optional MBean interfaces to allow full CRUD operations. |
Constructor Summary | |
AtnProviderDescription(AuthenticationProviderMBean anAtnMBean)
|
Method Summary | |
boolean |
equals(Object inputObject)
Overridden equals method. |
String |
getControlFlag()
setting of this provider's configuration. |
AuthenticationProviderMBean |
getProviderMBean()
Get the MBean used to initialize this instance. |
int |
getProviderMgmtCapability()
Get provider capability - a roll up of what optional MBeans are implemented. |
boolean |
isDefaultAtnProvider()
The scheme for who the default provider is multi-tiered: If the system property com.bea.p13n.usermgmt.AuthenticationProviderName ,
is set, the provider with that name is used. |
boolean |
isGroupEditorImplemented()
Get provider configuration information for optional MBean implementation. |
boolean |
isGroupMemberListerImplemented()
Get provider configuration information for optional MBean implementation. |
boolean |
isGroupReaderImplemented()
Get provider configuration information for optional MBean implementation. |
boolean |
isGroupRemoverImplemented()
Get provider configuration information for optional MBean implementation. |
boolean |
isMemberGroupListerImplemented()
Get provider configuration information for optional MBean implementation. |
boolean |
isUserEditorImplemented()
Get provider configuration information for optional MBean implementation. |
boolean |
isUserLockoutManagerImplemented()
Get provider configuration information for optional MBean implementation. |
boolean |
isUserPasswordEditorImplemented()
Get provider configuration information for optional MBean implementation. |
boolean |
isUserReaderImplemented()
Get provider configuration information for optional MBean implementation. |
boolean |
isUserRemoverImplemented()
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int DUMB_PROVIDER
public static final int READ_ONLY_PROVIDER
public static final int READ_WRITE_PROVIDER
Constructor Detail |
public AtnProviderDescription(AuthenticationProviderMBean anAtnMBean)
Method Detail |
public boolean equals(Object inputObject)
inputObject
- The AtnProviderDescription to compare with.
public String getControlFlag()
public AuthenticationProviderMBean getProviderMBean()
public int getProviderMgmtCapability()
DUMB_PROVIDER
READ_ONLY_PROVIDER
READ_WRITE_PROVIDER
public boolean isDefaultAtnProvider()
com.bea.p13n.usermgmt.AuthenticationProviderName
,
is set, the provider with that name is used. If the system property is set
and the provider is not found, a UserManagementException is thrown.
This allows you to set a provider server-wide.
usermgmt-provider.properties
is
found (using the thread's context classloader,
so it could be in APP-INF/classes/, for example), and that file contains
the property com.bea.p13n.usermgmt.AuthenticationProviderName
,
then the provider with that name is used. If the named provider
is not found, a UserManagementException is thrown.
This can allow you to set an application-specific provider.
- The provider that implements at least UserReaderMBean and
GroupReaderMBean, plus the greatest number of the following
additional interfaces. If two providers qualify, the first
provider is chosen.
- UserEditorMBean
- GroupEditorMBean
- GroupMemberListerMBean
- MemberGroupListerMBean
- The first provider that is an instance of
RealmAdapterAuthenticatorMBean (this is 6.x migration mode).
- If all those fail, throw UserManagementException
public boolean isGroupEditorImplemented()
public boolean isGroupMemberListerImplemented()
public boolean isGroupReaderImplemented()
public boolean isGroupRemoverImplemented()
public boolean isMemberGroupListerImplemented()
public boolean isUserEditorImplemented()
public boolean isUserLockoutManagerImplemented()
public boolean isUserPasswordEditorImplemented()
public boolean isUserReaderImplemented()
public boolean isUserRemoverImplemented()
public String toString()
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |