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, tokenHelper| Constructor and Description |
|---|
CrowdSSOAuthenticationProcessingFilter(CrowdHttpTokenHelper tokenHelper,
CrowdClient crowdClient,
ClientProperties clientProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected CookieConfiguration |
getCookieConfiguration() |
protected void |
onUnsuccessfulAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Remove any SSO tokens associated with the request, effectively logging the user out of Crowd.
|
void |
setHttpAuthenticator(CrowdHttpAuthenticator httpAuthenticator)
Mandatory dependency.
|
canUseSavedRequestToAuthenticate, doSetDetails, requiresAuthentication, setDetails, setLoginUrlAuthenticationEntryPoint, setRequestToApplicationMapper, storeTokenIfCrowd, successfulAuthentication, unsuccessfulAuthenticationattemptAuthentication, getPasswordParameter, getUsernameParameter, obtainPassword, obtainUsername, setPasswordParameter, setPostOnly, setUsernameParameterafterPropertiesSet, doFilter, getAllowSessionCreation, getAuthenticationManager, getFailureHandler, getRememberMeServices, getSuccessHandler, setAllowSessionCreation, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureHandler, setAuthenticationManager, setAuthenticationSuccessHandler, setContinueChainBeforeSuccessfulAuthentication, setFilterProcessesUrl, setMessageSource, setRememberMeServices, setRequiresAuthenticationRequestMatcher, setSessionAuthenticationStrategypublic CrowdSSOAuthenticationProcessingFilter(CrowdHttpTokenHelper tokenHelper, CrowdClient crowdClient, ClientProperties clientProperties)
protected CookieConfiguration getCookieConfiguration() throws OperationFailedException, InvalidAuthenticationException, ApplicationPermissionException
protected void onUnsuccessfulAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
AbstractCrowdSSOAuthenticationProcessingFilteronUnsuccessfulAuthentication in class AbstractCrowdSSOAuthenticationProcessingFilterrequest - servlet request.response - servlet response.public void setHttpAuthenticator(CrowdHttpAuthenticator httpAuthenticator)
httpAuthenticator - used to extract validation factors, set cookies and perform logouts.Copyright © 2018 Atlassian. All rights reserved.