Uses of Record Class
com.irurueta.authserver.authorization.domain.password.UserAccount
Packages that use UserAccount
Package
Description
Web adapter of the password-based sign-in: the Spring Security user details service over the use case, the
password encoder and the authentication provider, which checks the account status only after the password.
Use cases of the account lifecycle: registration, e-mail verification, password change and reset.
Use cases of the one-time-code (e-mail and SMS) authentication factor: requesting, verifying and cleaning up codes,
and the policy beans they share.
Use cases of the password-based sign-in.
Use cases of social login (identity brokering): resolving a sign-in with an external provider to an account (finding
it, linking by verified e-mail address, or provisioning it), linking, unlinking and listing the identities of an
account.
Use cases of X.509 client certificate sign-in: resolving a certificate fingerprint to an account, binding a
certificate to an account and unbinding it.
Password-based user accounts and the port that provides them.
Social login (identity brokering): the identities of external providers linked to an account, the providers
supported, how far a provider's multi-factor claim is trusted, and the port that stores the links.
PostgreSQL implementation of the user account port, over the
users, user_authorities and
user_passwords tables.-
Uses of UserAccount in com.irurueta.authserver.authorization.api.web.password
Methods in com.irurueta.authserver.authorization.api.web.password with parameters of type UserAccountModifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserDetailsUserDetailsMapper.toUserDetails(UserAccount account, String encodedPassword) Maps an account onto Spring Security's user details. -
Uses of UserAccount in com.irurueta.authserver.authorization.application.account
Methods in com.irurueta.authserver.authorization.application.account with parameters of type UserAccountModifier and TypeMethodDescriptionprivate voidRequestPasswordResetUseCase.sendReset(UserAccount account, String email, String token, String hashedToken) Stores the reset token and mails it. -
Uses of UserAccount in com.irurueta.authserver.authorization.application.ott
Methods in com.irurueta.authserver.authorization.application.ott with parameters of type UserAccountModifier and TypeMethodDescriptionResolveOttDestinationUseCase.addressOf(UserAccount account, OttChannel channel) Reads the verified address of an account for a channel.private voidVerifyOneTimeCodeUseCase.recordSecondFactorOutcome(OttVerificationResult result, UserAccount account) Counts the outcome of a second-factor verification. -
Uses of UserAccount in com.irurueta.authserver.authorization.application.password
Methods in com.irurueta.authserver.authorization.application.password that return types with arguments of type UserAccountModifier and TypeMethodDescriptionFinds the account of a user.Methods in com.irurueta.authserver.authorization.application.password with parameters of type UserAccountModifier and TypeMethodDescriptionvoidUpgradePasswordHashUseCase.replaceHash(UserAccount account, String encodedPassword) Stores a password hash that was already produced by the current algorithm, as the authentication framework does after a sign-in (it re-encodes the verified clear-text password itself). -
Uses of UserAccount in com.irurueta.authserver.authorization.application.social
Fields in com.irurueta.authserver.authorization.application.social declared as UserAccountModifier and TypeFieldDescriptionprivate final UserAccountFederatedLogin.accountThe field for theaccountrecord component.Methods in com.irurueta.authserver.authorization.application.social that return UserAccountModifier and TypeMethodDescriptionFederatedLogin.account()Returns the value of theaccountrecord component.private UserAccountResolveFederatedLoginUseCase.provision(IdentityProvider provider, String email) Creates an enabled account from the provider's verified e-mail address.Methods in com.irurueta.authserver.authorization.application.social with parameters of type UserAccountModifier and TypeMethodDescriptionprivate FederatedIdentityResolveFederatedLoginUseCase.link(UserAccount account, IdentityProvider provider, String subject, String email, Instant now) Links an identity to an account and audits it.private voidResolveFederatedLoginUseCase.requireMaySignIn(UserAccount account) Refuses an account that may not sign in, before anything is linked, updated or audited.Constructors in com.irurueta.authserver.authorization.application.social with parameters of type UserAccountModifierConstructorDescriptionFederatedLogin(UserAccount account, FederatedIdentity identity, FederatedLoginOutcome outcome) Creates an instance of aFederatedLoginrecord class. -
Uses of UserAccount in com.irurueta.authserver.authorization.application.x509
Methods in com.irurueta.authserver.authorization.application.x509 that return types with arguments of type UserAccountModifier and TypeMethodDescriptionFinds the account a certificate is bound to. -
Uses of UserAccount in com.irurueta.authserver.authorization.domain.password
Methods in com.irurueta.authserver.authorization.domain.password that return types with arguments of type UserAccountModifier and TypeMethodDescriptionUserAccountRepository.findByEmail(String email) Finds a user account by its e-mail address.Finds a user account by its identifier.UserAccountRepository.findByUsername(String username) Finds a user account by the name the user signs in with.Methods in com.irurueta.authserver.authorization.domain.password with parameters of type UserAccountModifier and TypeMethodDescriptionvoidUserAccountRepository.save(UserAccount account) Stores a new account, with its authorities. -
Uses of UserAccount in com.irurueta.authserver.authorization.domain.social
Methods in com.irurueta.authserver.authorization.domain.social with parameters of type UserAccountModifier and TypeMethodDescriptionbooleanFederatedLinkingPolicy.mayLinkByEmail(UserAccount account, String providerEmail, boolean providerVerified) Tells whether an external identity may be linked to the account that has its e-mail address.booleanFederatedLinkingPolicy.maySignIn(UserAccount account) Tells whether a sign-in with an external provider may reach an account at all: a disabled account is never linked to an identity and never signed in through one, the rule every other sign-in method applies. -
Uses of UserAccount in com.irurueta.authserver.authorization.infrastructure.persistence.password
Methods in com.irurueta.authserver.authorization.infrastructure.persistence.password that return UserAccountModifier and TypeMethodDescriptionUserAccountRow.toUserAccount(List<String> authorities) Completes the row into an account.Methods in com.irurueta.authserver.authorization.infrastructure.persistence.password that return types with arguments of type UserAccountModifier and TypeMethodDescriptionJdbcUserAccountRepository.findByEmail(String email) JdbcUserAccountRepository.findByUsername(String username) private Optional<UserAccount> Loads one account, with its authorities.Methods in com.irurueta.authserver.authorization.infrastructure.persistence.password with parameters of type UserAccountModifier and TypeMethodDescriptionvoidJdbcUserAccountRepository.save(UserAccount account) Stores a new account, with its authorities.