org.globus.ogsa.impl.security.authorization
Class SelfAuthorization
java.lang.Object
org.globus.ogsa.impl.security.authorization.BasicSubjectAuthorization
org.globus.ogsa.impl.security.authorization.SelfAuthorization
- All Implemented Interfaces:
- Authorization, ServiceAuthorization
- public class SelfAuthorization
- extends BasicSubjectAuthorization
- implements Authorization, ServiceAuthorization
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelfAuthorization
public SelfAuthorization()
getInstance
public static SelfAuthorization getInstance()
authorize
public void authorize(javax.security.auth.Subject peerSubject,
ServiceProperties service,
MessageContext context)
throws AuthorizationException
- Gets the service subject from the service properties.
- Specified by:
authorize in interface ServiceAuthorization
- Throws:
AuthorizationException
authorize
public void authorize(javax.security.auth.Subject peerSubject,
MessageContext context)
throws AuthorizationException
- Specified by:
authorize in interface Authorization
- Throws:
AuthorizationException
getLocalSubject
public javax.security.auth.Subject getLocalSubject()
throws org.ietf.jgss.GSSException
- Throws:
org.ietf.jgss.GSSException
getLocalSubject
public javax.security.auth.Subject getLocalSubject(MessageContext context)
throws org.ietf.jgss.GSSException
- Throws:
org.ietf.jgss.GSSException