org.globus.gridshib
Class BasePIP

java.lang.Object
  extended by org.globus.gridshib.BasePIP
All Implemented Interfaces:
Serializable, Interceptor, PIP
Direct Known Subclasses:
AttributeAcceptancePIP, SAMLAssertionPushPIP, SAMLMapPIP, SAMLQueryPIP

public abstract class BasePIP
extends Object
implements PIP

An implementation of the GT 4.0 PIP interface. All exposed PIPs should extend this abstract class.

This implementation is backed by GridShib for GT interceptor, that is, an interceptor that implements org.globus.gridshib.gt.authorization.PIP.

See Also:
PIP, Serialized Form

Field Summary
protected  String scope
           
protected  String serviceId
           
 
Constructor Summary
BasePIP()
           
 
Method Summary
 void close()
           
 void collectAttributes(Subject peerSubject, javax.xml.rpc.handler.MessageContext context, javax.xml.namespace.QName op)
           
 void initialize(PDPConfig config, String name, String id)
           
protected abstract  PIP pipImpl()
          A subclass MUST implement this method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scope

protected String scope

serviceId

protected String serviceId
Constructor Detail

BasePIP

public BasePIP()
Method Detail

pipImpl

protected abstract PIP pipImpl()
A subclass MUST implement this method.


initialize

public void initialize(PDPConfig config,
                       String name,
                       String id)
                throws org.globus.wsrf.impl.security.authorization.exceptions.InitializeException
Specified by:
initialize in interface Interceptor
Throws:
org.globus.wsrf.impl.security.authorization.exceptions.InitializeException

collectAttributes

public void collectAttributes(Subject peerSubject,
                              javax.xml.rpc.handler.MessageContext context,
                              javax.xml.namespace.QName op)
                       throws org.globus.wsrf.impl.security.authorization.exceptions.AttributeException
Specified by:
collectAttributes in interface PIP
Throws:
org.globus.wsrf.impl.security.authorization.exceptions.AttributeException

close

public void close()
           throws org.globus.wsrf.impl.security.authorization.exceptions.CloseException
Specified by:
close in interface Interceptor
Throws:
org.globus.wsrf.impl.security.authorization.exceptions.CloseException


Copyright © 2007-2008 University of Illinois. All Rights Reserved.