org.globus.ogsa.impl.security.authorization
Class GridMapAuthorization

java.lang.Object
  extended byorg.globus.ogsa.impl.security.authorization.GridMapAuthorization
All Implemented Interfaces:
ServiceAuthorization

public class GridMapAuthorization
extends java.lang.Object
implements ServiceAuthorization


Constructor Summary
GridMapAuthorization()
           
 
Method Summary
 void authorize(javax.security.auth.Subject peerSubject, ServiceProperties service, javax.xml.rpc.handler.MessageContext context)
          Performs gridmap authorization.
static GridMapAuthorization getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridMapAuthorization

public GridMapAuthorization()
Method Detail

getInstance

public static GridMapAuthorization getInstance()

authorize

public void authorize(javax.security.auth.Subject peerSubject,
                      ServiceProperties service,
                      javax.xml.rpc.handler.MessageContext context)
               throws AuthorizationException
Performs gridmap authorization. If the caller identity is in the gridmap file of the service the username the caller is mapped to is returned. Otherwise, an authorization exception is rasied.

Specified by:
authorize in interface ServiceAuthorization
Throws:
AuthorizationException


Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.