org.globus.wsrf.security.authorization.client
Interface Authorization

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
HostAuthorization, HostOrSelfAuthorization, IdentityAuthorization, NoAuthorization, SelfAuthorization

public interface Authorization
extends java.io.Serializable

Interface to be implemented by client side authorization mechanism.


Field Summary
static java.lang.String AUTHZ_GRIDMAP
           
static java.lang.String AUTHZ_HOST
           
static java.lang.String AUTHZ_HOST_SELF
           
static java.lang.String AUTHZ_IDENTITY
           
static java.lang.String AUTHZ_NONE
          Constants used to set authorization
static java.lang.String AUTHZ_SELF
           
static java.lang.String IMPL_RESOURCE
           
static java.lang.String RESOURCE
           
 
Method Summary
 void authorize(javax.security.auth.Subject peerSubject, javax.xml.rpc.handler.MessageContext context)
          Method invoked to authorize the call
 org.ietf.jgss.GSSName getName(javax.xml.rpc.handler.MessageContext ctx)
          Returns the identity of the authorized entity
 

Field Detail

IMPL_RESOURCE

static final java.lang.String IMPL_RESOURCE
See Also:
Constant Field Values

RESOURCE

static final java.lang.String RESOURCE
See Also:
Constant Field Values

AUTHZ_NONE

static final java.lang.String AUTHZ_NONE
Constants used to set authorization

See Also:
Constant Field Values

AUTHZ_SELF

static final java.lang.String AUTHZ_SELF
See Also:
Constant Field Values

AUTHZ_HOST

static final java.lang.String AUTHZ_HOST
See Also:
Constant Field Values

AUTHZ_GRIDMAP

static final java.lang.String AUTHZ_GRIDMAP
See Also:
Constant Field Values

AUTHZ_HOST_SELF

static final java.lang.String AUTHZ_HOST_SELF
See Also:
Constant Field Values

AUTHZ_IDENTITY

static final java.lang.String AUTHZ_IDENTITY
See Also:
Constant Field Values
Method Detail

authorize

void authorize(javax.security.auth.Subject peerSubject,
               javax.xml.rpc.handler.MessageContext context)
               throws AuthorizationException
Method invoked to authorize the call

Throws:
AuthorizationException

getName

org.ietf.jgss.GSSName getName(javax.xml.rpc.handler.MessageContext ctx)
                              throws AuthorizationException
Returns the identity of the authorized entity

Throws:
AuthorizationException