|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecurityConfig
Represents the configuration of Seraph.
Field Summary | |
---|---|
static String |
BASIC_AUTH
|
static String |
STORAGE_KEY
|
Method Summary | ||
---|---|---|
void |
destroy()
|
|
AuthenticationContext |
getAuthenticationContext()
|
|
Authenticator |
getAuthenticator()
|
|
String |
getAuthType()
|
|
int |
getAutoLoginCookieAge()
|
|
SecurityController |
getController()
|
|
String |
getCookieEncoding()
Deprecated. replaced by the RememberMeService code |
|
ElevatedSecurityGuard |
getElevatedSecurityGuard()
|
|
|
getInterceptors(Class<T> desiredInterceptorClass)
|
|
List<String> |
getInvalidateSessionExcludeList()
When sessions are invalidated upon login, sometimes there are session attributes that should be excluded from the new session. |
|
List<String> |
getInvalidateWebsudoSessionExcludeList()
When sessions are invalidated upon websudo, sometimes there are session attributes that should be excluded from the new session. |
|
String |
getLinkLoginURL()
|
|
String |
getLoginCookieKey()
The name of the remember me cookie |
|
String |
getLoginCookiePath()
|
|
String |
getLoginForwardPath()
Returns the login forward path. |
|
String |
getLoginURL()
|
|
String |
getLogoutURL()
|
|
String |
getOriginalURLKey()
|
|
RedirectPolicy |
getRedirectPolicy()
Returns the configured RedirectPolicy, or the default if none is configured. |
|
RememberMeService |
getRememberMeService()
|
|
RoleMapper |
getRoleMapper()
|
|
List<SecurityService> |
getServices()
|
|
String |
getWebsudoRequestKey()
The name of the websudo request |
|
boolean |
isInsecureCookie()
returns true if the remember me cookie should never be set to secure |
|
boolean |
isInvalidateSessionOnLogin()
Whether the session (and the JSESSIONID) should be thrown away and replaced on successful login to prevent session fixation. |
|
boolean |
isInvalidateSessionOnWebsudo()
Whether the session (and the JSESSIONID) should be thrown away and replaced on successful websudo to prevent session fixation. |
Field Detail |
---|
static final String STORAGE_KEY
static final String BASIC_AUTH
Method Detail |
---|
List<SecurityService> getServices()
String getLoginURL()
String getLoginForwardPath()
javax.servlet.forward.*
request attributes.
At this point you will probably want to save the user's POST params so he can log in again and retry the POST.
Defaults to null, in which case Seraph will just do a redirect instead of a FORWARD.
String getLinkLoginURL()
String getLogoutURL()
String getOriginalURLKey()
Authenticator getAuthenticator()
Authenticator
in playAuthenticationContext getAuthenticationContext()
AuthenticationContext
in playSecurityController getController()
SecurityController
in playRoleMapper getRoleMapper()
RoleMapper
in playElevatedSecurityGuard getElevatedSecurityGuard()
ElevatedSecurityGuard
in playRememberMeService getRememberMeService()
RememberMeService
in playRedirectPolicy getRedirectPolicy()
<T extends Interceptor> List<T> getInterceptors(Class<T> desiredInterceptorClass)
void destroy()
String getLoginCookiePath()
String getLoginCookieKey()
String getWebsudoRequestKey()
boolean isInsecureCookie()
int getAutoLoginCookieAge()
String getCookieEncoding()
RememberMeService
code
String getAuthType()
boolean isInvalidateSessionOnLogin()
boolean isInvalidateSessionOnWebsudo()
List<String> getInvalidateSessionExcludeList()
List<String> getInvalidateWebsudoSessionExcludeList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |