| IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1 |
This plugin can be used to authenticate a client to the ObjectGrid server based on the credential. A Subject object is then returned as a result of authentication.
This plugin can only be used in a secure domain, such as in a ObjectGrid server. Do not put this plugin on the client side, it will be ignored.
If the client authenticates using a user name and password. the credential passed into the autneticate method is of String[] type. The first element of this array is the user name, and the second element is the password.
If the client authenticates using a client certificate, the credential passed into the authenticate method is of the java.security.cert.Certificate[] type
Method Summary | |
---|---|
public
Subject | authenticate(com.ibm.websphere.objectgrid.security.plugins.Credential)
Authenticate a user represented by the credential object.
|
Method Detail |
public Subject authenticate( | Credential credential )
|
credential
-
the user credential
com.ibm.websphere.objectgrid.security.plugins.InvalidCredentialExceptioncom.ibm.websphere.objectgrid.security.plugins.ExpiredCredentialException
| IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1 |