Class PhoneLoginConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>
- java.lang.Object
-
- org.springframework.security.config.annotation.SecurityConfigurerAdapter<org.springframework.security.web.DefaultSecurityFilterChain,B>
-
- org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer<T,B>
-
- org.springframework.security.config.annotation.web.configurers.AbstractAuthenticationFilterConfigurer<H,PhoneLoginConfigurer<H>,PhoneAuthenticationFilter>
-
- org.oxerr.spring.security.phone.config.annotation.web.configurers.PhoneLoginConfigurer<H>
-
- All Implemented Interfaces:
org.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.web.DefaultSecurityFilterChain,H>
public final class PhoneLoginConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>> extends org.springframework.security.config.annotation.web.configurers.AbstractAuthenticationFilterConfigurer<H,PhoneLoginConfigurer<H>,PhoneAuthenticationFilter>
-
-
Constructor Summary
Constructors Constructor Description PhoneLoginConfigurer(PhoneUserDetailsService phoneUserDetailsService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PhoneLoginConfigurer<H>
codeParameter(String codeParameter)
void
configure(H http)
protected org.springframework.security.web.util.matcher.RequestMatcher
createLoginProcessingUrlMatcher(String loginProcessingUrl)
void
init(H http)
PhoneLoginConfigurer<H>
loginPage(String loginPage)
PhoneLoginConfigurer<H>
numberParameter(String numberParameter)
-
Methods inherited from class org.springframework.security.config.annotation.web.configurers.AbstractAuthenticationFilterConfigurer
authenticationDetailsSource, defaultSuccessUrl, defaultSuccessUrl, failureHandler, failureUrl, getAuthenticationEntryPoint, getAuthenticationEntryPointMatcher, getAuthenticationFilter, getFailureUrl, getLoginPage, getLoginProcessingUrl, isCustomLoginPage, loginProcessingUrl, permitAll, permitAll, registerAuthenticationEntryPoint, registerDefaultAuthenticationEntryPoint, securityContextRepository, setAuthenticationFilter, successHandler, updateAccessDefaults, updateAuthenticationDefaults
-
Methods inherited from class org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer
disable, withObjectPostProcessor
-
-
-
-
Constructor Detail
-
PhoneLoginConfigurer
public PhoneLoginConfigurer(PhoneUserDetailsService phoneUserDetailsService)
-
-
Method Detail
-
configure
public void configure(H http) throws Exception
- Specified by:
configure
in interfaceorg.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.web.DefaultSecurityFilterChain,H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>
- Overrides:
configure
in classorg.springframework.security.config.annotation.web.configurers.AbstractAuthenticationFilterConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>,PhoneLoginConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>,PhoneAuthenticationFilter>
- Throws:
Exception
-
loginPage
public PhoneLoginConfigurer<H> loginPage(String loginPage)
- Overrides:
loginPage
in classorg.springframework.security.config.annotation.web.configurers.AbstractAuthenticationFilterConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>,PhoneLoginConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>,PhoneAuthenticationFilter>
-
init
public void init(H http) throws Exception
- Specified by:
init
in interfaceorg.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.web.DefaultSecurityFilterChain,H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>
- Overrides:
init
in classorg.springframework.security.config.annotation.web.configurers.AbstractAuthenticationFilterConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>,PhoneLoginConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>,PhoneAuthenticationFilter>
- Throws:
Exception
-
createLoginProcessingUrlMatcher
protected org.springframework.security.web.util.matcher.RequestMatcher createLoginProcessingUrlMatcher(String loginProcessingUrl)
- Specified by:
createLoginProcessingUrlMatcher
in classorg.springframework.security.config.annotation.web.configurers.AbstractAuthenticationFilterConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>,PhoneLoginConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>,PhoneAuthenticationFilter>
-
numberParameter
public PhoneLoginConfigurer<H> numberParameter(String numberParameter)
-
codeParameter
public PhoneLoginConfigurer<H> codeParameter(String codeParameter)
-
-