Class EmbeddedLoginTokenEndpointAuthenticationFilter
- java.lang.Object
-
- org.springframework.web.filter.GenericFilterBean
-
- org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
-
- com.broadleafcommerce.auth.user.session.embedded.EmbeddedLoginTokenEndpointAuthenticationFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationEventPublisherAware
,org.springframework.context.EnvironmentAware
,org.springframework.context.MessageSourceAware
,org.springframework.core.env.EnvironmentCapable
,org.springframework.web.context.ServletContextAware
public class EmbeddedLoginTokenEndpointAuthenticationFilter extends org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
Authentication Filter for theTokenEndpoint
when using Embedded Login.- Author:
- Cade Rea (cade-rea)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
EmbeddedLoginTokenEndpointAuthenticationFilter.EmbeddedLoginTokenEndpointRequestMatcher
Matches requests based on destination and parameters.
-
Constructor Summary
Constructors Constructor Description EmbeddedLoginTokenEndpointAuthenticationFilter(org.springframework.security.authentication.AuthenticationManager authenticationManager)
EmbeddedLoginTokenEndpointAuthenticationFilter(org.springframework.security.authentication.AuthenticationManager authenticationManager, org.springframework.security.web.util.matcher.RequestMatcher requestMatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.Authentication
attemptAuthentication(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Methods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
afterPropertiesSet, doFilter, getAllowSessionCreation, getAuthenticationManager, getFailureHandler, getRememberMeServices, getSuccessHandler, requiresAuthentication, setAllowSessionCreation, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureHandler, setAuthenticationManager, setAuthenticationSuccessHandler, setContinueChainBeforeSuccessfulAuthentication, setFilterProcessesUrl, setMessageSource, setRememberMeServices, setRequiresAuthenticationRequestMatcher, setSessionAuthenticationStrategy, successfulAuthentication, unsuccessfulAuthentication
-
-
-
-
Constructor Detail
-
EmbeddedLoginTokenEndpointAuthenticationFilter
public EmbeddedLoginTokenEndpointAuthenticationFilter(org.springframework.security.authentication.AuthenticationManager authenticationManager)
-
EmbeddedLoginTokenEndpointAuthenticationFilter
public EmbeddedLoginTokenEndpointAuthenticationFilter(org.springframework.security.authentication.AuthenticationManager authenticationManager, org.springframework.security.web.util.matcher.RequestMatcher requestMatcher)
-
-
Method Detail
-
attemptAuthentication
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
- Specified by:
attemptAuthentication
in classorg.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
- Throws:
org.springframework.security.core.AuthenticationException
IOException
javax.servlet.ServletException
-
-