|
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 ObjectGridAuthorization
This plugin can be used to authorize ObjectGrid
, ObjectMap
and
JavaMap
accesses to the Principal
s represented
by a Subject
object.
A typical implementation of this plug-in is to retrieve the Principals from the Subject object, and then check whether or not the specified permissions are granted to the Principals.
A permission passed to the checkPermission(Subject, Permission)
method
could be one of the following.:
ObjectGridPermission
,
MapPermission
,
AgentPermission
,
ServerMapPermission
,
ObjectGrid.setObjectGridAuthorization(ObjectGridAuthorization)
Method Summary | |
---|---|
boolean |
checkPermission(Subject subject,
Permission permission)
Checks whether or not the Principal s represented by the specified
Subject has the specified Permission. |
Method Detail |
---|
boolean checkPermission(Subject subject, Permission permission)
Principal
s represented by the specified
Subject
has the specified Permission.
If the permission is granted, true
is returned; otherwise
false
is returned.
subject
- the subject to checkpermission
- the permission to access any ObjectGrid resitrcited entities,
such as an ObjectGrid, an ObjectMap, or a JavaMap. The Permission
object
could be a ObjectGridPermission
or a MapPermission
object.
true
if the permission is granted; false
otherwise.Permission
,
ObjectGridPermission
,
MapPermission
|
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 |