|
IBM WebSphere Extended Deployment (XD)TM, Release 6.1 ObjectGrid API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.websphere.objectgrid.security.plugins.builtins.WSSubjectValidationImpl
public class WSSubjectValidationImpl
This class is an implementation of the SubjectValidation
interface in a WebSphere Application Server environment.
A typical scenario of using this class is described as below:
validateSubject(Subject)
method to validate the subject has not been tampered with.//get the subject from the thread Subject subject = com.ibm.websphere.security.auth.WSSubject.getRunAsSubject(); // use the subject to get a Session object Session session = objectgrid.getSession(subject);
InvalidSubjectException,
SubjectValidation| Constructor Summary | |
|---|---|
WSSubjectValidationImpl()
Creates a new WSSubjectValidationImpl |
|
| Method Summary | |
|---|---|
javax.security.auth.Subject |
validateSubject(javax.security.auth.Subject subject)
Validates that the subject has not been tampered with. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WSSubjectValidationImpl()
| Method Detail |
|---|
public javax.security.auth.Subject validateSubject(javax.security.auth.Subject subject)
throws InvalidSubjectException
validateSubject in interface SubjectValidationsubject - a Subject to be validated
InvalidSubjectException - if the subject is invalidSubjectValidation.validateSubject(Subject)
|
IBM WebSphere Extended Deployment (XD)TM, Release 6.1 ObjectGrid API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||