org.globus.wsrf.impl.security.authorization
Class BasicSubjectAuthorization
java.lang.Object
org.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
|
|
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 |
logger
private static org.apache.commons.logging.Log logger
i18n
static org.globus.util.I18n i18n
BasicSubjectAuthorization
public BasicSubjectAuthorization()
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