org.gcube.accounting.webservice.configuration
Class BaseConfiguration

java.lang.Object
  extended by org.gcube.accounting.webservice.configuration.BaseConfiguration
All Implemented Interfaces:
NetworkConfiguration, RawConfiguration, SecurityConfiguration
Direct Known Subclasses:
PropertiesBaseConfiguration

public abstract class BaseConfiguration
extends Object
implements NetworkConfiguration, SecurityConfiguration


Constructor Summary
BaseConfiguration()
           
 
Method Summary
abstract  Boolean getBoolean(String key)
           
abstract  Boolean getBoolean(String key, Boolean def)
           
 String getProxyHost()
           
 String getProxyPassword()
           
 String getProxyPort()
           
 String getProxyUser()
           
 String getRealm()
           
abstract  String getString(String key)
           
 boolean isAuthnEnabled()
           
 boolean isAuthzEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gcube.accounting.webservice.configuration.RawConfiguration
getInt, getInt, getList
 

Constructor Detail

BaseConfiguration

public BaseConfiguration()
Method Detail

isAuthnEnabled

public boolean isAuthnEnabled()
Specified by:
isAuthnEnabled in interface SecurityConfiguration

isAuthzEnabled

public boolean isAuthzEnabled()
Specified by:
isAuthzEnabled in interface SecurityConfiguration

getRealm

public String getRealm()
Specified by:
getRealm in interface SecurityConfiguration

getProxyHost

public String getProxyHost()
Specified by:
getProxyHost in interface NetworkConfiguration

getProxyPort

public String getProxyPort()
Specified by:
getProxyPort in interface NetworkConfiguration

getProxyUser

public String getProxyUser()
Specified by:
getProxyUser in interface NetworkConfiguration

getProxyPassword

public String getProxyPassword()
Specified by:
getProxyPassword in interface NetworkConfiguration

getString

public abstract String getString(String key)
Specified by:
getString in interface RawConfiguration

getBoolean

public abstract Boolean getBoolean(String key)
Specified by:
getBoolean in interface RawConfiguration

getBoolean

public abstract Boolean getBoolean(String key,
                                   Boolean def)
Specified by:
getBoolean in interface RawConfiguration


Copyright © 2013. All Rights Reserved.