@Config(value="sessions") public static class SecurityConfig.SessionConfig extends Object
Constructor and Description |
---|
SessionConfig() |
Modifier and Type | Method and Description |
---|---|
Class<? extends org.apache.shiro.mgt.SessionStorageEvaluator> |
getStorageEvaluator() |
long |
getTimeout() |
long |
getValidationInterval() |
Class<? extends org.apache.shiro.session.mgt.SessionValidationScheduler> |
getValidationScheduler() |
boolean |
isEnabled() |
SecurityConfig.SessionConfig |
setEnabled(boolean enabled) |
SecurityConfig.SessionConfig |
setStorageEvaluator(Class<? extends org.apache.shiro.mgt.SessionStorageEvaluator> storageEvaluator) |
SecurityConfig.SessionConfig |
setTimeout(long timeout) |
SecurityConfig.SessionConfig |
setValidationInterval(long validationInterval) |
SecurityConfig.SessionConfig |
setValidationScheduler(Class<? extends org.apache.shiro.session.mgt.SessionValidationScheduler> validationScheduler) |
public boolean isEnabled()
public SecurityConfig.SessionConfig setEnabled(boolean enabled)
public long getTimeout()
public SecurityConfig.SessionConfig setTimeout(long timeout)
public Class<? extends org.apache.shiro.mgt.SessionStorageEvaluator> getStorageEvaluator()
public SecurityConfig.SessionConfig setStorageEvaluator(Class<? extends org.apache.shiro.mgt.SessionStorageEvaluator> storageEvaluator)
public Class<? extends org.apache.shiro.session.mgt.SessionValidationScheduler> getValidationScheduler()
public SecurityConfig.SessionConfig setValidationScheduler(Class<? extends org.apache.shiro.session.mgt.SessionValidationScheduler> validationScheduler)
public long getValidationInterval()
public SecurityConfig.SessionConfig setValidationInterval(long validationInterval)
Copyright © 2013-2018–2019 SeedStack. All rights reserved.