|
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 |
public interface SubjectSource
This plugin can be used to get a Subject
which represents
an ObjectGrid client. The Subject
will then be used for
ObjectGrid authorization. The getSubject()
method is called by the
ObjectGrid runtime when the ObjectGrid.getSession()
method is
used to get a Session
and ObjectGrid security is enabled.
This plug-in is useful for an already authenticated client: it can retrieve the authenticated Subject object and then pass it to the ObjectGrid runtime. Therefore, there is no need for another authentication.
For example, users can use
Subject.getSubject(AccessControlContext)to get the subject associated with the AccessControlContext and return it in the
getSubject()
implementation.
ObjectGrid.getSession()
,
ObjectGrid.setSubjectSource(SubjectSource)
Method Summary | |
---|---|
Subject |
getSubject()
Gets a Subject representing the ObjectGrid client. |
Method Detail |
---|
Subject getSubject() throws ObjectGridSecurityException
Subject
representing the ObjectGrid client.
ObjectGridSecurityException
- if any exception occurs during
Subject retrieval
|
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 |