org.gcube.security.soa3.configuration
Class GSSConfigurationManagerImpl

java.lang.Object
  extended by org.gcube.security.soa3.configuration.GSSConfigurationManagerImpl
All Implemented Interfaces:
org.gcube.security.soa3.configuration.ConfigurationManager, GSSConfigurationManager

public class GSSConfigurationManagerImpl
extends Object
implements GSSConfigurationManager

Singleton instance managing the configuration of the module

Author:
Ciro Formisano (ENG)

Method Summary
 boolean getCredentialPropagationPolicy(String serviceName)
           
 String getServerUrl(String serviceName)
           
 boolean isSecurityEnabled(String serviceName)
           
 boolean servicePropertiesSet(String serviceName)
           
 void setServiceProperties(String serviceName, Properties serviceProperties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isSecurityEnabled

public boolean isSecurityEnabled(String serviceName)
Specified by:
isSecurityEnabled in interface org.gcube.security.soa3.configuration.ConfigurationManager
Parameters:
serviceName -
Returns:
true if the security is enabled

getServerUrl

public String getServerUrl(String serviceName)
Specified by:
getServerUrl in interface org.gcube.security.soa3.configuration.ConfigurationManager
Parameters:
serviceName -
Returns:
the server url for that service

getCredentialPropagationPolicy

public boolean getCredentialPropagationPolicy(String serviceName)
Specified by:
getCredentialPropagationPolicy in interface org.gcube.security.soa3.configuration.ConfigurationManager
Parameters:
serviceName -
Returns:
true if the credentials must be propagated for the considered service, false otherwise

setServiceProperties

public void setServiceProperties(String serviceName,
                                 Properties serviceProperties)
Specified by:
setServiceProperties in interface GSSConfigurationManager
Parameters:
serviceName -
serviceProperties - sets the configuration properties for the service

servicePropertiesSet

public boolean servicePropertiesSet(String serviceName)
Specified by:
servicePropertiesSet in interface org.gcube.security.soa3.configuration.ConfigurationManager
Parameters:
serviceName -
Returns:


Copyright © 2013. All Rights Reserved.