IBM WebSphere Extended Deployment (XD)TM
Release 6.0

com.ibm.websphere.objectgrid.security.plugins
Authenticator



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  Subjectauthenticate(com.ibm.websphere.objectgrid.security.plugins.Credential)
           Authenticate a user represented by the credential object.

Method Detail

authenticate

public Subject authenticate(Credential credential)
Authenticate a user represented by the credential object.
Parameters:
    credential - the user credential


Returns:
     a Subject object representing the user


Throws:
    com.ibm.websphere.objectgrid.security.plugins.InvalidCredentialExceptioncom.ibm.websphere.objectgrid.security.plugins.ExpiredCredentialException


IBM WebSphere Extended Deployment (XD)TM
Release 6.0