|
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 | ||||||||
public interface ObjectGridAuthorization
This plugin can be used to authorize ObjectGrid, ObjectMap and
JavaMap accesses to the Principals 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.:
This method is used to replace the old MapAuthorization plug-in. The
MapAuthorization is deprecated in WAS XD 6.1.
ObjectGridPermission,
MapPermission,
AgentPermission,
ServerMapPermission,
ObjectGrid.setMapAuthorization(MapAuthorization),
ObjectGrid.setObjectGridAuthorization(ObjectGridAuthorization)| Method Summary | |
|---|---|
boolean |
checkPermission(javax.security.auth.Subject subject,
java.security.Permission permission)
Checks whether or not the Principals represented by the specified
Subject has the specified Permission. |
| Method Detail |
|---|
boolean checkPermission(javax.security.auth.Subject subject,
java.security.Permission permission)
Principals 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 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 | ||||||||