Property | Default Value | Meaning |
---|---|---|
apf.filterProcessesUrl |
“/login/authenticate” |
Login form post URL, intercepted by Spring Security filter |
apf.usernameParameter |
“username” |
Login form username parameter |
apf.passwordParameter |
“password” |
Login form password parameter |
apf.allowSessionCreation |
|
Whether to allow authentication to create an HTTP session |
apf.postOnly |
|
Whether to allow only POST login requests |
apf.continueChainBefore SuccessfulAuthentication |
|
whether to continue calling subsequent filters in the filter chain |
apf.storeLastUsername |
|
Whether to store the login username in the HTTP session |
failureHandler.defaultFailureUrl |
“/login/authfail?login_error=1” |
Redirect URL for failed logins |
failureHandler.ajaxAuthFailUrl |
“/login/authfail?ajax=true” |
Redirect URL for failed Ajax logins |
failureHandler.exceptionMappings |
none |
Map of exception class name (subclass of AuthenticationException) to which the URL will redirect for that exception type after authentication failure |
failureHandler.useForward |
|
Whether to render the error page ( |
failureHandler.allowSessionCreation |
|
Whether to enable session creation to store the authentication failure exception |
successHandler.defaultTargetUrl |
“/” |
Default post-login URL if there is no saved request that triggered the login |
successHandler.alwaysUseDefault |
|
If |
successHandler.targetUrlParameter |
“spring-security-redirect” |
Name of optional login form parameter that specifies destination after successful login |
successHandler.useReferer |
|
Whether to use the HTTP |
successHandler.ajaxSuccessUrl |
“/login/ajaxSuccess” |
URL for redirect after successful Ajax login |
auth.loginFormUrl |
“/login/auth” |
URL of login page |
auth.forceHttps |
|
If |
auth.ajaxLoginFormUrl |
“/login/authAjax” |
URL of Ajax login page |
auth.useForward |
|
Whether to render the login page ( |
logout.afterLogoutUrl |
“/” |
URL for redirect after logout |
logout.filterProcessesUrl |
“/logoff” |
Logout URL, intercepted by Spring Security filter |
logout.handlerNames |
|
Logout handler bean names. See Logout Handlers |
logout.clearAuthentication |
|
If |
logout.invalidateHttpSession |
|
Whether to invalidate the HTTP session when logging out |
logout.targetUrlParameter |
none |
the querystring parameter name for the post-logout URL |
logout.alwaysUseDefaultTargetUrl |
|
whether to always use the |
logout.redirectToReferer |
|
whether to use the |
logout.postOnly |
|
If |
adh.errorPage |
“/login/denied” |
Location of the 403 error page (or set to |
adh.ajaxErrorPage |
“/login/ajaxDenied” |
Location of the 403 error page for Ajax requests |
adh.useForward |
|
If |
ajaxHeader |
“X-Requested-With” |
Header name sent by Ajax library, used to detect Ajax |
ajaxCheckClosure |
none |
An optional closure that can determine if a request is Ajax |
redirectStrategy.contextRelative |
|
If |
switchUser URLs |
See Switch User, under Customizing URLs |
|
fii.alwaysReauthenticate |
|
If |
fii.rejectPublicInvocations |
|
Disallow URL access when there is no request mapping |
fii.validateConfigAttributes |
|
Whether to check that all |
fii.publishAuthorizationSuccess |
|
Whether to publish an |
fii.observeOncePerRequest |
|
If |