primaryFactorSession
Declares the rules about the session a second factor is presented in.
- Parameters:
factorRegistry- tells the strength of each factor authority.- Returns:
- the rules.
Filter bean in the servlet container, outside the
security chain. The providers are held in OttProviders, not declared as AuthenticationProvider
beans, for the reason given there. The bean is named apart from the application layer's configuration of the same
name.ottChainCustomizer(OttRateLimiter rateLimiter,
OttGenerateRequestResolver requestResolver,
OttGenerationSuccessHandler successHandler,
org.springframework.security.authentication.ott.OneTimeTokenService tokenService,
OttProviders providers,
PrimaryFactorSession primaryFactorSession) ottGenerateRequestResolver(OttPolicy ottPolicy) POST /ott/generate.ottGenerationSuccessHandler(RequestOneTimeCodeUseCase requestOneTimeCodeUseCase,
RequestMagicLinkUseCase requestMagicLinkUseCase,
org.springframework.security.authentication.ott.OneTimeTokenService tokenService,
OttLinkFactory linkFactory,
OttSecondFactorChannels secondFactorChannels) ottProviders(org.springframework.security.authentication.ott.OneTimeTokenService tokenService,
org.springframework.security.core.userdetails.UserDetailsService userDetailsService,
VerifyOneTimeCodeUseCase verifyOneTimeCodeUseCase,
FactorGrantor factorGrantor,
PrimaryFactorSession primaryFactorSession,
OttSecondFactorChannels secondFactorChannels) phonePageChainCustomizer(MfaAuthorizationManager authorizationManager) primaryFactorSession(AuthenticationFactorRegistry factorRegistry) factorRegistry - tells the strength of each factor authority.POST /ott/generate.ottPolicy - the rules of one-time tokens, which set the lifetime of each kind.requestOneTimeCodeUseCase - starts a numeric code.requestMagicLinkUseCase - requests the delivery of a magic link.tokenService - store of the magic link tokens.linkFactory - builds the magic link.secondFactorChannels - decides which channels may be the second factor of the signed-in user.tokenService - store of the magic link tokens.userDetailsService - loads the accounts.verifyOneTimeCodeUseCase - verifies a numeric code.factorGrantor - adds the factor authority to an authentication.primaryFactorSession - rules about the session a second factor is presented in.secondFactorChannels - decides which channels may be the second factor of the signed-in user.rateLimiter - limits the token requests and submissions.requestResolver - resolves the token Spring's filter generates.successHandler - delivers the generated token.tokenService - store of the magic link tokens.providers - the authentication providers.primaryFactorSession - rules about the session a second factor is presented in.authorizationManager - applies the multi-factor policy.