org.globus.wsrf.security.authorization
Interface PDPConfig

All Known Implementing Classes:
BasePDPConfig

public interface PDPConfig

This interface is used to encapsulate and shield the interceptor configuration mechanism from the core PDP framework. The configuration is associated with an interceptor between the initialize and close calls.

See Also:
Interceptor, PIP, PDP

Method Summary
 InterceptorConfig[] getInterceptors()
          gets the interceptors class names to be loaded, and their names (configuration scopes)
 java.lang.Object getProperty(java.lang.String name, java.lang.String property)
          gets a property based on the scoped name of the interceptor
 void setProperty(java.lang.String name, java.lang.String property, java.lang.Object value)
          sets a property based on the scoped name of the interceptor
 

Method Detail

getInterceptors

public InterceptorConfig[] getInterceptors()
                                    throws ConfigException
gets the interceptors class names to be loaded, and their names (configuration scopes)

Returns:
array of interceptor configurations
Throws:
ConfigException

getProperty

public java.lang.Object getProperty(java.lang.String name,
                                    java.lang.String property)
gets a property based on the scoped name of the interceptor

Parameters:
name - scoped name of interceptor
property - name of property to get
Returns:
the property or null if not found

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String property,
                        java.lang.Object value)
sets a property based on the scoped name of the interceptor

Parameters:
name - scoped name of interceptor
property - name of property to set
value - value of property to set