|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.accounting.webservice.configuration.BaseConfiguration
org.gcube.accounting.webservice.configuration.PropertiesBaseConfiguration
org.gcube.accounting.usagetracker.configuration.Configuration
public class Configuration
This class models Usage Tracker configuration. It relies on the configuration location defined in the context file.
| Field Summary |
|---|
| Fields inherited from class org.gcube.accounting.webservice.configuration.PropertiesBaseConfiguration |
|---|
logger |
| Method Summary | |
|---|---|
String |
getBroker()
Getter for the broker endpoint |
String |
getDBHost()
Getter for the database host |
String |
getDBName()
Getter for the database name |
String |
getDBPassword()
Getter for the database password |
int |
getDBPort()
Getter for the database port |
String |
getDBUser()
Getter for the database user |
String |
getDefaultGroup()
|
static Configuration |
getInstance()
Getter for the singleton instance |
String |
getMembershipPassword()
Getter for password to use when connecting to the membership service |
String |
getMembershipServiceURL()
Getter for the membership service endpoint |
String |
getMembershipUsername()
Getter for username to use when connecting to the membership service |
List<Object> |
getScopes()
Getter for the scopes |
Boolean |
isDBAuthnEnabled()
Is DB authentication enabled? |
Boolean |
isMembershipServiceAuthnEnabled()
Should the membership service be contacted? |
Boolean |
isMembershipServiceEnabled()
Should the membership service be contacted? |
Boolean |
isRemoteDBEnabled()
Should the remote DB cluster be used? |
| Methods inherited from class org.gcube.accounting.webservice.configuration.PropertiesBaseConfiguration |
|---|
getBoolean, getBoolean, getInt, getInt, getList, getString |
| Methods inherited from class org.gcube.accounting.webservice.configuration.BaseConfiguration |
|---|
getProxyHost, getProxyPassword, getProxyPort, getProxyUser, getRealm, isAuthnEnabled, isAuthzEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Configuration getInstance()
public String getDBHost()
public int getDBPort()
public Boolean isDBAuthnEnabled()
public String getDBName()
public String getDBUser()
public String getDBPassword()
public Boolean isMembershipServiceEnabled()
public String getMembershipServiceURL()
public Boolean isMembershipServiceAuthnEnabled()
public String getMembershipUsername()
public String getMembershipPassword()
public String getDefaultGroup()
public List<Object> getScopes()
public String getBroker()
public Boolean isRemoteDBEnabled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||