public interface SecurityConfig
| Modifier and Type | Field and Description |
|---|---|
static String |
BASIC_AUTH |
static String |
STORAGE_KEY |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
AuthenticationContext |
getAuthenticationContext() |
Authenticator |
getAuthenticator() |
String |
getAuthType() |
int |
getAutoLoginCookieAge() |
SecurityController |
getController() |
ElevatedSecurityGuard |
getElevatedSecurityGuard() |
<T extends Interceptor> |
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 |
getLoginURL(boolean forUserRole,
boolean forPageCaps) |
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.
|
static final String STORAGE_KEY
static final String BASIC_AUTH
List<SecurityService> getServices()
String getLoginURL()
String getLoginURL(boolean forUserRole, boolean forPageCaps)
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 getAuthType()
boolean isInvalidateSessionOnLogin()
boolean isInvalidateSessionOnWebsudo()
List<String> getInvalidateSessionExcludeList()
List<String> getInvalidateWebsudoSessionExcludeList()
Copyright © 2018 Atlassian. All rights reserved.