Package net.anotheria.anosite.shared
Class AnositeConfig
- java.lang.Object
-
- net.anotheria.anosite.shared.AnositeConfig
-
public class AnositeConfig extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanenforceHttp()If true and a user is on a https page, but the page doesn't require https, he will be redirected to http.booleanenforceHttps()StringgetApp()static AnositeConfiggetInstance()String[]getSystemsList()booleanhttpsOnly()voidsetApp(String app)voidsetEnforceHttp(boolean aValue)voidsetEnforceHttps(boolean aValue)voidsetHttpsOnly(boolean aValue)voidsetSystemsList(String[] systemList)voidsetVerbose(boolean aValue)booleanverbose()
-
-
-
Method Detail
-
getInstance
public static AnositeConfig getInstance()
-
enforceHttps
public boolean enforceHttps()
-
setEnforceHttps
public void setEnforceHttps(boolean aValue)
-
verbose
public boolean verbose()
-
setVerbose
public void setVerbose(boolean aValue)
-
setHttpsOnly
public void setHttpsOnly(boolean aValue)
-
httpsOnly
public boolean httpsOnly()
-
enforceHttp
public boolean enforceHttp()
If true and a user is on a https page, but the page doesn't require https, he will be redirected to http.- Returns:
- true if http is enforced.
-
setEnforceHttp
public void setEnforceHttp(boolean aValue)
-
getApp
public String getApp()
-
setApp
public void setApp(String app)
-
getSystemsList
public String[] getSystemsList()
-
setSystemsList
public void setSystemsList(String[] systemList)
-
-