|
IBM WebSphereTM eXtreme Scale, Release 8.5 API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdminAuthorization
This plugin can be used to authorize management operations to the
principals contained in the Subject object. The permissions for the
management operations are represented by AdminPermission
objects.
This plugin is used in an ObjectGrid server. It can be configured in the ObjectGrid cluster XML file.
A typical implementation of this plug-in is to retrieve the
Principal
set from the Subject
object, and then
check whether the specified permissions are granted to these principals or not.
AdminPermission
Method Summary | |
---|---|
boolean |
checkPermission(Subject subject,
AdminPermission permission)
Deprecated. Checks whether the user represented by the Subject object has the specified AdminPermission or not. |
Method Detail |
---|
boolean checkPermission(Subject subject, AdminPermission permission)
If the permissions are granted, true
is returned; otherwise
false
is returned.
subject
- the Subject object representing the userpermission
- the administration permission to check
true
if the permission is granted; false
otherwise.AdminPermission
|
IBM WebSphereTM eXtreme Scale, Release 8.5 API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |