public class WebacConfiguration extends Object
Constructor and Description |
---|
WebacConfiguration() |
Modifier and Type | Method and Description |
---|---|
long |
getCacheExpireSeconds()
Get the cache expire time in seconds.
|
long |
getCacheSize()
Get the maximum size of the cache.
|
boolean |
getEnabled()
Get whether basic authentication has been enabled.
|
void |
setCacheExpireSeconds(long cacheExpireSeconds)
Set the cache exprie time in seconds.
|
void |
setCacheSize(long cacheSize)
Set the maxiumum size of the cache.
|
void |
setEnabled(boolean enabled)
Enable or disable basic authentication.
|
public boolean getEnabled()
public void setEnabled(boolean enabled)
enabled
- true if basic auth is enabled; false otherwisepublic long getCacheSize()
public void setCacheSize(long cacheSize)
cacheSize
- the size of the cachepublic long getCacheExpireSeconds()
public void setCacheExpireSeconds(long cacheExpireSeconds)
cacheExpireSeconds
- the number of seconds after which an element expires