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(com.atlassian.crowd.integration.http.util.CrowdHttpTokenHelper tokenHelper,
com.atlassian.crowd.service.client.CrowdClient crowdClient,
com.atlassian.crowd.service.client.ClientProperties clientProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected com.atlassian.crowd.model.authentication.CookieConfiguration |
getCookieConfiguration() |
protected void |
onUnsuccessfulAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setHttpAuthenticator(com.atlassian.crowd.integration.http.CrowdHttpAuthenticator httpAuthenticator)
Mandatory dependency.
|
appendSuppliers, canUseSavedRequestToAuthenticate, doSetDetails, getAuthenticatedToken, getAuthenticationDetails, getSavedPath, 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(com.atlassian.crowd.integration.http.util.CrowdHttpTokenHelper tokenHelper,
com.atlassian.crowd.service.client.CrowdClient crowdClient,
com.atlassian.crowd.service.client.ClientProperties clientProperties)
protected com.atlassian.crowd.model.authentication.CookieConfiguration getCookieConfiguration()
throws com.atlassian.crowd.exception.OperationFailedException,
com.atlassian.crowd.exception.InvalidAuthenticationException,
com.atlassian.crowd.exception.ApplicationPermissionException
getCookieConfiguration in class AbstractCrowdSSOAuthenticationProcessingFiltercom.atlassian.crowd.exception.OperationFailedExceptioncom.atlassian.crowd.exception.InvalidAuthenticationExceptioncom.atlassian.crowd.exception.ApplicationPermissionExceptionprotected void onUnsuccessfulAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
onUnsuccessfulAuthentication in class AbstractCrowdSSOAuthenticationProcessingFilterpublic void setHttpAuthenticator(com.atlassian.crowd.integration.http.CrowdHttpAuthenticator httpAuthenticator)
httpAuthenticator - used to extract validation factors, set cookies and perform logouts.Copyright © 2019 Atlassian. All rights reserved.