Index

A B C D E F G H I J L M O P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values

A

accountTokenRowMapper - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.account.JdbcAccountTokenRepository
Maps a row to a token.
AccountTokenRowMapper - Class in com.irurueta.authserver.authorization.infrastructure.persistence.account
Maps a row of the account_tokens table to an AccountToken.
AccountTokenRowMapper() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.account.AccountTokenRowMapper
 
ADVANCE_LAST_USED_STEP - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcTotpCredentialRepository
Statement that records a step only when it is newer than the stored one, atomically.
advanceLastUsedStep(UUID, long) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcTotpCredentialRepository
 
apiAudience - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Audience of the authorization server's own API (authserver.api.audience).
AUDIENCES_SETTING - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.RegisteredClientMapper
Name of the custom client setting that holds the audiences of the access tokens issued to the client.
audiencesOf(ClientSettings) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.RegisteredClientMapper
Reads the audiences custom setting.
AUTH_METHOD_NONE - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.RegisteredClientMapper
Authentication method that marks a public client.
authorizationConsentService(JdbcTemplate, RegisteredClientRepository) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.JdbcAuthorizationServerConfiguration
Creates the service that stores the consents granted by users.
AuthorizationJacksonModuleContributor - Interface in com.irurueta.authserver.authorization.infrastructure.persistence.clients
Extension point that adds a Jackson module to the mapper of the stored authorizations (AuthorizationJsonMapperFactory), for a feature whose authentication or attribute types the framework's security modules do not cover (for example the passkeys, whose module Spring Security leaves out of SecurityJacksonModules).
AuthorizationJsonMapperFactory - Class in com.irurueta.authserver.authorization.infrastructure.persistence.clients
Creates the JSON mapper that serializes the attributes and token claims stored with each authorization.
AuthorizationJsonMapperFactory() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.clients.AuthorizationJsonMapperFactory
 
authorizationService(JdbcTemplate, RegisteredClientRepository, AuthorizationJsonMapperFactory) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.JdbcAuthorizationServerConfiguration
Creates the service that stores OAuth 2 authorizations, decorated to detect the reuse of rotated refresh tokens.

B

bffPostLogoutRedirectUris - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Post-logout redirect URIs of the BFF client (authserver.clients.bff.post-logout-redirect-uris); empty when not configured.
bffRedirectUris - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Redirect URIs of the BFF client (authserver.clients.bff.redirect-uris, which the dev profile sets to the local BFF); empty when not configured.

C

certificateBindingRowMapper - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.x509.JdbcCertificateBindingRepository
Maps a row to a binding.
CertificateBindingRowMapper - Class in com.irurueta.authserver.authorization.infrastructure.persistence.x509
Maps a row of x509_certificates to a CertificateBinding.
CertificateBindingRowMapper() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.x509.CertificateBindingRowMapper
 
CLEAR_EXPIRED - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcPhoneVerificationRepository
Statement clearing every expired pending verification.
CLEAR_PENDING - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcPhoneVerificationRepository
Statement clearing the pending columns of a user.
CLEAR_VERIFIED - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcUserPhoneRepository
Statement clearing the verified columns of a user.
CLIENT_ROW_ID - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.JdbcClientRegistrationRepository
Sub-query selecting the internal id of a client by its client id.
clientRegistrationRepository - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.keys.RegisteredClientTokenLifetimes
Port that stores the registered clients.
clients - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Repository where the BFF client is stored.
COLUMNS - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcTrustedDeviceRepository
Columns selected for every query.
COLUMNS - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.JdbcPasskeyRepository
Columns of a credential, in the order the row mapper does not depend on.
COLUMNS - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcFederatedIdentityRepository
Columns selected for every query.
COLUMNS - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.x509.JdbcCertificateBindingRepository
Columns selected for every query.
com.irurueta.authserver.authorization.infrastructure.persistence - package com.irurueta.authserver.authorization.infrastructure.persistence
 
com.irurueta.authserver.authorization.infrastructure.persistence.account - package com.irurueta.authserver.authorization.infrastructure.persistence.account
PostgreSQL implementation of the account token port, over the account_tokens table.
com.irurueta.authserver.authorization.infrastructure.persistence.clientauth - package com.irurueta.authserver.authorization.infrastructure.persistence.clientauth
PostgreSQL implementation of the client assertion replay registry, over the client_assertion_jtis table.
com.irurueta.authserver.authorization.infrastructure.persistence.clients - package com.irurueta.authserver.authorization.infrastructure.persistence.clients
JDBC-backed registered clients, authorizations and consents of the authorization server.
com.irurueta.authserver.authorization.infrastructure.persistence.dev - package com.irurueta.authserver.authorization.infrastructure.persistence.dev
Development-only data: the dev profile seeds a demo user and the BFF client.
com.irurueta.authserver.authorization.infrastructure.persistence.keys - package com.irurueta.authserver.authorization.infrastructure.persistence.keys
PostgreSQL implementation of the signing key port, over the signing_keys table.
com.irurueta.authserver.authorization.infrastructure.persistence.mfa - package com.irurueta.authserver.authorization.infrastructure.persistence.mfa
PostgreSQL implementations of the multi-factor ports: security events, second-factor attempts and the per-user enforcement flag, over the security_events, second_factor_attempts and users tables.
com.irurueta.authserver.authorization.infrastructure.persistence.ott - package com.irurueta.authserver.authorization.infrastructure.persistence.ott
PostgreSQL implementations of the one-time token ports: the codes of the email and SMS one-time code login (over the ott_codes table) and the Spring Security one-time token service of the magic links (over the one_time_tokens table).
com.irurueta.authserver.authorization.infrastructure.persistence.passkeys - package com.irurueta.authserver.authorization.infrastructure.persistence.passkeys
PostgreSQL implementation of the passkey port over the user_credentials and user_entities tables of Spring Security's official WebAuthn schema, plus the beans of Spring's own JDBC credential and user entity repositories that the WebAuthn filters use.
com.irurueta.authserver.authorization.infrastructure.persistence.password - package com.irurueta.authserver.authorization.infrastructure.persistence.password
PostgreSQL implementation of the user account port, over the users, user_authorities and user_passwords tables.
com.irurueta.authserver.authorization.infrastructure.persistence.sms - package com.irurueta.authserver.authorization.infrastructure.persistence.sms
PostgreSQL implementations of the SMS ports: the verified phone numbers and the phone verifications in progress (both over the user_phones table) and the SMS cost ledger (over the sms_cost_ledger table).
com.irurueta.authserver.authorization.infrastructure.persistence.social - package com.irurueta.authserver.authorization.infrastructure.persistence.social
JDBC adapters of social login: the identities of external providers linked to accounts, the mark of the accounts that only hold a generated password, and the Jackson module of the federated principals.
com.irurueta.authserver.authorization.infrastructure.persistence.tokens - package com.irurueta.authserver.authorization.infrastructure.persistence.tokens
PostgreSQL support for OAuth 2 authorizations: clean-up of user authorizations and refresh token reuse detection.
com.irurueta.authserver.authorization.infrastructure.persistence.totp - package com.irurueta.authserver.authorization.infrastructure.persistence.totp
PostgreSQL implementations of the TOTP credential and recovery code ports, over the totp_credentials and recovery_codes tables.
com.irurueta.authserver.authorization.infrastructure.persistence.x509 - package com.irurueta.authserver.authorization.infrastructure.persistence.x509
JDBC adapter of X.509 client certificate sign-in: the certificates bound to accounts.
confirm(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcTotpCredentialRepository
 
CONFIRM - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcTotpCredentialRepository
Statement confirming the credential of a user.
consume(String, String, Instant) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.account.JdbcAccountTokenRepository
 
consume(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcOneTimeCodeRepository
 
CONSUME - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcOneTimeCodeRepository
Statement spending a code.
CONSUME_TOKEN - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.account.JdbcAccountTokenRepository
Statement that marks a token as used and returns it, only when it is unused and not expired.
contributors - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.AuthorizationJsonMapperFactory
Contributors of the modules the framework's security modules do not include.
countByUser(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcFederatedIdentityRepository
 
create() - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.AuthorizationJsonMapperFactory
Creates the mapper.
createBffClient() - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Creates the BFF client from its default definition and the configured redirect URIs, with a generated secret, unless it already exists or no redirect URI is configured.
createDemoUser() - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Creates the demo user, with a generated password, unless it already exists.
createDeviceClient() - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Creates the public device client, which has no secret and needs no redirect URI, unless it already exists.

D

delegate - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.ReuseDetectingAuthorizationService
Service that stores the authorizations.
delete(String, String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.JdbcPasskeyRepository
 
delete(UUID, UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcFederatedIdentityRepository
 
delete(UUID, UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.x509.JdbcCertificateBindingRepository
 
DELETE - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.JdbcPasskeyRepository
Statement deleting a credential of a user.
DELETE_ABANDONED - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.JdbcUserAuthorizationRepository
Statement deleting the abandoned authorizations: no token was ever issued for them, so every expiry column is null, and they were created before the given instant.
DELETE_AUTHORIZATIONS - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.JdbcClientRegistrationRepository
Statement deleting the authorizations of a client.
DELETE_BY_BINDING - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcOneTimeCodeRepository
Statement deleting the codes of a binding and a user name.
DELETE_BY_USER - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcRecoveryCodeRepository
Statement deleting every code of a user.
DELETE_BY_USER - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcTotpCredentialRepository
Statement deleting the credential of a user.
DELETE_CONSENTS - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.JdbcClientRegistrationRepository
Statement deleting the consents granted to a client.
DELETE_EMPTY_ROWS - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcPhoneVerificationRepository
Statement deleting the rows that hold nothing at all.
DELETE_EXPIRED - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.clientauth.JdbcClientAssertionReplayRegistry
Statement deleting the expired identifiers.
DELETE_EXPIRED - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcExpiredLinkTokenPurger
Statement deleting the expired link tokens.
DELETE_EXPIRED - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcOneTimeCodeRepository
Statement deleting the expired codes.
DELETE_EXPIRED - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.JdbcUserAuthorizationRepository
Statement deleting the authorizations whose every token has expired.
DELETE_IF_EMPTY - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcPhoneVerificationRepository
Statement deleting the row of a user that holds neither a verified phone nor a pending verification.
DELETE_IF_EMPTY - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcUserPhoneRepository
Statement deleting the row of a user that holds neither a verified phone nor a pending verification.
DELETE_OLDER_THAN - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcSmsCostLedgerRepository
Statement deleting the rows older than an instant.
deleteAbandoned(Instant) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.JdbcUserAuthorizationRepository
 
deleteByClientId(String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.JdbcClientRegistrationRepository
deleteByKid(String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.keys.JdbcSigningKeyRepository
 
deleteByPrincipalName(String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.JdbcUserAuthorizationRepository
 
deleteByUser(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcTrustedDeviceRepository
 
deleteByUser(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcRecoveryCodeRepository
 
deleteByUser(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcTotpCredentialRepository
 
deleteByUserId(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcPhoneVerificationRepository
 
deleteByUserId(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcUserPhoneRepository
 
deleteExpired(Instant) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.account.JdbcAccountTokenRepository
 
deleteExpired(Instant) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcTrustedDeviceRepository
 
deleteExpired(Instant) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcExpiredLinkTokenPurger
 
deleteExpired(Instant) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcOneTimeCodeRepository
 
deleteExpired(Instant) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcPhoneVerificationRepository
 
deleteExpired(Instant) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.JdbcUserAuthorizationRepository
 
deleteOlderThan(Instant) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcSmsCostLedgerRepository
 
DEMO_USERNAME - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Username of the demo user.
DevDataInitializer - Class in com.irurueta.authserver.authorization.infrastructure.persistence.dev
Seeds a demo user, a confidential BFF client and a public device-flow client when the dev profile is active, so a freshly started authorization server has someone to sign in, a client to sign in through and a client for the OAuth 2.0 Device Authorization Grant (device-client, which the polling command line tool of the service-client uses).
DevDataInitializer() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
 
DEVICE_ACCESS_TOKEN_TTL - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Lifetime of the access tokens of the device client.
DEVICE_CLIENT_ID - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Client id of the public client of the device authorization grant.
DEVICE_CODE_GRANT - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Grant type of the device authorization grant.
DEVICE_REFRESH_TOKEN_TTL - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Lifetime of the refresh tokens of the device client.
DEVICE_SCOPES - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Scopes of the device client.

E

email - Variable in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
The field for the email record component.
email() - Method in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
Returns the value of the email record component.
emailVerified - Variable in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
The field for the emailVerified record component.
emailVerified() - Method in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
Returns the value of the emailVerified record component.
enabled - Variable in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
The field for the enabled record component.
enabled() - Method in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
Returns the value of the enabled record component.
encoder - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Encoder of generated secrets.
ENSURE_ATTEMPTS - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecondFactorAttemptRepository
Statement that creates the clean state of a user unless one exists, so there is always a row to lock.
equals(Object) - Method in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
Indicates whether some other object is "equal to" this one.
EXISTS_FOR_ACCOUNT - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.JdbcPasskeyRepository
Query telling whether an account has at least one credential.
existsByUsername(String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
 
existsForAccount(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.JdbcPasskeyRepository
 

F

federatedIdentityRowMapper - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcFederatedIdentityRepository
Maps a row to an identity.
FederatedIdentityRowMapper - Class in com.irurueta.authserver.authorization.infrastructure.persistence.social
Maps a row of federated_identities to a FederatedIdentity.
FederatedIdentityRowMapper() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.social.FederatedIdentityRowMapper
 
FederatedJacksonModuleContributor - Class in com.irurueta.authserver.authorization.infrastructure.persistence.social
Adds the module of the OAuth 2.0 client to the mapper of the stored authorizations.
FederatedJacksonModuleContributor() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.social.FederatedJacksonModuleContributor
 
find(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecondFactorAttemptRepository
 
FIND_ACTIVE - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcOneTimeCodeRepository
Query returning the newest unexpired code of a binding and a user name.
FIND_ALL - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.keys.JdbcSigningKeyRepository
Query returning every key, oldest first.
FIND_ATTEMPTS - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecondFactorAttemptRepository
Query returning the state of a user.
FIND_AUTHORITIES - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
Query returning the authorities of a user by user id.
FIND_BY_FINGERPRINT - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.x509.JdbcCertificateBindingRepository
Query returning the binding of a certificate.
FIND_BY_ID_AND_USER - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcFederatedIdentityRepository
Query returning one link of an account.
FIND_BY_ID_AND_USER_ID - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.JdbcPasskeyRepository
Query returning one credential of a user.
FIND_BY_PHONE - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcUserPhoneRepository
Query returning the verified phone with a number.
FIND_BY_SUBJECT - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcFederatedIdentityRepository
Query returning the link of a provider's subject.
FIND_BY_USER - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcTrustedDeviceRepository
Query returning the unexpired devices of a user, newest first.
FIND_BY_USER - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcPhoneVerificationRepository
Query returning the pending verification of a user.
FIND_BY_USER - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcUserPhoneRepository
Query returning the verified phone of a user.
FIND_BY_USER - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcFederatedIdentityRepository
Query returning the links of an account, oldest first.
FIND_BY_USER - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcTotpCredentialRepository
Query returning the credential of a user.
FIND_BY_USER - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.x509.JdbcCertificateBindingRepository
Query returning the bindings of an account, oldest first.
FIND_BY_USER_ID - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.JdbcPasskeyRepository
Query returning the credentials of a user.
FIND_CONSUMED - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.ReuseDetectingAuthorizationService
Query returning the authorization a rotated-out token belonged to.
FIND_RECENT_BY_USER - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecurityEventRepository
Query returning the latest events of a user, newest first.
FIND_UNUSED - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcRecoveryCodeRepository
Query returning the codes of a user that have not been spent.
FIND_USABLE - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcTrustedDeviceRepository
Query returning an unexpired device of a user by the hash of its token.
FIND_USABLE_TOKEN - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.account.JdbcAccountTokenRepository
Query returning a token only when it is unused and not expired, without changing it.
FIND_USER - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
Query returning the user and its encoded password by username.
FIND_USER_BY_EMAIL - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
Query returning the user and its encoded password by e-mail address, ignoring case.
FIND_USER_BY_ID - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
Query returning the user and its encoded password by id.
FIND_USER_ID_BY_USERNAME - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.JdbcPasskeyRepository
Query returning the user handle of an account.
findActive(String, String, Instant) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcOneTimeCodeRepository
 
findAll() - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.JdbcClientRegistrationRepository
 
findAll() - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.keys.JdbcSigningKeyRepository
 
findByClientId(String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.JdbcClientRegistrationRepository
 
findByEmail(String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
 
findByFingerprintSha256(String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.x509.JdbcCertificateBindingRepository
 
findById(String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.ReuseDetectingAuthorizationService
 
findById(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
 
findByIdAndUser(UUID, UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcFederatedIdentityRepository
 
findByIdAndUserId(String, String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.JdbcPasskeyRepository
 
findByPhone(PhoneNumber) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcUserPhoneRepository
 
findByProviderAndSubject(IdentityProvider, String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcFederatedIdentityRepository
 
findByToken(String, OAuth2TokenType) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.ReuseDetectingAuthorizationService
 
findByUser(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcFederatedIdentityRepository
 
findByUser(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcTotpCredentialRepository
 
findByUser(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.x509.JdbcCertificateBindingRepository
 
findByUser(UUID, Instant) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcTrustedDeviceRepository
 
findByUserId(String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.JdbcPasskeyRepository
 
findByUserId(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcPhoneVerificationRepository
 
findByUserId(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcUserPhoneRepository
 
findByUsername(String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
 
findOne(String, Object) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
Loads one account, with its authorities.
findRecentByUser(UUID, int) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecurityEventRepository
 
findUnused(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcRecoveryCodeRepository
 
findUsable(String, String, Instant) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.account.JdbcAccountTokenRepository
 
findUsable(UUID, String, Instant) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcTrustedDeviceRepository
 
findUserIdByUsername(String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.JdbcPasskeyRepository
 

G

generateSecret() - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Generates a random URL-safe secret.

H

hash(String) - Static method in class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.ReuseDetectingAuthorizationService
Hashes a token value, so that the stored values cannot be used as tokens.
HASH_ALGORITHM - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.ReuseDetectingAuthorizationService
Algorithm that hashes the stored tokens.
hashCode() - Method in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
Returns a hash code value for this object.

I

id - Variable in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
The field for the id record component.
id() - Method in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
Returns the value of the id record component.
ID_TOKEN_TTL - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.keys.RegisteredClientTokenLifetimes
Lifetime of an ID token.
INCREMENT_ATTEMPTS - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcOneTimeCodeRepository
Statement counting a failed attempt atomically and returning the new count.
INCREMENT_ATTEMPTS - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcPhoneVerificationRepository
Statement counting a failed attempt atomically and returning the new count.
incrementAttempts(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcOneTimeCodeRepository
 
incrementAttempts(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcPhoneVerificationRepository
 
INSERT - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.clientauth.JdbcClientAssertionReplayRegistry
Statement recording a first use; a replay inserts nothing.
INSERT - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcOneTimeCodeRepository
Statement storing a code.
INSERT - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcRecoveryCodeRepository
Statement storing a code.
INSERT - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.x509.JdbcCertificateBindingRepository
Statement storing a binding.
INSERT_CONSUMED - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.ReuseDetectingAuthorizationService
Statement recording a rotated-out token.
INSERT_DEVICE - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcTrustedDeviceRepository
Statement storing a device.
INSERT_EVENT - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecurityEventRepository
Statement storing an event; the database generates its identifier.
INSERT_TOKEN - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.account.JdbcAccountTokenRepository
Statement storing a token.
INSERT_WITHIN_CAPS - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcSmsCostLedgerRepository
Statement inserting a row only when the spend of each window, the new row included, stays within its cap.
isGenerated(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcGeneratedPasswordRepository
 
isRequired(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcUserMfaSettingsRepository
 

J

jdbc - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
JDBC client used to insert the demo user.
JdbcAccountTokenRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.account
AccountTokenRepository over the account_tokens table.
JdbcAccountTokenRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.account.JdbcAccountTokenRepository
 
JdbcAuthorizationServerConfiguration - Class in com.irurueta.authserver.authorization.infrastructure.persistence.clients
Registers the JDBC implementations of the Spring Authorization Server persistence services.
JdbcAuthorizationServerConfiguration() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.clients.JdbcAuthorizationServerConfiguration
 
JdbcCertificateBindingRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.x509
CertificateBindingRepository over the x509_certificates table.
JdbcCertificateBindingRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.x509.JdbcCertificateBindingRepository
 
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.account.JdbcAccountTokenRepository
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.clientauth.JdbcClientAssertionReplayRegistry
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.JdbcClientRegistrationRepository
JDBC client used for the operations the registered client repository lacks.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.keys.JdbcSigningKeyRepository
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecondFactorAttemptRepository
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecurityEventRepository
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcTrustedDeviceRepository
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcUserMfaSettingsRepository
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcExpiredLinkTokenPurger
JDBC client used to run the statement.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcOneTimeCodeRepository
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.JdbcPasskeyRepository
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
JDBC client used to run the queries.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcPhoneVerificationRepository
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcSmsCostLedgerRepository
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcUserPhoneRepository
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcFederatedIdentityRepository
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcGeneratedPasswordRepository
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcSignInMethodsLock
JDBC client used to run the statement.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.JdbcUserAuthorizationRepository
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.ReuseDetectingAuthorizationService
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcRecoveryCodeRepository
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcTotpCredentialRepository
JDBC client used to run the statements.
jdbcClient - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.x509.JdbcCertificateBindingRepository
JDBC client used to run the statements.
JdbcClientAssertionReplayRegistry - Class in com.irurueta.authserver.authorization.infrastructure.persistence.clientauth
ClientAssertionReplayRegistry over the client_assertion_jtis table.
JdbcClientAssertionReplayRegistry() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.clientauth.JdbcClientAssertionReplayRegistry
 
JdbcClientRegistrationRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.clients
ClientRegistrationRepository over Spring Authorization Server's RegisteredClientRepository (the JDBC one), which reads and writes the oauth2_registered_client table.
JdbcClientRegistrationRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.clients.JdbcClientRegistrationRepository
 
JdbcExpiredLinkTokenPurger - Class in com.irurueta.authserver.authorization.infrastructure.persistence.ott
ExpiredLinkTokenPurger over Spring Security's one_time_tokens table (magic links).
JdbcExpiredLinkTokenPurger() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcExpiredLinkTokenPurger
 
JdbcFederatedIdentityRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.social
FederatedIdentityRepository over the federated_identities table.
JdbcFederatedIdentityRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcFederatedIdentityRepository
 
JdbcGeneratedPasswordRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.social
GeneratedPasswordRepository over the generated column of user_passwords.
JdbcGeneratedPasswordRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcGeneratedPasswordRepository
 
JdbcOneTimeCodeRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.ott
OneTimeCodeRepository over the ott_codes table.
JdbcOneTimeCodeRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcOneTimeCodeRepository
 
JdbcPasskeyRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.passkeys
PasskeyRepository over the user_credentials and user_entities tables that Spring Security's WebAuthn repositories own.
JdbcPasskeyRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.JdbcPasskeyRepository
 
JdbcPhoneVerificationRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.sms
PhoneVerificationRepository over the pending_* columns of the user_phones table.
JdbcPhoneVerificationRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcPhoneVerificationRepository
 
JdbcRecoveryCodeRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.totp
RecoveryCodeRepository over the recovery_codes table.
JdbcRecoveryCodeRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcRecoveryCodeRepository
 
JdbcSecondFactorAttemptRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.mfa
SecondFactorAttemptRepository over the second_factor_attempts table.
JdbcSecondFactorAttemptRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecondFactorAttemptRepository
 
JdbcSecurityEventRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.mfa
SecurityEventRepository over the security_events table.
JdbcSecurityEventRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecurityEventRepository
 
JdbcSigningKeyRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.keys
SigningKeyRepository over the signing_keys table.
JdbcSigningKeyRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.keys.JdbcSigningKeyRepository
 
JdbcSignInMethodsLock - Class in com.irurueta.authserver.authorization.infrastructure.persistence.social
SignInMethodsLock over a PostgreSQL transaction-level advisory lock on the account: it opens no transaction and holds the lock until the caller's ends, so the removals of the sign-in methods of one account (unlinking an identity, unbinding a certificate) run one after the other and each counts what the previous one left.
JdbcSignInMethodsLock() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcSignInMethodsLock
 
JdbcSmsCostLedgerRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.sms
SmsCostLedgerRepository over the sms_cost_ledger table.
JdbcSmsCostLedgerRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcSmsCostLedgerRepository
 
JdbcTimestamps - Class in com.irurueta.authserver.authorization.infrastructure.persistence
Converts between the domain's Instant and the OffsetDateTime the PostgreSQL driver binds to and reads from a timestamp with time zone column.
JdbcTimestamps() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.JdbcTimestamps
Not instantiable: a holder of stateless conversions.
JdbcTotpCredentialRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.totp
TotpCredentialRepository over the totp_credentials table.
JdbcTotpCredentialRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcTotpCredentialRepository
 
JdbcTrustedDeviceRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.mfa
TrustedDeviceRepository over the trusted_devices table.
JdbcTrustedDeviceRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcTrustedDeviceRepository
 
JdbcUserAccountRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.password
UserAccountRepository reading user accounts from the users, user_authorities and user_passwords tables.
JdbcUserAccountRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
 
JdbcUserAuthorizationRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.tokens
UserAuthorizationRepository over the oauth2_authorization table.
JdbcUserAuthorizationRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.JdbcUserAuthorizationRepository
 
JdbcUserMfaSettingsRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.mfa
UserMfaSettingsRepository over the mfa_required column of the users table.
JdbcUserMfaSettingsRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcUserMfaSettingsRepository
 
JdbcUserPhoneRepository - Class in com.irurueta.authserver.authorization.infrastructure.persistence.sms
UserPhoneRepository over the verified columns of the user_phones table.
JdbcUserPhoneRepository() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcUserPhoneRepository
 
JWKS_SETTING - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.RegisteredClientMapper
Name of the custom client setting that holds the client's registered public JWK set as JSON, used to verify private_key_jwt assertions and self-signed certificates.
jwksOf(ClientSettings) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.RegisteredClientMapper
Reads the registered JWK set custom setting.

L

lock(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcSignInMethodsLock
 
LOCK - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcSmsCostLedgerRepository
Statement taking the advisory lock, released when the caller's transaction ends.
LOCK_ACCOUNT - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcSignInMethodsLock
Statement taking the advisory lock of an account, released when the caller's transaction ends.
LOCK_ATTEMPTS - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecondFactorAttemptRepository
Query returning the state of a user and locking its row until the end of the transaction: a concurrent verification of the same user waits here until the first one commits.
LOCK_NUMBER - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcUserPhoneRepository
Statement taking the advisory lock of a number, released when the caller's transaction ends.
LOCK_SUBJECT - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcFederatedIdentityRepository
Statement taking the advisory lock of an identity, released when the caller's transaction ends.
lockForUpdate(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecondFactorAttemptRepository
Reads and locks the state of a user, in the caller's transaction (without one, the lock is released as soon as the query ends).
lockSubject(IdentityProvider, String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcFederatedIdentityRepository
 
longest() - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.keys.RegisteredClientTokenLifetimes
 

M

mapRow(ResultSet, int) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.account.AccountTokenRowMapper
Maps the current row.
mapRow(ResultSet, int) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.keys.SigningKeyRowMapper
Maps the current row.
mapRow(ResultSet, int) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.SecondFactorLockoutRowMapper
Maps the current row.
mapRow(ResultSet, int) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.SecurityEventRowMapper
Maps the current row.
mapRow(ResultSet, int) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.TrustedDeviceRowMapper
Maps the current row.
mapRow(ResultSet, int) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.OneTimeCodeRowMapper
Maps the current row.
mapRow(ResultSet, int) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.PasskeyRowMapper
Maps the current row.
mapRow(ResultSet, int) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRowMapper
Maps the current row.
mapRow(ResultSet, int) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.PhoneVerificationRowMapper
Maps the current row.
mapRow(ResultSet, int) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.UserPhoneRowMapper
Maps the current row.
mapRow(ResultSet, int) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.social.FederatedIdentityRowMapper
Maps the current row.
mapRow(ResultSet, int) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.RecoveryCodeRowMapper
Maps the current row.
mapRow(ResultSet, int) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.TotpCredentialRowMapper
Maps the current row.
mapRow(ResultSet, int) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.x509.CertificateBindingRowMapper
Maps the current row.
MARK_EMAIL_VERIFIED - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
Statement that verifies the e-mail address and enables the account, only while the address is still unverified: a verification link is effective once, so replaying it cannot re-enable an account that was disabled afterwards.
MARK_USED - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcRecoveryCodeRepository
Statement that spends a code only when it is unused, atomically.
markEmailVerified(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
 
markGenerated(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcGeneratedPasswordRepository
 
markUsed(UUID, Instant) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcRecoveryCodeRepository
 
MFA_REQUIRED_SETTING - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.RegisteredClientMapper
Name of the custom client setting that makes every user of the client complete a second factor.
mfaRequiredOf(ClientSettings) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.RegisteredClientMapper
Reads the second-factor custom setting.
module(BasicPolymorphicTypeValidator.Builder) - Method in interface com.irurueta.authserver.authorization.infrastructure.persistence.clients.AuthorizationJacksonModuleContributor
Creates the module and allows, in the validator, the types it (de)serializes polymorphically.
module(BasicPolymorphicTypeValidator.Builder) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.WebauthnJacksonModuleContributor
Creates the module of the passkeys and allows its types in the validator.
module(BasicPolymorphicTypeValidator.Builder) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.social.FederatedJacksonModuleContributor
Creates the module of the OAuth 2.0 client and allows its types in the validator.

O

oneTimeCodeRowMapper - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcOneTimeCodeRepository
Maps a row to a code.
OneTimeCodeRowMapper - Class in com.irurueta.authserver.authorization.infrastructure.persistence.ott
Maps a row of the ott_codes table to a OneTimeCode.
OneTimeCodeRowMapper() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.ott.OneTimeCodeRowMapper
 
oneTimeTokenService(JdbcOperations) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.OneTimeTokenServiceConfiguration
Creates the one-time token service of the magic links.
OneTimeTokenServiceConfiguration - Class in com.irurueta.authserver.authorization.infrastructure.persistence.ott
Registers Spring Security's JDBC one-time token service, which stores the magic link tokens in the one_time_tokens table instead of in memory.
OneTimeTokenServiceConfiguration() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.ott.OneTimeTokenServiceConfiguration
 

P

passkeyRowMapper - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.JdbcPasskeyRepository
Maps a row to a passkey.
PasskeyRowMapper - Class in com.irurueta.authserver.authorization.infrastructure.persistence.passkeys
Maps a row of the user_credentials table to a Passkey.
PasskeyRowMapper() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.PasskeyRowMapper
 
password - Variable in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
The field for the password record component.
password() - Method in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
Returns the value of the password record component.
PHONE_LOCK_NAMESPACE - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcUserPhoneRepository
First key of the advisory locks of the numbers, which keeps them apart from every other advisory lock.
phoneVerificationRowMapper - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcPhoneVerificationRepository
Maps a row to a verification.
PhoneVerificationRowMapper - Class in com.irurueta.authserver.authorization.infrastructure.persistence.sms
Maps the pending_* columns of a row of the user_phones table to a PhoneVerification.
PhoneVerificationRowMapper() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.sms.PhoneVerificationRowMapper
 
publicKeyCredentialUserEntityRepository(JdbcTemplate) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.WebAuthnJdbcConfiguration
Creates the store of WebAuthn user entities (the user handle, the account name and its display name).
purgeExpired(Instant) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clientauth.JdbcClientAssertionReplayRegistry
 

R

random - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Source of randomness for generated secrets.
readInstant(ResultSet, String) - Static method in class com.irurueta.authserver.authorization.infrastructure.persistence.JdbcTimestamps
Reads a timestamp with time zone column that may be null.
readInstant(ResultSet, String, Instant) - Static method in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.PasskeyRowMapper
Reads a timestamp with time zone column that may be null.
RECORD_FAILURE - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecondFactorAttemptRepository
Single-statement upsert that counts one failure and sets the lock when the maximum is reached.
recordFailure(UUID, int, Duration, Instant) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecondFactorAttemptRepository
 
recoveryCodeRowMapper - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcRecoveryCodeRepository
Maps a row to a code.
RecoveryCodeRowMapper - Class in com.irurueta.authserver.authorization.infrastructure.persistence.totp
Maps a row of the recovery_codes table to a RecoveryCode.
RecoveryCodeRowMapper() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.totp.RecoveryCodeRowMapper
 
refreshTokenValue(OAuth2Authorization) - Static method in class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.ReuseDetectingAuthorizationService
Reads the value of the refresh token of an authorization.
register(String, String, Instant) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clientauth.JdbcClientAssertionReplayRegistry
 
registeredClientMapper - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.JdbcClientRegistrationRepository
Maps between registrations and registered clients.
RegisteredClientMapper - Class in com.irurueta.authserver.authorization.infrastructure.persistence.clients
Maps the domain ClientRegistration onto Spring Authorization Server's RegisteredClient and back.
RegisteredClientMapper() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.clients.RegisteredClientMapper
 
registeredClientRepository - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.JdbcClientRegistrationRepository
Repository that maps registered clients to rows.
registeredClientRepository(JdbcTemplate) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.JdbcAuthorizationServerConfiguration
Creates the repository of registered clients.
RegisteredClientTokenLifetimes - Class in com.irurueta.authserver.authorization.infrastructure.persistence.keys
SignedTokenLifetimes over the registered clients: the longest of the ID-token lifetime and the access-token lifetimes of the clients that receive self-contained (signed) access tokens.
RegisteredClientTokenLifetimes() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.keys.RegisteredClientTokenLifetimes
 
remove(OAuth2Authorization) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.ReuseDetectingAuthorizationService
 
rename(String, String, String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.JdbcPasskeyRepository
 
RENAME - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.JdbcPasskeyRepository
Statement renaming a credential of a user.
replaceAll(UUID, List<RecoveryCode>) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcRecoveryCodeRepository
 
reset(UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecondFactorAttemptRepository
 
RESET_ATTEMPTS - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecondFactorAttemptRepository
Statement that clears the counter and the lock, keeping the row so later verifications can lock it.
ReuseDetectingAuthorizationService - Class in com.irurueta.authserver.authorization.infrastructure.persistence.tokens
Decorator of an OAuth2AuthorizationService that detects the reuse of rotated refresh tokens.
ReuseDetectingAuthorizationService() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.ReuseDetectingAuthorizationService
 
revoke(UUID, UUID) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcTrustedDeviceRepository
 
ROTATION_LOCK_KEY - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.keys.JdbcSigningKeyRepository
Key of the advisory lock that serialises rotations.
run(ApplicationArguments) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Creates the demo user, the BFF client and the device client when they do not exist yet.

S

save(ClientRegistration, String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.JdbcClientRegistrationRepository
 
save(SigningKey) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.keys.JdbcSigningKeyRepository
 
save(OneTimeCode) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.ott.JdbcOneTimeCodeRepository
 
save(UserAccount) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
save(PhoneVerification) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcPhoneVerificationRepository
 
save(UserPhone) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcUserPhoneRepository
 
save(FederatedIdentity) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcFederatedIdentityRepository
 
save(TotpCredential) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcTotpCredentialRepository
 
save(CertificateBinding) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.x509.JdbcCertificateBindingRepository
 
save(OAuth2Authorization) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.tokens.ReuseDetectingAuthorizationService
 
secondFactorLockoutRowMapper - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecondFactorAttemptRepository
Maps a row to the state of a user.
SecondFactorLockoutRowMapper - Class in com.irurueta.authserver.authorization.infrastructure.persistence.mfa
Maps a row of the second_factor_attempts table to a SecondFactorLockout.
SecondFactorLockoutRowMapper() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.SecondFactorLockoutRowMapper
 
SECRET_BYTES - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.dev.DevDataInitializer
Number of random bytes of generated secrets.
securityEventRowMapper - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecurityEventRepository
Maps a row to an event.
SecurityEventRowMapper - Class in com.irurueta.authserver.authorization.infrastructure.persistence.mfa
Maps a row of the security_events table to a SecurityEvent.
SecurityEventRowMapper() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.SecurityEventRowMapper
 
SELECT_USER - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
Columns selected for an account.
setRequired(UUID, boolean) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcUserMfaSettingsRepository
 
SIGN_IN_METHODS_LOCK_NAMESPACE - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcSignInMethodsLock
First key of the advisory locks of the accounts, which keeps them apart from every other advisory lock.
signingAlgorithmNameOf(ClientSettings) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.RegisteredClientMapper
Reads the token endpoint authentication signing algorithm.
signingAlgorithmOf(String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.RegisteredClientMapper
Resolves a JWS signature algorithm by name.
signingKeyRowMapper - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.keys.JdbcSigningKeyRepository
Maps a row to a key.
SigningKeyRowMapper - Class in com.irurueta.authserver.authorization.infrastructure.persistence.keys
Maps a row of the signing_keys table to a SigningKey.
SigningKeyRowMapper() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.keys.SigningKeyRowMapper
 
SPEND_LOCK_KEY - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcSmsCostLedgerRepository
Key of the advisory lock that serialises the reservations of SMS spend.
store(AccountToken) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.account.JdbcAccountTokenRepository
 
store(SecurityEvent) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcSecurityEventRepository
 
store(TrustedDevice) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcTrustedDeviceRepository
 
SUBJECT_LOCK_NAMESPACE - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcFederatedIdentityRepository
First key of the advisory locks of the identities, which keeps them apart from every other advisory lock.

T

tenant - Variable in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
The field for the tenant record component.
tenant() - Method in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
Returns the value of the tenant record component.
toRegisteredClient(ClientRegistration, String, Instant, String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.RegisteredClientMapper
Maps a registration to a registered client.
toRegistration(RegisteredClient) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.RegisteredClientMapper
Maps a registered client to a registration.
toString() - Method in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
Returns a string representation of this record class.
toTimestamp(Instant) - Static method in class com.irurueta.authserver.authorization.infrastructure.persistence.JdbcTimestamps
Converts an instant to the value bound to a timestamp with time zone column.
totpCredentialRowMapper - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcTotpCredentialRepository
Maps a row to a credential.
TotpCredentialRowMapper - Class in com.irurueta.authserver.authorization.infrastructure.persistence.totp
Maps a row of the totp_credentials table to a TotpCredential.
TotpCredentialRowMapper() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.totp.TotpCredentialRowMapper
 
toUserAccount(List<String>) - Method in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
Completes the row into an account.
transactionTemplate - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.keys.JdbcSigningKeyRepository
Template that runs the rotation inside a transaction.
trustedDeviceRowMapper - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.JdbcTrustedDeviceRepository
Maps a row to a device.
TrustedDeviceRowMapper - Class in com.irurueta.authserver.authorization.infrastructure.persistence.mfa
Maps a row of trusted_devices to a TrustedDevice.
TrustedDeviceRowMapper() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.mfa.TrustedDeviceRowMapper
 
tryRecord(Instant, String, long, SmsSpendCap, SmsSpendCap) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcSmsCostLedgerRepository
 

U

updatePassword(UUID, String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
 
updateSecret(String, String) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.clients.JdbcClientRegistrationRepository
 
UPSERT - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.keys.JdbcSigningKeyRepository
Statement inserting a key, or replacing the state of the key that has the same kid.
UPSERT - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcPhoneVerificationRepository
Statement storing the pending verification of a user, creating the row if needed.
UPSERT - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcUserPhoneRepository
Statement that stores the verified phone of a user, creating the row or updating its verified columns only (the pending ones are untouched), unless another user already owns the number.
UPSERT - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.social.JdbcFederatedIdentityRepository
Statement inserting a link, or updating the e-mail address and last sign-in of the one with the same id.
UPSERT - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.totp.JdbcTotpCredentialRepository
Statement inserting a credential, or replacing the one of the same user.
UPSERT_PASSWORD - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
Statement inserting an encoded password, or replacing the stored one.
UPSERT_USER - Static variable in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
Statement inserting a user, or replacing the columns of the user that has the same id.
UserAccountRow - Record Class in com.irurueta.authserver.authorization.infrastructure.persistence.password
Columns of a user row joined with its encoded password, before the authorities, which live in a table of their own, are loaded.
UserAccountRow(UUID, String, String, boolean, String, boolean, String) - Constructor for record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
Creates an instance of a UserAccountRow record class.
userAccountRowMapper - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.password.JdbcUserAccountRepository
Maps a user row, without its authorities.
UserAccountRowMapper - Class in com.irurueta.authserver.authorization.infrastructure.persistence.password
Maps a row of the users table joined with user_passwords to a UserAccountRow.
UserAccountRowMapper() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRowMapper
 
userCredentialRepository(JdbcTemplate) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.WebAuthnJdbcConfiguration
Creates the store of WebAuthn credentials (public key, signature counter, flags and label).
username - Variable in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
The field for the username record component.
username() - Method in record class com.irurueta.authserver.authorization.infrastructure.persistence.password.UserAccountRow
Returns the value of the username record component.
userPhoneRowMapper - Variable in class com.irurueta.authserver.authorization.infrastructure.persistence.sms.JdbcUserPhoneRepository
Maps a row to a verified phone.
UserPhoneRowMapper - Class in com.irurueta.authserver.authorization.infrastructure.persistence.sms
Maps the verified columns of a row of the user_phones table to a UserPhone.
UserPhoneRowMapper() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.sms.UserPhoneRowMapper
 

W

WebauthnJacksonModuleContributor - Class in com.irurueta.authserver.authorization.infrastructure.persistence.passkeys
Adds the module of the passkeys to the mapper of the stored authorizations.
WebauthnJacksonModuleContributor() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.WebauthnJacksonModuleContributor
 
WebAuthnJdbcConfiguration - Class in com.irurueta.authserver.authorization.infrastructure.persistence.passkeys
Registers the JDBC implementations of the Spring Security WebAuthn stores.
WebAuthnJdbcConfiguration() - Constructor for class com.irurueta.authserver.authorization.infrastructure.persistence.passkeys.WebAuthnJdbcConfiguration
 
withRotationLock(Supplier<T>) - Method in class com.irurueta.authserver.authorization.infrastructure.persistence.keys.JdbcSigningKeyRepository
 
A B C D E F G H I J L M O P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values