org.gcube.security.soa3.configuration
Class ConfigurationManager
java.lang.Object
org.gcube.security.soa3.configuration.ConfigurationManager
public class ConfigurationManager
- extends Object
Singleton instance managing the configuration of the module
- Author:
- Ciro Formisano (ENG)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ConfigurationManager getInstance()
isSecurityEnabled
public boolean isSecurityEnabled(String serviceName)
- Parameters:
serviceName -
- Returns:
- true if the security is enabled
getServerUrl
public String getServerUrl(String serviceName)
- Parameters:
serviceName -
- Returns:
- the server url for that service
getCredentialPropagationPolicy
public boolean getCredentialPropagationPolicy(String serviceName)
- Parameters:
serviceName -
- Returns:
- true if the credentials must be propagated for the considered service, false otherwise
setServiceProperties
public void setServiceProperties(String serviceName,
Properties serviceProperties)
- Parameters:
serviceName - serviceProperties - sets the configuration properties for the service
Copyright © 2013. All Rights Reserved.