IBM WebSphereTM eXtreme Scale, Release 8.5
API Specification

com.ibm.websphere.objectgrid.security.plugins
Interface AdminAuthorization


Deprecated. The static deployment topology is deprecated in version 7.0. Use the dynamic deployment topology.

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.

Since:
WAS XD 6.0.1
See Also:
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

checkPermission

boolean checkPermission(Subject subject,
                        AdminPermission permission)
Deprecated. 
Checks whether the user represented by the Subject object has the specified AdminPermission or not.

If the permissions are granted, true is returned; otherwise false is returned.

Parameters:
subject - the Subject object representing the user
permission - the administration permission to check
Returns:
true if the permission is granted; false otherwise.
See Also:
AdminPermission

IBM WebSphereTM eXtreme Scale, Release 8.5
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.