org.globus.wsrf.impl.security.authorization
Class SelfAuthorization

java.lang.Object
  |
  +--org.globus.wsrf.impl.security.authorization.BasicSubjectAuthorization
        |
        +--org.globus.wsrf.impl.security.authorization.SelfAuthorization
All Implemented Interfaces:
Authorization, ServiceAuthorization

public class SelfAuthorization
extends BasicSubjectAuthorization
implements Authorization, ServiceAuthorization


Fields inherited from interface org.globus.wsrf.impl.security.authorization.Authorization
AUTHORIZATION, AUTHZ_CLASS, AUTHZ_CUSTOM, AUTHZ_GRIDMAP, AUTHZ_NONE, AUTHZ_SELF, RESOURCE
 
Constructor Summary
SelfAuthorization()
           
 
Method Summary
 void authorize(Subject peerSubject, MessageContext context)
           
 void authorize(Subject peerSubject, MessageContext context, String servicePath)
           
static SelfAuthorization getInstance()
           
 Subject getLocalSubject()
           
 Subject getLocalSubject(MessageContext context)
           
 GSSName getName(MessageContext ctx)
           
 
Methods inherited from class org.globus.wsrf.impl.security.authorization.BasicSubjectAuthorization
authorize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelfAuthorization

public SelfAuthorization()
Method Detail

getInstance

public static SelfAuthorization getInstance()

authorize

public void authorize(Subject peerSubject,
                      MessageContext context,
                      String servicePath)
               throws AuthorizationException
Specified by:
authorize in interface ServiceAuthorization

authorize

public void authorize(Subject peerSubject,
                      MessageContext context)
               throws AuthorizationException
Specified by:
authorize in interface Authorization

getLocalSubject

public Subject getLocalSubject()
                        throws GSSException

getLocalSubject

public Subject getLocalSubject(MessageContext context)
                        throws GSSException

getName

public GSSName getName(MessageContext ctx)
                throws AuthorizationException
Specified by:
getName in interface Authorization


Copyright © 1999-2003 University of Chicago and The University of Southern California. All rights reserved.