public class LocalCrowdSSOAuthenticationProcessingFilter extends AbstractLocalCrowdAuthenticationProcessingFilter
Modifier and Type | Field and Description |
---|---|
static String |
PROTECTED_REST_ENDPOINTS_PATTERN |
propertyManager, rememberMeService, tokenAuthenticationManager
clientProperties, SILENT_AUTHENTICATION_EXCEPTION_SWALLOWER, tokenHelper
Modifier | Constructor and Description |
---|---|
protected |
LocalCrowdSSOAuthenticationProcessingFilter(ClientProperties clientProperties,
CrowdHttpTokenHelper tokenHelper,
PropertyManager propertyManager,
TokenAuthenticationManager tokenAuthenticationManager,
CrowdRememberMeService rememberMeService) |
Modifier and Type | Method and Description |
---|---|
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain) |
protected String |
getSavedPath(javax.servlet.http.HttpServletRequest request) |
protected String |
obtainPassword(javax.servlet.http.HttpServletRequest request) |
protected String |
obtainUsername(javax.servlet.http.HttpServletRequest request) |
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.
|
protected boolean |
userWantsToBeRemembered(javax.servlet.http.HttpServletRequest request) |
appendSuppliers, clearRememberMeToken, getCookieConfiguration, successfulAuthentication
canUseSavedRequestToAuthenticate, doSetDetails, getAuthenticatedToken, getAuthenticationDetails, requiresAuthentication, setDetails, setLoginUrlAuthenticationEntryPoint, setRequestToApplicationMapper, storeTokenIfCrowd, unsuccessfulAuthentication
attemptAuthentication, getPasswordParameter, getUsernameParameter, setPasswordParameter, setPostOnly, setUsernameParameter
afterPropertiesSet, getAllowSessionCreation, getAuthenticationManager, getFailureHandler, getRememberMeServices, getSuccessHandler, setAllowSessionCreation, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureHandler, setAuthenticationManager, setAuthenticationSuccessHandler, setContinueChainBeforeSuccessfulAuthentication, setFilterProcessesUrl, setMessageSource, setRememberMeServices, setRequiresAuthenticationRequestMatcher, setSessionAuthenticationStrategy
public static final String PROTECTED_REST_ENDPOINTS_PATTERN
protected LocalCrowdSSOAuthenticationProcessingFilter(ClientProperties clientProperties, CrowdHttpTokenHelper tokenHelper, PropertyManager propertyManager, TokenAuthenticationManager tokenAuthenticationManager, CrowdRememberMeService rememberMeService)
protected void onUnsuccessfulAuthentication(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
AbstractCrowdSSOAuthenticationProcessingFilter
onUnsuccessfulAuthentication
in class AbstractCrowdSSOAuthenticationProcessingFilter
request
- servlet request.response
- servlet response.protected String obtainUsername(javax.servlet.http.HttpServletRequest request)
obtainUsername
in class org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter
protected String obtainPassword(javax.servlet.http.HttpServletRequest request)
obtainPassword
in class org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter
protected boolean userWantsToBeRemembered(javax.servlet.http.HttpServletRequest request)
userWantsToBeRemembered
in class AbstractLocalCrowdAuthenticationProcessingFilter
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
doFilter
in class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
IOException
javax.servlet.ServletException
protected String getSavedPath(javax.servlet.http.HttpServletRequest request)
getSavedPath
in class AbstractCrowdSSOAuthenticationProcessingFilter
Copyright © 2021 Atlassian. All rights reserved.