|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
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
public class 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 |
---|
Fields inherited from class com.bea.p13n.security.management.ProviderDescription |
---|
DUMB_PROVIDER, READ_ONLY_PROVIDER, READ_WRITE_PROVIDER |
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. |
int |
hashCode()
Returns a hash code value for the object. |
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, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AtnProviderDescription(AuthenticationProviderMBean anAtnMBean)
Method Detail |
---|
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 String getControlFlag()
public boolean isGroupReaderImplemented()
public boolean isGroupRemoverImplemented()
public boolean isGroupMemberListerImplemented()
public boolean isMemberGroupListerImplemented()
public boolean isUserEditorImplemented()
public boolean isUserLockoutManagerImplemented()
public boolean isUserPasswordEditorImplemented()
public boolean isUserReaderImplemented()
public boolean isUserRemoverImplemented()
public int getProviderMgmtCapability()
DUMB_PROVIDER
READ_ONLY_PROVIDER
READ_WRITE_PROVIDER
public AuthenticationProviderMBean getProviderMBean()
public String toString()
toString
in class ProviderDescription
public boolean equals(Object inputObject)
equals
in class Object
inputObject
- The AtnProviderDescription to compare with.
public int hashCode()
java.util.Hashtable
.
hashCode
in class Object
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |