| IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1 |
com.ibm.websphere.objectgrid.security.plugins
SubjectSource
This plugin can be used to get a Subject object which represents the ObjectGrid client.
This subject will then used for ObjectGrid authorization. The method #getSubject will
be called by ObjectGrid runtime when ObjectGrid.getSession() method is used to get a session
and the security is turned on.
When an already authenticated application wants to access ObjectGrid, it can retrieve
the authenticated Subject object and then pass to the ObjectGrid instance. Therefore,
there is no need for an authentication to ObjectGrid.
For example, users can use
Subject.getSubject(AccessControlContext)
to get the subject associated with the AccessControlContext and then return it in the
#getSubject implementation.
This plugin can only be used in a secure domain, such as in a
ObjectGrid server.
Method Summary |
public
Subject | getSubject()
Get a Subject object which can represent the ObjectGrid client.
|
getSubject
public Subject getSubject( | ) |
Get a Subject object which can represent the ObjectGrid client.
Returns:
a Subject object
Throws:
com.ibm.websphere.objectgrid.security.ObjectGridSecurityException
| IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1 |