|
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.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 | |
---|---|
Subject |
validateSubject(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 Subject validateSubject(Subject subject) throws InvalidSubjectException
validateSubject
in interface SubjectValidation
subject
- a Subject to be validated
InvalidSubjectException
- if the subject is invalidSubjectValidation.validateSubject(Subject)
|
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 |