public class ConfigurationPropertiesBean extends Object
Constructor and Description |
---|
ConfigurationPropertiesBean() |
Modifier and Type | Method and Description |
---|---|
void |
checkConfigConsistency()
Endpoints protected by TLS must have https scheme in the URI.
|
String |
getDefaultLanguageNamespace()
Get the default namespace (first in the nonempty list)
|
String |
getIssuer() |
List<String> |
getLanguageNamespaces() |
String |
getLanguageNamespacesString()
Get the list of namespaces as a JSON string, for injection into the JavaScript UI
|
Locale |
getLocale() |
String |
getLogoImageUrl() |
Long |
getRegTokenLifeTime() |
Long |
getRqpTokenLifeTime() |
String |
getShortTopbarTitle() |
String |
getTopbarTitle() |
boolean |
isDualClient() |
boolean |
isForceHttps() |
boolean |
isHeartMode() |
void |
setDualClient(boolean dualClient) |
void |
setForceHttps(boolean forceHttps) |
void |
setHeartMode(boolean heartMode) |
void |
setIssuer(String iss) |
void |
setLanguageNamespaces(List<String> languageNamespaces) |
void |
setLocale(Locale locale) |
void |
setLogoImageUrl(String logoImageUrl) |
void |
setRegTokenLifeTime(Long regTokenLifeTime) |
void |
setRqpTokenLifeTime(Long rqpTokenLifeTime) |
void |
setShortTopbarTitle(String shortTopbarTitle) |
void |
setTopbarTitle(String topbarTitle) |
public ConfigurationPropertiesBean()
@PostConstruct public void checkConfigConsistency()
HttpsUrlRequiredException
public String getTopbarTitle()
public void setTopbarTitle(String topbarTitle)
topbarTitle
- the topbarTitle to setpublic String getShortTopbarTitle()
public void setShortTopbarTitle(String shortTopbarTitle)
public String getLogoImageUrl()
public void setLogoImageUrl(String logoImageUrl)
logoImageUrl
- the logoImageUrl to setpublic Long getRegTokenLifeTime()
public void setRegTokenLifeTime(Long regTokenLifeTime)
regTokenLifeTime
- the registration token lifetime to set in secondspublic Long getRqpTokenLifeTime()
public void setRqpTokenLifeTime(Long rqpTokenLifeTime)
rqpTokenLifeTime
- the rqpTokenLifeTime to setpublic boolean isForceHttps()
public void setForceHttps(boolean forceHttps)
public List<String> getLanguageNamespaces()
public void setLanguageNamespaces(List<String> languageNamespaces)
languageNamespaces
- the languageNamespaces to setpublic boolean isDualClient()
public void setDualClient(boolean dualClient)
dualClient
- the dual client configurationpublic String getLanguageNamespacesString()
public String getDefaultLanguageNamespace()
public boolean isHeartMode()
public void setHeartMode(boolean heartMode)
heartMode
- the heartMode to setCopyright © 2018. All rights reserved.