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

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

public class ResourcePDPConfig
extends BasePDPConfig

A PDPConfig class that can be used by resources to create dynamic ServiceAuthorizationChain that uses a HashMap to store properties. The properties need to be scoped with relevant prefixes.


Field Summary
(package private)  java.util.HashMap properties
           
 
Fields inherited from class org.globus.wsrf.impl.security.authorization.BasePDPConfig
chain, i18n, msgCtx, serviceName
 
Constructor Summary
ResourcePDPConfig(java.lang.String chain)
           
 
Method Summary
 java.lang.Object getProperty(java.lang.String name, java.lang.String property)
          Returns value of property identified by name-property
 void setProperty(java.lang.String name, java.lang.String property, java.lang.Object obj)
          Sets the value of property identified by name-property
 
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

properties

java.util.HashMap properties
Constructor Detail

ResourcePDPConfig

public ResourcePDPConfig(java.lang.String chain)
Method Detail

getProperty

public java.lang.Object getProperty(java.lang.String name,
                                    java.lang.String property)
Returns value of property identified by name-property

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

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