| IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1 |
com.ibm.websphere.objectgrid.security.plugins
AdminAuthorization
This plugin can be used to authorize administration accesses to the
principals represented by the Subject object. Administration accesses
are represented by the {#link AdminPermission} objects.
A typical implementation of this plug-in is to retrieve the
principals from the Subject object, and then check whether
the specified permissions are granted to the principals or not.
Method Summary |
public
boolean | checkPermission(javax.security.auth.Subject, com.ibm.websphere.objectgrid.security.AdminPermission)
Check whether the principals represented by the Subject object
in the subject has the specified AdminPermission or not.
|
checkPermission
public boolean checkPermission( | Subject subject , | | AdminPermission permission )
|
Check whether the principals represented by the Subject object
in the subject has the specified AdminPermission or not. If
the permissions are granted, true is returned; otherwise a false
will be returned.
Parameters:
subject
-
the subject
permission
-
the administration permission
Returns:
true if the permission is granted; false otherwise.
| IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1 |