|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.websphere.objectgrid.security.plugins.builtins.KeyStoreLoginAuthenticator
public class KeyStoreLoginAuthenticator
This class is an implementation of the Authenticator
interface
when a user name and password are used as a credential.
When user ID and password authentication is used, the credential passed to the
authenticate(Credential)
method is a UserPasswordCredential object.
This implementation will use a KeyStoreLoginModule
to authenticate
the user into the key store using the JAAS login module "KeyStoreLogin". The key
store can be configured as an option to the KeyStoreLoginModule
class. Please see the KeyStoreLoginModule
class for more details
about how to set up the JAAS login configuration file.
This class is fully supported for production use.
Authenticator
,
KeyStoreLoginModule
,
UserPasswordCredential
Constructor Summary | |
---|---|
KeyStoreLoginAuthenticator()
Creates a new KeyStoreLoginAuthenticator. |
Method Summary | |
---|---|
Subject |
authenticate(Credential credential)
Authenticates a UserPasswordCredential . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyStoreLoginAuthenticator()
Method Detail |
---|
public Subject authenticate(Credential credential) throws InvalidCredentialException, ExpiredCredentialException
UserPasswordCredential
.
Uses the user name and password from the specified UserPasswordCredential to login to the KeyStoreLoginModule named "KeyStoreLogin".
authenticate
in interface Authenticator
credential
- the user Credential
InvalidCredentialException
- if credential isn't a
UserPasswordCredential or some error occurs during processing
of the supplied UserPasswordCredential
ExpiredCredentialException
- if credential is expired. This exception
is not used by this implementationAuthenticator.authenticate(Credential)
,
KeyStoreLoginModule
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |