org.globus.wsrf.impl.security.authorization
Class HostOrSelfAuthorization
java.lang.Object
org.globus.wsrf.impl.security.authorization.HostOrSelfAuthorization
- All Implemented Interfaces:
- java.io.Serializable, Authorization
public class HostOrSelfAuthorization
- extends java.lang.Object
- implements Authorization
- See Also:
- Serialized Form
|
Method Summary |
void |
authorize(javax.security.auth.Subject peerSubject,
javax.xml.rpc.handler.MessageContext context)
Does host based authorization of the service. |
org.ietf.jgss.GSSName |
getName(javax.xml.rpc.handler.MessageContext ctx)
Returns the identity of the authorized entity |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
i18n
private static org.globus.util.I18n i18n
logger
private static org.apache.commons.logging.Log logger
URL_PROPERTY
public static final java.lang.String URL_PROPERTY
- See Also:
- Constant Field Values
SERVICE_PROPERTY
public static final java.lang.String SERVICE_PROPERTY
- See Also:
- Constant Field Values
hostAuthz
HostAuthorization hostAuthz
HostOrSelfAuthorization
public HostOrSelfAuthorization()
HostOrSelfAuthorization
public HostOrSelfAuthorization(java.lang.String service_)
authorize
public void authorize(javax.security.auth.Subject peerSubject,
javax.xml.rpc.handler.MessageContext context)
throws AuthorizationException
- Does host based authorization of the service. The host name is
picked up from the
MessageContext
- Specified by:
authorize in interface Authorization
- Throws:
AuthorizationException
getName
public org.ietf.jgss.GSSName getName(javax.xml.rpc.handler.MessageContext ctx)
throws AuthorizationException
- Description copied from interface:
Authorization
- Returns the identity of the authorized entity
- Specified by:
getName in interface Authorization
- Throws:
AuthorizationException