IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1

com.ibm.websphere.objectgrid.security.plugins.builtins
TAMMapAuthorizationImpl

java.lang.Object
  |
  +--com.ibm.websphere.objectgrid.security.plugins.builtins.TAMMapAuthorizationImpl
All Implemented Interfaces
MapAuthorization


TAMMapAuthorizationImpl is a implementation of MapAuthorization when TAM is used for both authentication and authorization.

This class can only be used when the following conditions are met:

  1. The Subject object contains a com.tivoli.mts.PDPrincipal principal.
  2. The TAM policy server has defined the following permissions for the ObjectMap/JavaMap name object. The object defined in the policy server should have the same name as the ObjectMap/JavaMap name in the format of [OBJECTGRID_NAME]. [MAP_NAME]. The permission is the first character of the permission strings defined in the MapPermission. For example, the permission "r" defined in the policy server represents the "read" permission to the ObjectMap.

This class is really for sample and quick testing purpose. Users should write your own MapAuthorization implementation which can fit better into your environment.


See Also:
    MapAuthorization



Constructor Summary
TAMMapAuthorizationImpl()
          


Method Summary
public  booleancheckPermission(javax.security.auth.Subject, com.ibm.websphere.objectgrid.security.MapPermission)
          

Inherited Methods

Methods inherited from java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

TAMMapAuthorizationImpl

public TAMMapAuthorizationImpl( )
Default constructor


Method Detail

checkPermission

public boolean checkPermission(Subject subject,MapPermission permission)

See Also:
    checkPermission(javax.security.auth.Subject, com.ibm.websphere.objectgrid.security.MapPermission)
Parameters:


IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1