IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1

com.ibm.websphere.objectgrid.security.plugins
SubjectValidation



This plugin can be used to validate a javax.security.auth.Subject passed to the ObjectGrid is a valid subject which has not been tampered with.

An implementation of this plugin will need support from the Subject object creator, since only the creator knows whether the Subject object has been tampered with or not. However, some subject creator may not know whether the Subject has been tamperted with or not. In this case, this plug-in should not be used.

This plugin can only be used in a secure domain, such as in a application server. Do not put this plugin on the client side, it will be ignored.




Method Summary
public  SubjectvalidateSubject(javax.security.auth.Subject)
           Validate the Subject has not been tampered with.

Method Detail

validateSubject

public Subject validateSubject(Subject subject)
Validate the Subject has not been tampered with.
Parameters:
    subject - a subject to be validated


Returns:
     the validated Subject object


Throws:
    com.ibm.websphere.objectgrid.security.plugins.InvalidSubjectException


IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1