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

java.lang.Object
  extended byorg.globus.wsrf.impl.security.authorization.BasePDPConfig
      extended byorg.globus.wsrf.impl.security.authorization.ServicePropertiesPDPConfig
All Implemented Interfaces:
PDPConfig

public class ServicePropertiesPDPConfig
extends BasePDPConfig

This class is used to store configuration information of interceptors in a ServiceProperties object associated with a service. For more information about the API see PDPConfig.


Field Summary
private static org.apache.commons.logging.Log logger
           
 
Fields inherited from class org.globus.wsrf.impl.security.authorization.BasePDPConfig
chain, i18n, msgCtx, serviceName
 
Constructor Summary
ServicePropertiesPDPConfig(org.apache.axis.MessageContext msgCtx, java.lang.String _serviceName, java.lang.String _chain)
          Constructor
 
Method Summary
 java.lang.Object getProperty(java.lang.String name, java.lang.String property)
          Returns value of property identified by name-property stored in the service's deployment descriptor.
 void setProperty(java.lang.String name, java.lang.String property, java.lang.Object obj)
          Sets the value of property identified by name-property in the global deployment descriptor.
 
Methods inherited from class org.globus.wsrf.impl.security.authorization.BasePDPConfig
getInterceptors
 
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
Constructor Detail

ServicePropertiesPDPConfig

public ServicePropertiesPDPConfig(org.apache.axis.MessageContext msgCtx,
                                  java.lang.String _serviceName,
                                  java.lang.String _chain)
Constructor

Parameters:
msgCtx - message context, typically associated with current thread
_serviceName - name of service with which these properties are associated
_chain - Chain of PDP and PIP names
Method Detail

getProperty

public java.lang.Object getProperty(java.lang.String name,
                                    java.lang.String property)
Returns value of property identified by name-property stored in the service's deployment descriptor.

Specified by:
getProperty in interface PDPConfig
Specified by:
getProperty in class BasePDPConfig
Parameters:
name - scope of the property
property - name of the property

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String property,
                        java.lang.Object obj)
Sets the value of property identified by name-property in the global deployment descriptor.

Specified by:
setProperty in interface PDPConfig
Specified by:
setProperty in class BasePDPConfig
Parameters:
name - scope of the property
property - name of the property
obj - Value of the property