IBM WebSphere Extended Deployment (XD)TM, Release 6.1
ObjectGrid API Specification

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

All Known Implementing Classes:
JAASMapAuthorizationImpl, TAMMapAuthorizationImpl

Deprecated. in WAS XD 6.1. Please use ObjectGridAuthorization to plug in authorization implementation. An ObjectGridAuthorization can be used to authorize permissions to ObjectGrid, ObjectMap, and JavaMap accesses.

public interface MapAuthorization

This plugin can be used to authorize 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.

Since:
WAS XD 6.0
See Also:
MapPermission, ObjectGrid.setMapAuthorization(MapAuthorization)

Method Summary
 boolean checkPermission(javax.security.auth.Subject subject, MapPermission permission)
          Deprecated. Checks whether or not the Principals represented by the specified Subject has the specified MapPermission.
 

Method Detail

checkPermission

boolean checkPermission(javax.security.auth.Subject subject,
                        MapPermission permission)
Deprecated. 
Checks whether or not the Principals represented by the specified Subject has the specified MapPermission.

If the permission is granted, true is returned; otherwise false is returned.

Parameters:
subject - the subject to check
permission - the permission to access a map
Returns:
true if the permission is granted; false otherwise.
See Also:
MapPermission

IBM WebSphere Extended Deployment (XD)TM, Release 6.1
ObjectGrid API Specification

© Copyright International Business Machines Corp 2005-2007. All rights reserved.