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

java.lang.Object
  extended byorg.globus.wsrf.impl.security.authorization.BasicSubjectAuthorization
Direct Known Subclasses:
IdentityAuthorization, SelfAuthorization

public abstract class BasicSubjectAuthorization
extends java.lang.Object

Base class used to do subject based authorization.


Field Summary
(package private) static org.globus.util.I18n i18n
           
private static org.apache.commons.logging.Log logger
           
 
Constructor Summary
BasicSubjectAuthorization()
           
 
Method Summary
protected  boolean authorize(javax.security.auth.Subject localSubject, javax.security.auth.Subject peerSubject, javax.xml.rpc.handler.MessageContext context)
          Matches to see if localSubject is equals to peerSubject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static org.apache.commons.logging.Log logger

i18n

static org.globus.util.I18n i18n
Constructor Detail

BasicSubjectAuthorization

public BasicSubjectAuthorization()
Method Detail

authorize

protected boolean authorize(javax.security.auth.Subject localSubject,
                            javax.security.auth.Subject peerSubject,
                            javax.xml.rpc.handler.MessageContext context)
                     throws AuthorizationException
Matches to see if localSubject is equals to peerSubject

Throws:
AuthorizationException