org.globus.wsrf.impl.security.descriptor
Class SecurityPropertiesHelper

java.lang.Object
  extended byorg.globus.wsrf.impl.security.descriptor.SecurityPropertiesHelper

public class SecurityPropertiesHelper
extends java.lang.Object

This class has API that determines the appropriate security property for an invocation. It first looks for resource property, if not set, service property, if not set, looks for container property.


Field Summary
private static org.apache.commons.logging.Log logger
           
 
Constructor Summary
SecurityPropertiesHelper()
           
 
Method Summary
static java.lang.String getAuthorizationType(java.lang.String servicePath, Resource resource)
           
static ServiceAuthorizationChain getAuthzChain(java.lang.String servicePath, Resource resource)
           
static java.lang.Integer getContextLifetime(java.lang.String servicePath, Resource resource)
           
static org.globus.security.gridmap.GridMap getGridMap(java.lang.String servicePath, Resource resource)
           
static java.lang.Boolean getRejectLimitedProxyState(java.lang.String servicePath, Resource res)
           
static java.lang.String getReplayAttackFilter(java.lang.String servicePath, Resource resource)
           
static java.lang.String getReplayAttackWindow(java.lang.String servicePath, Resource resource)
           
private static ServiceSecurityDescriptor getSecurityDesc(java.lang.String servicePath)
           
static boolean gridMapPresent(java.lang.String servicePath, Resource resource)
           
 
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

SecurityPropertiesHelper

public SecurityPropertiesHelper()
Method Detail

getContextLifetime

public static java.lang.Integer getContextLifetime(java.lang.String servicePath,
                                                   Resource resource)
                                            throws ConfigException
Throws:
ConfigException

getRejectLimitedProxyState

public static java.lang.Boolean getRejectLimitedProxyState(java.lang.String servicePath,
                                                           Resource res)
                                                    throws ConfigException
Throws:
ConfigException

getReplayAttackWindow

public static java.lang.String getReplayAttackWindow(java.lang.String servicePath,
                                                     Resource resource)
                                              throws ConfigException
Throws:
ConfigException

getReplayAttackFilter

public static java.lang.String getReplayAttackFilter(java.lang.String servicePath,
                                                     Resource resource)
                                              throws ConfigException
Throws:
ConfigException

getAuthorizationType

public static java.lang.String getAuthorizationType(java.lang.String servicePath,
                                                    Resource resource)
                                             throws ConfigException
Throws:
ConfigException

getGridMap

public static org.globus.security.gridmap.GridMap getGridMap(java.lang.String servicePath,
                                                             Resource resource)
                                                      throws ConfigException
Throws:
ConfigException

getAuthzChain

public static ServiceAuthorizationChain getAuthzChain(java.lang.String servicePath,
                                                      Resource resource)
                                               throws ConfigException
Throws:
ConfigException

gridMapPresent

public static boolean gridMapPresent(java.lang.String servicePath,
                                     Resource resource)
                              throws ConfigException
Throws:
ConfigException

getSecurityDesc

private static ServiceSecurityDescriptor getSecurityDesc(java.lang.String servicePath)
                                                  throws ConfigException
Throws:
ConfigException