public final class ClientAuthenticationFilter
extends org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
ClientAuthenticationToken
is created to finish the authentication process.Modifier and Type | Field and Description |
---|---|
static String |
ATTEMPTED_AUTHENTICATION_SUFFIX |
Modifier | Constructor and Description |
---|---|
protected |
ClientAuthenticationFilter() |
|
ClientAuthenticationFilter(String suffixUrl)
Define the suffix url on which the filter will listen for HTTP requests.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
org.springframework.security.core.Authentication |
attemptAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.pac4j.core.client.Clients |
getClients() |
void |
setClients(org.pac4j.core.client.Clients clients) |
doFilter, getAllowSessionCreation, getAuthenticationManager, getFailureHandler, getFilterProcessesUrl, getRememberMeServices, getSuccessHandler, requiresAuthentication, setAllowSessionCreation, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureHandler, setAuthenticationManager, setAuthenticationSuccessHandler, setContinueChainBeforeSuccessfulAuthentication, setFilterProcessesUrl, setMessageSource, setRememberMeServices, setSessionAuthenticationStrategy, successfulAuthentication, successfulAuthentication, unsuccessfulAuthentication
public static final String ATTEMPTED_AUTHENTICATION_SUFFIX
public ClientAuthenticationFilter(String suffixUrl)
suffixUrl
- protected ClientAuthenticationFilter()
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
public org.springframework.security.core.Authentication attemptAuthentication(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws org.springframework.security.core.AuthenticationException, IOException, javax.servlet.ServletException
attemptAuthentication
in class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
org.springframework.security.core.AuthenticationException
IOException
javax.servlet.ServletException
public org.pac4j.core.client.Clients getClients()
public void setClients(org.pac4j.core.client.Clients clients)
Copyright © 2013. All Rights Reserved.