Uses of Interface
com.irurueta.authserver.authorization.api.web.login.LoginChainCustomizer
Packages that use LoginChainCustomizer
Package
Description
Web adapter of the authorization server: security filter chains, login page and OpenAPI description.
OAuth 2.0 Device Authorization Grant (RFC 8628) for input-constrained clients, such as a command line tool: the
protocol customizer that wires the device authorization and verification endpoints, the guard that applies the
multi-factor policy and the limit on the attempts to the verification endpoint, and the verification page.
Login page, its controller and the extension points other authentication methods plug into.
Multi-factor authentication orchestration.
One-time token authentication: e-mail and SMS codes and magic links as a primary sign-in method and as a second
factor, the per-channel factors, the rate limits, the providers and filters, and the phone management API and
account page.
Passkeys (WebAuthn): the factor, the chain wiring, the login and second-factor fragments, the account API and
the account page.
Social login (identity brokering) through external identity providers: Google, Microsoft Entra ID, Apple and GitHub.
Time-based one-time password (TOTP) second factor.
X.509 client certificate authentication: a certificate presented on a dedicated TLS port, or forwarded by a trusted
reverse proxy in a header, signs in the user it is bound to (by the SHA-256 fingerprint of the certificate) at
POST /login/x509, the form of the login page, with the CSRF token.-
Uses of LoginChainCustomizer in com.irurueta.authserver.authorization.api.web
Method parameters in com.irurueta.authserver.authorization.api.web with type arguments of type LoginChainCustomizerModifier and TypeMethodDescriptionorg.springframework.security.web.SecurityFilterChainSecurityConfig.loginSecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http, org.springframework.beans.factory.ObjectProvider<LoginChainCustomizer> customizers) Creates the chain of the login page and the rest of the user interface. -
Uses of LoginChainCustomizer in com.irurueta.authserver.authorization.api.web.implicit
Methods in com.irurueta.authserver.authorization.api.web.implicit that return LoginChainCustomizerModifier and TypeMethodDescriptionLegacyImplicitConfiguration.legacyImplicitLoginChainCustomizer()Declares the customizer of the login chain that opens the demo page and its script, which are static files that a browser fetches before anybody has signed in. -
Uses of LoginChainCustomizer in com.irurueta.authserver.authorization.api.web.login
Classes in com.irurueta.authserver.authorization.api.web.login that implement LoginChainCustomizerModifier and TypeClassDescriptionclassAdds the security headers of the server-rendered pages: the content security policy thatLoginContentSecurityPolicybuilds (same-origin resources only, no framing, and the origin of an absolute branding logo URL for images),X-Content-Type-OptionsandReferrer-Policy.classPermits the stylesheet shared by the server-rendered pages, which must load before anybody has signed in. -
Uses of LoginChainCustomizer in com.irurueta.authserver.authorization.api.web.logout
Classes in com.irurueta.authserver.authorization.api.web.logout that implement LoginChainCustomizerModifier and TypeClassDescriptionclassConfigures how a user signs out of the login/UI chain: a POST to "/logout" (protected by CSRF, so a third-party page cannot sign the user out) invalidates the session, deletes its cookie and returns to the login page. -
Uses of LoginChainCustomizer in com.irurueta.authserver.authorization.api.web.mfa
Classes in com.irurueta.authserver.authorization.api.web.mfa that implement LoginChainCustomizerModifier and TypeClassDescriptionclassApplies the multi-factor policy to the login/UI chain: the consent page needs the factors the policy asks for, and a user who lacks a registered second factor is sent to the second-factor page instead of getting a 403.Methods in com.irurueta.authserver.authorization.api.web.mfa that return LoginChainCustomizerModifier and TypeMethodDescriptionMfaConfiguration.mfaLoginChainCustomizer(MfaAuthorizationManager authorizationManager, AuthenticationFactorRegistry factorRegistry, SecondFactorRequiredEntryPoint secondFactorEntryPoint) Applies the policy to the login/UI chain. -
Uses of LoginChainCustomizer in com.irurueta.authserver.authorization.api.web.ott
Classes in com.irurueta.authserver.authorization.api.web.ott that implement LoginChainCustomizerModifier and TypeClassDescriptionclassAdds the one-time token methods to the login/UI chain throughhttp.oneTimeTokenLogin(...): the request of a token (POST /ott/generate), the submission of a magic link token or a numeric code (POST /login/ott) and, as a second factor, the submission of a code (POST /login/second-factor/ott).classKeeps the phone page and its form posts behind the multi-factor policy, as the passkeys page is: a session that only presented the password of an account that still has to complete its second factor is sent to the second-factor page instead of being able to change the phone that receives the codes.Methods in com.irurueta.authserver.authorization.api.web.ott that return LoginChainCustomizerModifier and TypeMethodDescriptionDevSmsInboxConfiguration.devSmsInboxChainCustomizer()Permits the inbox page.OttConfiguration.ottChainCustomizer(OttRateLimiter rateLimiter, OttGenerateRequestResolver requestResolver, OttGenerationSuccessHandler successHandler, org.springframework.security.authentication.ott.OneTimeTokenService tokenService, OttProviders providers, PrimaryFactorSession primaryFactorSession) Installs the one-time token methods in the login/UI chain.OttConfiguration.phonePageChainCustomizer(MfaAuthorizationManager authorizationManager) Keeps the phone page and its form posts behind the multi-factor policy. -
Uses of LoginChainCustomizer in com.irurueta.authserver.authorization.api.web.passkeys
Classes in com.irurueta.authserver.authorization.api.web.passkeys that implement LoginChainCustomizerModifier and TypeClassDescriptionclassCustomizes the login/UI chain with the passkeys (WebAuthn).Methods in com.irurueta.authserver.authorization.api.web.passkeys that return LoginChainCustomizerModifier and TypeMethodDescriptionPasskeyConfiguration.passkeyChainCustomizer(PasskeyProperties properties, MfaAuthorizationManager authorizationManager, org.springframework.security.core.userdetails.UserDetailsService userDetailsService, SecondFactorUserResolver userResolver, CheckSecondFactorLockoutUseCase lockoutUseCase) Declares the customizer that enableshttp.webAuthn(...), permits its public endpoints, keeps the registration endpoints behind the multi-factor policy and removes the ones that would bypass the step-up. -
Uses of LoginChainCustomizer in com.irurueta.authserver.authorization.api.web.social
Classes in com.irurueta.authserver.authorization.api.web.social that implement LoginChainCustomizerModifier and TypeClassDescriptionclassKeeps the identities page and its link post behind the multi-factor policy, as the passkeys and phone pages are: a session that only presented the password of an account that still has to complete its second factor is sent to the second-factor page instead of being able to add a way to sign in to the account.classCustomizes the login/UI chain with the sign-in with external providers:http.oauth2Login(...)with the client registrations of the configured providers, the user services that resolve the local account, the success handler that grants the federated factor and, for Apple, the signed client secret and the form post callback.Methods in com.irurueta.authserver.authorization.api.web.social that return LoginChainCustomizerModifier and TypeMethodDescriptionIdentitiesPageConfiguration.identitiesPageChainCustomizer(MfaAuthorizationManager authorizationManager) Declares the customizer that keeps the identities page behind the multi-factor policy.SocialConfiguration.socialChainCustomizer(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository repository, FederatedOidcUserService oidcService, FederatedOAuth2UserService oauth2Service, FactorGrantor grantor, FederatedFactorSelector selector, org.springframework.beans.factory.ObjectProvider<AppleClientSecretGenerator> apple, PendingIdentityLinks pendingIdentityLinks) Declares the customizer that enableshttp.oauth2Login(...). -
Uses of LoginChainCustomizer in com.irurueta.authserver.authorization.api.web.totp
Classes in com.irurueta.authserver.authorization.api.web.totp that implement LoginChainCustomizerModifier and TypeClassDescriptionclassAdds the TOTP second factor to the login/UI chain: the second-factor page and the post of its forms are open to a user who has signed in with a password (and only to such a user), and the filters that verify the code and recognise a trusted device are installed before the authorization check.Methods in com.irurueta.authserver.authorization.api.web.totp that return LoginChainCustomizerModifier and TypeMethodDescriptionTotpConfiguration.totpChainCustomizer(TotpCodeVerifier totpCodeVerifier, CreateTrustedDeviceUseCase createTrustedDeviceUseCase, FindTrustedDeviceUseCase findTrustedDeviceUseCase, SecondFactorUserResolver userResolver, FactorGrantor factorGrantor, TrustedDeviceCookieWriter cookieWriter, PendingRecoveryCodes pendingRecoveryCodes) Installs the TOTP second factor in the login/UI chain. -
Uses of LoginChainCustomizer in com.irurueta.authserver.authorization.api.web.x509
Classes in com.irurueta.authserver.authorization.api.web.x509 that implement LoginChainCustomizerModifier and TypeClassDescriptionclassAdds the sign-in with a client certificate to the login/UI chain throughhttp.x509(...).Methods in com.irurueta.authserver.authorization.api.web.x509 that return LoginChainCustomizerModifier and TypeMethodDescriptionX509Configuration.x509ChainCustomizer(CertificatePrincipalExtractor extractor, X509UserDetailsService userDetailsService, FactorGrantor grantor, X509Properties properties) Declares the customizer that enableshttp.x509(...).