public class CrowdSSOAuthenticationProcessingFilter extends AbstractCrowdSSOAuthenticationProcessingFilter
If single sign-on is not required, centralised authentication can still be achieved by using the default AuthenticationProcessingFilter in conjunction with the CrowdAuthenticationProvider.
clientProperties, SILENT_AUTHENTICATION_EXCEPTION_SWALLOWER, tokenHelper
Constructor and Description |
---|
CrowdSSOAuthenticationProcessingFilter(HttpAuthenticator httpAuthenticator,
CrowdHttpTokenHelper tokenHelper) |
Modifier and Type | Method and Description |
---|---|
protected CookieConfiguration |
getCookieConfiguration() |
protected void |
onUnsuccessfulAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Attempts to remove any SSO tokens associated
with the request, effectively logging the user
out of Crowd.
|
protected void |
storeTokenIfCrowd(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authResult) |
appendSuppliers, canUseSavedRequestToAuthenticate, doSetDetails, getAuthenticatedToken, getAuthenticationDetails, getSavedPath, requiresAuthentication, setDetails, setLoginUrlAuthenticationEntryPoint, setRequestToApplicationMapper, successfulAuthentication, unsuccessfulAuthentication
attemptAuthentication, getPasswordParameter, getUsernameParameter, obtainPassword, obtainUsername, setPasswordParameter, setPostOnly, setUsernameParameter
afterPropertiesSet, doFilter, getAllowSessionCreation, getAuthenticationManager, getFailureHandler, getRememberMeServices, getSuccessHandler, setAllowSessionCreation, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureHandler, setAuthenticationManager, setAuthenticationSuccessHandler, setContinueChainBeforeSuccessfulAuthentication, setFilterProcessesUrl, setMessageSource, setRememberMeServices, setRequiresAuthenticationRequestMatcher, setSessionAuthenticationStrategy
public CrowdSSOAuthenticationProcessingFilter(HttpAuthenticator httpAuthenticator, CrowdHttpTokenHelper tokenHelper)
protected void storeTokenIfCrowd(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authResult)
storeTokenIfCrowd
in class AbstractCrowdSSOAuthenticationProcessingFilter
protected void onUnsuccessfulAuthentication(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
onUnsuccessfulAuthentication
in class AbstractCrowdSSOAuthenticationProcessingFilter
request
- servlet request.response
- servlet response.protected CookieConfiguration getCookieConfiguration() throws Exception
getCookieConfiguration
in class AbstractCrowdSSOAuthenticationProcessingFilter
Exception
Copyright © 2020 Atlassian. All rights reserved.