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

java.lang.Object
  extended byorg.globus.wsrf.impl.security.authorization.BasePDPConfig
All Implemented Interfaces:
PDPConfig
Direct Known Subclasses:
ContainerPDPConfig, ResourcePDPConfig, ServicePropertiesPDPConfig

public abstract class BasePDPConfig
extends java.lang.Object
implements PDPConfig

Base class that implements the PDPConfig interface.


Field Summary
protected  java.lang.String chain
           
protected static org.globus.util.I18n i18n
           
protected  org.apache.axis.MessageContext msgCtx
           
protected  java.lang.String serviceName
           
 
Constructor Summary
BasePDPConfig()
           
 
Method Summary
 InterceptorConfig[] getInterceptors()
          Returns an array of InterceptorConfig objects, configured as a list of scoped strings, separated by space.
abstract  java.lang.Object getProperty(java.lang.String name, java.lang.String property)
          Returns the value of the property idenitified by its scope and name
abstract  void setProperty(java.lang.String name, java.lang.String property, java.lang.Object value)
          Sets a property value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

i18n

protected static org.globus.util.I18n i18n

chain

protected java.lang.String chain

msgCtx

protected org.apache.axis.MessageContext msgCtx

serviceName

protected java.lang.String serviceName
Constructor Detail

BasePDPConfig

public BasePDPConfig()
Method Detail

getProperty

public abstract java.lang.Object getProperty(java.lang.String name,
                                             java.lang.String property)
Returns the value of the property idenitified by its scope and name

Specified by:
getProperty in interface PDPConfig
Parameters:
name - scope of the property
property - name of the property
Returns:
the property or null if not found

setProperty

public abstract void setProperty(java.lang.String name,
                                 java.lang.String property,
                                 java.lang.Object value)
Sets a property value

Specified by:
setProperty in interface PDPConfig
Parameters:
name - scope of the property
property - name of the property
value - value of property

getInterceptors

public InterceptorConfig[] getInterceptors()
                                    throws ConfigException
Returns an array of InterceptorConfig objects, configured as a list of scoped strings, separated by space. Each interceptor name is expected to be preceeded by a scope string and a semi colon (Eg: scope1:Interceptor1). Each interceptor is separated by space (Eg: scope1:Interceptor1 scope2:Interceptor2)

Specified by:
getInterceptors in interface PDPConfig
Returns:
array of interceptor configurations
Throws:
ConfigException