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
Method Summary |
void |
authorize(javax.security.auth.Subject peerSubject,
javax.xml.rpc.handler.MessageContext context)
|
void |
authorize(javax.security.auth.Subject peerSubject,
ServiceProperties service,
javax.xml.rpc.handler.MessageContext context)
Gets the service subject from the service properties. |
static SelfAuthorization |
getInstance()
|
javax.security.auth.Subject |
getLocalSubject()
|
javax.security.auth.Subject |
getLocalSubject(javax.xml.rpc.handler.MessageContext context)
|
org.ietf.jgss.GSSName |
getName(javax.xml.rpc.handler.MessageContext ctx)
|
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,
javax.xml.rpc.handler.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,
javax.xml.rpc.handler.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(javax.xml.rpc.handler.MessageContext context)
throws org.ietf.jgss.GSSException
- Throws:
org.ietf.jgss.GSSException
getName
public org.ietf.jgss.GSSName getName(javax.xml.rpc.handler.MessageContext ctx)
throws AuthorizationException
- Specified by:
getName
in interface Authorization
- Throws:
AuthorizationException
Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.