Class WingsBindAuthFilter
-
- All Implemented Interfaces:
-
jakarta.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 WingsBindAuthFilter extends UsernamePasswordAuthenticationFilter- Since:
2021-02-07
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringSPRING_SECURITY_FORM_USERNAME_KEYpublic final static StringSPRING_SECURITY_FORM_PASSWORD_KEYpublic StringusernameParameterpublic StringpasswordParameterprotected AuthenticationManagerauthenticationManagerpublic RememberMeServicesrememberMeServicesprotected booleanallowSessionCreationpublic Environmentenvironmentprotected ServletContextservletContextpublic FilterConfigfilterConfig
-
Constructor Summary
Constructors Constructor Description WingsBindAuthFilter()WingsBindAuthFilter(AuthenticationManager authenticationManager)
-
Method Summary
Modifier and Type Method Description voidafterPropertiesSet()AuthenticationattemptAuthentication(HttpServletRequest request, HttpServletResponse response)WingsAuthTypeSourcegetWingsBindAuthTypeSource()voidsetWingsBindAuthTypeSource(WingsAuthTypeSource wingsAuthTypeSource)-
Methods inherited from class org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter
getPasswordParameter, getUsernameParameter, setPasswordParameter, setPostOnly, setUsernameParameter -
Methods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
doFilter, getRememberMeServices, setAllowSessionCreation, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureHandler, setAuthenticationManager, setAuthenticationSuccessHandler, setContinueChainBeforeSuccessfulAuthentication, setFilterProcessesUrl, setMessageSource, setRememberMeServices, setRequiresAuthenticationRequestMatcher, setSecurityContextHolderStrategy, setSecurityContextRepository, setSessionAuthenticationStrategy -
Methods inherited from class org.springframework.web.filter.GenericFilterBean
destroy, getEnvironment, getFilterConfig, init, setBeanName, setEnvironment, setServletContext -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
afterPropertiesSet
void afterPropertiesSet()
-
attemptAuthentication
Authentication attemptAuthentication(HttpServletRequest request, HttpServletResponse response)
-
getWingsBindAuthTypeSource
WingsAuthTypeSource getWingsBindAuthTypeSource()
-
setWingsBindAuthTypeSource
void setWingsBindAuthTypeSource(WingsAuthTypeSource wingsAuthTypeSource)
-
-
-
-