Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accepts(TurnstileAnswer, HumanCheckRequest) - Method in interface org.jwcarman.who.turnstile.TurnstileVerifier
-
Whether the answer passes the request.
- action() - Method in exception class org.jwcarman.who.autoconfigure.WhoConfigurationException
-
Returns what to set to fix it.
- action() - Method in record class org.jwcarman.who.spring.security.HumanCheckPerformed
-
Returns the value of the
actionrecord component. - action() - Method in record class org.jwcarman.who.spring.security.HumanCheckRequest
-
Returns the value of the
actionrecord component. - action() - Method in record class org.jwcarman.who.turnstile.TurnstileAnswer
-
Returns the value of the
actionrecord component. - ACTIVE - Enum constant in enum class org.jwcarman.who.core.domain.IdentityStatus
-
May sign in: its credentials resolve to it.
- AddedEmailAddress - Record Class in org.jwcarman.who.emaillink
-
The answer of
POST /who/me/email-addresses/confirmations. - AddedEmailAddress(String) - Constructor for record class org.jwcarman.who.emaillink.AddedEmailAddress
-
Creates an instance of a
AddedEmailAddressrecord class. - addPermission(UUID, String) - Method in class org.jwcarman.who.rbac.JdbcRolePermissionRepository
- addPermission(UUID, String) - Method in interface org.jwcarman.who.rbac.RolePermissionRepository
-
Assigns a permission string to the given role.
- addPermissionIfAbsent(UUID, String) - Method in class org.jwcarman.who.rbac.JdbcRolePermissionRepository
- addPermissionIfAbsent(UUID, String) - Method in interface org.jwcarman.who.rbac.RolePermissionRepository
-
Grants a permission to a role and reports whether that changed anything.
- addPermissionToRole(Role, String) - Method in class org.jwcarman.who.rbac.RbacService
-
Grants a permission string to the given role.
- address() - Method in interface org.jwcarman.who.core.email.WhoEmail
-
The address the email goes to.
- address() - Method in record class org.jwcarman.who.core.event.SignInFailed
-
Returns the value of the
addressrecord component. - address() - Method in record class org.jwcarman.who.emaillink.EmailAddressChangedMessage
-
Returns the value of the
addressrecord component. - address() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationMessage
-
Returns the value of the
addressrecord component. - address() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationRequested
-
Returns the value of the
addressrecord component. - address() - Method in record class org.jwcarman.who.emaillink.EmailAddressRequest
-
Returns the value of the
addressrecord component. - address() - Method in record class org.jwcarman.who.emaillink.EmailAddressView
-
Returns the value of the
addressrecord component. - address() - Method in record class org.jwcarman.who.emaillink.EmailCredential
-
Returns the value of the
addressrecord component. - address() - Method in record class org.jwcarman.who.emaillink.EmailLinkMessage
-
Returns the value of the
addressrecord component. - address() - Method in record class org.jwcarman.who.emaillink.EmailSignInProof.EmailCode
-
Returns the value of the
addressrecord component. - address() - Method in record class org.jwcarman.who.emaillink.IdentityInvited
-
Returns the value of the
addressrecord component. - address() - Method in record class org.jwcarman.who.emaillink.InvitationMessage
-
Returns the value of the
addressrecord component. - address() - Method in record class org.jwcarman.who.emaillink.SignInEmailRequested
-
Returns the value of the
addressrecord component. - address() - Method in record class org.jwcarman.who.passkey.PasskeyAddedMessage
-
Returns the value of the
addressrecord component. - ADDRESS_TAKEN - Enum constant in enum class org.jwcarman.who.emaillink.EmailAddressRequestOutcome
-
The address is registered already, to this identity or another; nothing was sent.
- addressesOf(UUID) - Method in class org.jwcarman.who.admin.EmailLinkIdentityEmails
- addressesOf(UUID) - Method in interface org.jwcarman.who.admin.IdentityEmails
-
Lists an identity's addresses.
- Admin() - Constructor for class org.jwcarman.who.autoconfigure.WhoProperties.Admin
-
Creates the settings with their defaults.
- AdminGate - Class in org.jwcarman.who.admin
-
The checks every admin endpoint makes before it looks at anything the request names, in this order: signed out is
401; a request whose permissions lack the one needed is403; then, for a request that changes something, thecallerdecides: a browser session whose sign-in is no longer recent is401and must sign in again; a session cookie with an API key or bearer token beside it, which the session signed in and the header did not, is403, as is any sign-in that is neither a browser session nor a bearer token or an API key. - AdminGate(WhoSessionSecurityContextRepository, Clock, Duration) - Constructor for class org.jwcarman.who.admin.AdminGate
-
Creates the gate.
- admit(HttpServletRequest, String, boolean) - Method in class org.jwcarman.who.admin.AdminGate
-
Admits the caller, or throws why not.
- afterSingletonsInstantiated() - Method in class org.jwcarman.who.spring.security.web.WhoMappingCheck
- all() - Method in class org.jwcarman.who.oidc.SignInRegistrations
-
Every registration, in the order the application declared them.
- all() - Static method in class org.jwcarman.who.spring.security.WhoSecurity
-
Returns a configurer that mounts every who sign-in method on the classpath.
- allow() - Static method in interface org.jwcarman.who.core.signup.SignUpDecision
-
Allows the sign-up with nothing more to set up.
- allow(Consumer) - Static method in interface org.jwcarman.who.core.signup.SignUpDecision
-
Allows the sign-up, and sets the new identity up (roles, a profile) in the same transaction that creates it: if
setupthrows, no identity or credential is left behind. - Allow(Consumer) - Constructor for record class org.jwcarman.who.core.signup.SignUpDecision.Allow
-
Validates that the setup is not null.
- ALLOW_ALL - Static variable in interface org.jwcarman.who.spring.security.WhoHumanCheck
-
Lets everyone through; for tests that turn the check on without a vendor.
- allowedOrigins() - Method in record class org.jwcarman.who.passkey.PasskeySettings
-
Returns the value of the
allowedOriginsrecord component. - ALREADY_LINKED - Static variable in class org.jwcarman.who.oidc.OidcRedirects
-
The provider account belongs to another identity than the one signed in.
- AlreadyLinkedException - Exception Class in org.jwcarman.who.oidc
-
The provider account belongs to another identity.
- AlreadyLinkedException() - Constructor for exception class org.jwcarman.who.oidc.AlreadyLinkedException
-
Creates the exception.
- alreadySignedIn() - Static method in interface org.jwcarman.who.spring.security.StatelessLoginMethod
-
Whether the current request is already signed in, by a session or anything else, before a stateless method looks at its credential: the security context holds an authentication that is not anonymous.
- analyze(Throwable, WhoConfigurationException) - Method in class org.jwcarman.who.autoconfigure.WhoConfigurationFailureAnalyzer
- API_KEY - Enum constant in enum class org.jwcarman.who.core.event.CredentialKind
-
An API key.
- API_KEY - Enum constant in enum class org.jwcarman.who.core.event.SignInMethod
-
An API key.
- apiKey() - Static method in class org.jwcarman.who.apikey.WhoApiKeySecurity
-
A configurer that adds the
ApiKeyAuthenticationFilterbean from the application context to the chain, before the exception translation filter. - apiKey() - Static method in exception class org.jwcarman.who.spring.security.web.RecentSignInUnavailableException
-
An API key, which stands for no sign-in by a person.
- apiKey(ApiKeyAuthenticationFilter) - Static method in class org.jwcarman.who.apikey.WhoApiKeySecurity
-
A configurer that adds the given filter to the chain, before the exception translation filter.
- ApiKey - Record Class in org.jwcarman.who.apikey
-
An identity's key as
ApiKeyService.findByIdentity(UUID)lists it, with no secret in it. - ApiKey() - Constructor for class org.jwcarman.who.autoconfigure.WhoProperties.ApiKey
-
Creates the settings with their defaults.
- ApiKey(UUID, String, Set, Instant, Instant, Instant, boolean) - Constructor for record class org.jwcarman.who.apikey.ApiKey
-
Copies the scopes, so the list cannot change them.
- ApiKeyAuthenticationConverter - Class in org.jwcarman.who.apikey
-
Reads an API key from a request header into an
ApiKeyAuthenticationToken. - ApiKeyAuthenticationConverter(String) - Constructor for class org.jwcarman.who.apikey.ApiKeyAuthenticationConverter
-
Creates a converter for the given header.
- apiKeyAuthenticationFilter(ApiKeyCredentialRepository, WhoService, ApiKeyFormat, WhoProperties, WhoEventPublisher, Clock) - Method in class org.jwcarman.who.autoconfigure.WhoApiKeyAutoConfiguration
-
The API key filter.
- ApiKeyAuthenticationFilter - Class in org.jwcarman.who.apikey
-
Signs in requests that carry an API key header, through Spring Security's
AuthenticationFilter:ApiKeyAuthenticationConverterreads the header andApiKeyAuthenticationProviderresolves the key. - ApiKeyAuthenticationFilter(ApiKeyAuthenticationProvider, String) - Constructor for class org.jwcarman.who.apikey.ApiKeyAuthenticationFilter
-
Creates a new filter.
- ApiKeyAuthenticationFilter(ApiKeyCredentialRepository, WhoService, String) - Constructor for class org.jwcarman.who.apikey.ApiKeyAuthenticationFilter
-
Creates a new filter that publishes no who events and records a key's use at most every
ApiKeyAuthenticationFilter.DEFAULT_LAST_USED_INTERVAL. - ApiKeyAuthenticationProvider - Class in org.jwcarman.who.apikey
-
Signs in with an API key: checks the key's shape, looks it up by its hash, refuses it once expired, and resolves it to an active identity whose permissions are cut down to the key's scopes.
- ApiKeyAuthenticationProvider(ApiKeyCredentialRepository, WhoService, ApiKeyFormat, Duration, WhoEventPublisher, Clock) - Constructor for class org.jwcarman.who.apikey.ApiKeyAuthenticationProvider
-
Creates the provider.
- ApiKeyAuthenticationToken - Class in org.jwcarman.who.apikey
-
An unauthenticated request to sign in with an API key, holding the raw key read from the request header.
- ApiKeyAuthenticationToken(String) - Constructor for class org.jwcarman.who.apikey.ApiKeyAuthenticationToken
-
Creates an unauthenticated request for the given key.
- ApiKeyCannotManageKeysException - Exception Class in org.jwcarman.who.apikey
-
A request an API key signed in, to an API-key endpoint other than
/current: a key never lists, makes, rotates or revokes keys, so a leaked key cannot make itself permanent. who answers it403with the codeapi-key-cannot-manage-keys; a browser session or a bearer token may manage keys. - ApiKeyCannotManageKeysException() - Constructor for exception class org.jwcarman.who.apikey.ApiKeyCannotManageKeysException
-
Creates the exception.
- ApiKeyCredential - Record Class in org.jwcarman.who.apikey
-
Credential representing an API key, stored as a SHA-256 hash.
- ApiKeyCredential(UUID, String, String, Set, Instant, Instant, Instant) - Constructor for record class org.jwcarman.who.apikey.ApiKeyCredential
-
Compact constructor: validates that no field but
lastUsedAtisnull. - apiKeyCredentialRepository(JdbcClient) - Method in class org.jwcarman.who.autoconfigure.WhoApiKeyAutoConfiguration
-
The repository is also this module's
CredentialRemover; its declared type exposes both, soWhoServicefinds it without a second bean. - ApiKeyCredentialRepository - Interface in org.jwcarman.who.apikey
-
Repository for persisting and retrieving
ApiKeyCredentialrecords. - apiKeyFilterRegistration(ApiKeyAuthenticationFilter) - Method in class org.jwcarman.who.autoconfigure.WhoApiKeyAutoConfiguration
-
Keeps Spring Boot from also registering the filter with the servlet container; it runs only inside security chains that add it with
WhoApiKeySecurity. - apiKeyFormat(WhoProperties) - Method in class org.jwcarman.who.autoconfigure.WhoApiKeyAutoConfiguration
-
The shape of new keys, with the configured prefix.
- ApiKeyFormat - Class in org.jwcarman.who.apikey
-
The shape of a who API key: a prefix, 30 random base62 characters and a 6-character base62 checksum, the shape GitHub uses for its tokens.
- ApiKeyFormat(String) - Constructor for class org.jwcarman.who.apikey.ApiKeyFormat
-
Creates the format for new keys.
- apiKeyLoginMethod(ApiKeyAuthenticationFilter, WhoProperties) - Method in class org.jwcarman.who.autoconfigure.WhoApiKeyAutoConfiguration
-
Mounts the filter in a chain built with
WhoSecurity.all(), and exempts requests that carry a key from CSRF. - ApiKeyLoginMethod - Class in org.jwcarman.who.apikey
-
API-key sign-in as a
StatelessLoginMethod: adds theApiKeyAuthenticationFilterasWhoApiKeySecurity.apiKey(ApiKeyAuthenticationFilter)does, and matches the requests the key would sign in: the header is present and not blank, and the request is not already signed in. - ApiKeyLoginMethod(ApiKeyAuthenticationFilter, String) - Constructor for class org.jwcarman.who.apikey.ApiKeyLoginMethod
-
Creates the login method.
- ApiKeyNotFoundException - Exception Class in org.jwcarman.who.apikey
-
A request named an API key that is not one of the caller's own, or asked for the key in use by a request that no API key signed in.
- ApiKeyNotFoundException() - Constructor for exception class org.jwcarman.who.apikey.ApiKeyNotFoundException
-
Creates the exception.
- ApiKeysController - Class in org.jwcarman.who.apikey
-
The caller's API keys under
/who/me/api-keys:GETlists them, by name,lastUsedAtnullfor a key that never signed in;POSTwith{name, lifetime, scopes}makes one (lifetimean ISO-8601 duration) and answers201with the raw key;POST /{id}/rotationswith{overlap}(an ISO-8601 duration) replaces one, asApiKeyService.rotate(UUID, Duration)does, and answers201in the same shape;DELETE /{id}revokes one,204;GET /currentanswers the key that signed this request in, in the list's shape. - ApiKeysController(ApiKeyService, WhoSessionSecurityContextRepository, JsonMapper, Clock, Duration) - Constructor for class org.jwcarman.who.apikey.ApiKeysController
-
Creates the controller.
- apiKeyService(ApiKeyCredentialRepository, CredentialIdentityRepository, PermissionsResolver, ApiKeyFormat, WhoProperties, WhoEventPublisher, Clock) - Method in class org.jwcarman.who.autoconfigure.WhoApiKeyAutoConfiguration
-
Makes, lists, rotates and revokes API keys, publishing the credential events.
- ApiKeyService - Class in org.jwcarman.who.apikey
-
Makes, lists, rotates and revokes API keys.
- ApiKeyService(ApiKeyCredentialRepository, CredentialIdentityRepository, PermissionsResolver, ApiKeyFormat, Duration, WhoEventPublisher, Clock) - Constructor for class org.jwcarman.who.apikey.ApiKeyService
-
Creates the service.
- ApiKeyView - Record Class in org.jwcarman.who.apikey
-
An API key as
GET /who/me/api-keysandGET /who/me/api-keys/currentshow it: no secret in it. - ApiKeyView(String, String, List, String, String, String) - Constructor for record class org.jwcarman.who.apikey.ApiKeyView
-
Creates an instance of a
ApiKeyViewrecord class. - assign(Identity, Set) - Method in interface org.jwcarman.who.emaillink.InvitationRoles
-
Assigns the named roles to the identity, inside the caller's transaction, so a failure rolls the invitation back.
- assign(Identity, Set) - Method in class org.jwcarman.who.emaillink.RbacInvitationRoles
- assignRole(String, String, HttpServletRequest) - Method in class org.jwcarman.who.admin.IdentitiesController
-
Assigns a role; already assigned is done.
- assignRole(UUID, UUID) - Method in interface org.jwcarman.who.rbac.IdentityRoleRepository
-
Assigns a role to an identity.
- assignRole(UUID, UUID) - Method in class org.jwcarman.who.rbac.JdbcIdentityRoleRepository
- assignRoleByName(Identity, String) - Method in class org.jwcarman.who.rbac.RbacService
-
Assigns a role to an identity by role name.
- assignRoleByName(Identity, R) - Method in class org.jwcarman.who.rbac.RbacService
-
Assigns a role to an identity using an enum constant as the role name.
- assignRoleIfAbsent(UUID, UUID) - Method in interface org.jwcarman.who.rbac.IdentityRoleRepository
-
Assigns a role to an identity and reports whether that changed anything.
- assignRoleIfAbsent(UUID, UUID) - Method in class org.jwcarman.who.rbac.JdbcIdentityRoleRepository
- assignRoleToIdentity(Identity, Role) - Method in class org.jwcarman.who.rbac.RbacService
-
Assigns a role to an identity.
- attemptCode(String, int, Instant) - Method in interface org.jwcarman.who.emaillink.EmailLinkTokenRepository
-
Atomically counts one code attempt against the live token of the credential with this address.
- attemptCode(String, int, Instant) - Method in class org.jwcarman.who.emaillink.JdbcEmailLinkTokenRepository
- attemptCode(UUID, int, Instant) - Method in interface org.jwcarman.who.emaillink.EmailAddressRequestRepository
-
Counts a code attempt against the identity's live request, if it has attempts left.
- attemptCode(UUID, int, Instant) - Method in class org.jwcarman.who.emaillink.JdbcEmailAddressRequestRepository
- ATTRIBUTE - Static variable in class org.jwcarman.who.oidc.PendingSignUps
-
The session attribute that holds the pending sign-up.
- authenticate(Authentication) - Method in class org.jwcarman.who.apikey.ApiKeyAuthenticationProvider
- authenticate(Authentication) - Method in class org.jwcarman.who.emaillink.EmailLinkAuthenticationProvider
- authenticate(Authentication) - Method in class org.jwcarman.who.passkey.WhoPasskeyAuthenticationProvider
- authenticate(RelyingPartyAuthenticationRequest) - Method in class org.jwcarman.who.passkey.WhoRelyingPartyOperations
- AUTHORITIES - Static variable in class org.jwcarman.who.spring.security.WhoSignInFactors
-
The authorities of the factors who stamps.
- authorize(Supplier, Object) - Method in class org.jwcarman.who.spring.security.RecentSignInAuthorizationManager
- autoPurge() - Method in class org.jwcarman.who.core.service.WhoSessions
-
Returns whether each sign-in purges one batch of dead sessions.
B
- basename() - Method in record class org.jwcarman.who.email.WhoEmailMessages
-
Returns the value of the
basenamerecord component. - BrowserEndpoints - Interface in org.jwcarman.who.spring.security
-
Endpoints that a module adds to every browser chain for a signed-in person, such as changing an email address.
- BrowserSessionRequiredException - Exception Class in org.jwcarman.who.spring.security.web
-
A signed-in request to an endpoint that needs a browser session on its own, made by something else: a bearer token or an API key, a session cookie with an API key or a bearer token beside it, or a sign-in no browser session loaded. who answers it
403with the codebrowser-session-required. - BrowserSessionRequiredException(String) - Constructor for exception class org.jwcarman.who.spring.security.web.BrowserSessionRequiredException
-
Creates the exception.
- BUILT_IN_LOCATION - Static variable in class org.jwcarman.who.email.MustacheWhoEmailRenderer
-
Where feature modules put their built-in templates, on the classpath.
C
- callbackPath(WhoPaths) - Static method in class org.jwcarman.who.oidc.CallbackRegistrations
-
Who's callback path, with Spring's
{registrationId}placeholder. - CallbackRegistrations - Class in org.jwcarman.who.oidc
-
The application's registrations, each one who signs in with sending the provider back to who's callback:
<root>/oidc/callback/{registrationId}. - CallbackRegistrations(ClientRegistrationRepository, SignInRegistrations, WhoPaths) - Constructor for class org.jwcarman.who.oidc.CallbackRegistrations
-
Wraps the application's registrations.
- caller(HttpServletRequest, Authentication) - Method in class org.jwcarman.who.spring.security.WhoSessionSecurityContextRepository
-
Classifies this request's caller by what signed the request in, never by which headers it carries:
WhoCaller.SignedOut: no who sign-in;WhoCaller.Session: the browser session loaded the authentication and the request presents no stateless credential (one the constructor's matcher matches);WhoCaller.SessionWithForeignCredential: the session loaded it, and the request also presents an API key or bearer token, ignored because the session signed it in;WhoCaller.Stateless: a bearer token or an API key signed it in, and no session loaded it;WhoCaller.Other: any other who sign-in. - carriesCredential() - Method in class org.jwcarman.who.apikey.ApiKeyLoginMethod
- carriesCredential() - Method in class org.jwcarman.who.jwt.JwtLoginMethod
-
Matches a request with a bearer token that is not already signed in, such as by a session cookie: a token beside a live session does not spare the cookie its CSRF token.
- carriesCredential() - Method in interface org.jwcarman.who.spring.security.StatelessLoginMethod
-
Matches the requests that carry this method's credential.
- cdata() - Method in record class org.jwcarman.who.turnstile.TurnstileAnswer
-
Returns the value of the
cdatarecord component. - challenge() - Method in class org.jwcarman.who.jwt.JwtLoginMethod
-
Bearer tokens (RFC 6750).
- challenge() - Method in class org.jwcarman.who.spring.security.RecentSignInDecision
-
Returns the
WWW-Authenticatechallenge to send with the refusal, for a bearer token whose sign-in is too old. - challenge() - Method in interface org.jwcarman.who.spring.security.StatelessLoginMethod
-
The authentication scheme a signed-out
401names in itsWWW-Authenticateheader, so a client learns how to sign in (RFC 9110, section 11.6.1), such asBearer(RFC 6750). - challenge() - Method in exception class org.jwcarman.who.spring.security.web.InsufficientUserAuthenticationException
-
Returns the RFC 9470 challenge, for the
WWW-Authenticateheader. - challengeTs() - Method in record class org.jwcarman.who.turnstile.TurnstileAnswer
-
Returns the value of the
challengeTsrecord component. - change() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationMessage
-
Returns the value of the
changerecord component. - change() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationRequested
-
Returns the value of the
changerecord component. - change() - Method in record class org.jwcarman.who.emaillink.EmailAddressRequest
-
Whether the address replaces one of the identity's addresses.
- changeStatus(String, HttpServletRequest) - Method in class org.jwcarman.who.admin.IdentitiesController
-
Reactivates or deactivates an identity.
- changeStatus(UUID, IdentityStatus) - Method in interface org.jwcarman.who.core.repository.IdentityRepository
-
Sets the status of the identity with the given UUID, reporting whether anything changed.
- changeStatus(UUID, IdentityStatus) - Method in class org.jwcarman.who.jdbc.JdbcIdentityRepository
- check() - Method in record class org.jwcarman.who.spring.security.HumanCheckPerformed
-
Returns the value of the
checkrecord component. - claims() - Method in record class org.jwcarman.who.core.signup.SignUpRequest
-
Returns the value of the
claimsrecord component. - claims() - Method in record class org.jwcarman.who.oidc.PendingSignUp
-
Returns the value of the
claimsrecord component. - claims() - Method in record class org.jwcarman.who.oidc.ProviderAccount
-
Returns the value of the
claimsrecord component. - clientIp() - Method in record class org.jwcarman.who.spring.security.HumanCheckPerformed
-
Returns the value of the
clientIprecord component. - clientIp() - Method in record class org.jwcarman.who.spring.security.HumanCheckRequest
-
Returns the value of the
clientIprecord component. - close() - Method in class org.jwcarman.who.test.StubOidcProvider
-
Stops the server.
- close(UUID) - Method in class org.jwcarman.who.core.service.WhoSessions
-
Ends a session that signed out or expired.
- ClosedSignUpPolicy - Class in org.jwcarman.who.core.signup
-
who's default
WhoSignUpPolicy: refuses every sign-up, so adding a sign-in method never lets strangers create identities until the application decides it should. - ClosedSignUpPolicy() - Constructor for class org.jwcarman.who.core.signup.ClosedSignUpPolicy
-
Creates the policy.
- code() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationMessage
-
Returns the value of the
coderecord component. - code() - Method in record class org.jwcarman.who.emaillink.EmailLinkMessage
-
Returns the value of the
coderecord component. - code() - Method in record class org.jwcarman.who.emaillink.EmailSignInProof.EmailCode
-
Returns the value of the
coderecord component. - code() - Method in record class org.jwcarman.who.emaillink.InvitationMessage
-
Returns the value of the
coderecord component. - code() - Method in record class org.jwcarman.who.spring.security.web.WhoProblem
-
Returns the value of the
coderecord component. - code(int) - Static method in class org.jwcarman.who.core.crypto.Secrets
-
Generates a new code of the given length.
- CODE_ALREADY_USED - Enum constant in enum class org.jwcarman.who.core.event.SignInFailureReason
-
The one-time code was already consumed.
- codeHash() - Method in record class org.jwcarman.who.emaillink.EmailAddressCodeAttempt
-
Returns the value of the
codeHashrecord component. - codeHash() - Method in record class org.jwcarman.who.emaillink.EmailCodeAttempt
-
Returns the value of the
codeHashrecord component. - codeLength() - Method in record class org.jwcarman.who.emaillink.EmailLinkSettings
-
Returns the value of the
codeLengthrecord component. - codeMaxAttempts() - Method in record class org.jwcarman.who.emaillink.EmailLinkSettings
-
Returns the value of the
codeMaxAttemptsrecord component. - codeSecret() - Method in record class org.jwcarman.who.emaillink.EmailLinkSettings
-
Returns the value of the
codeSecretrecord component. - configure(HttpSecurity) - Method in class org.jwcarman.who.apikey.ApiKeyLoginMethod
- configure(HttpSecurity) - Method in class org.jwcarman.who.apikey.WhoApiKeySecurity.ApiKeyConfigurer
- configure(HttpSecurity) - Method in class org.jwcarman.who.emaillink.EmailLinkLoginMethod
- configure(HttpSecurity) - Method in class org.jwcarman.who.jwt.JwtLoginMethod
- configure(HttpSecurity) - Method in class org.jwcarman.who.oidc.OidcLoginMethod
- configure(HttpSecurity) - Method in class org.jwcarman.who.passkey.PasskeyLoginMethod
- configure(HttpSecurity) - Method in interface org.jwcarman.who.spring.security.BrowserEndpoints
-
Adds these endpoints to the chain.
- configure(HttpSecurity) - Method in class org.jwcarman.who.spring.security.PasswordlessConfigurer
- configure(HttpSecurity) - Method in interface org.jwcarman.who.spring.security.PasswordlessLoginMethod
-
Adds this login method to the chain.
- configure(HttpSecurity) - Method in interface org.jwcarman.who.spring.security.StatelessEndpoints
-
Adds these endpoints to the chain.
- configure(HttpSecurity) - Method in interface org.jwcarman.who.spring.security.StatelessLoginMethod
-
Adds this login method to the chain.
- configure(HttpSecurity) - Method in class org.jwcarman.who.spring.security.WhoStatelessConfigurer
-
Refuses a chain whose sessions were turned back on after this configurer: Spring's session management shares a request-only store with the chain only when it is stateless.
- confirm(HttpServletRequest) - Method in class org.jwcarman.who.emaillink.EmailAddressesController
-
Confirms an address with the link's token or the code, exactly one of them.
- confirmCode(Identity, String) - Method in class org.jwcarman.who.emaillink.EmailAddressChanges
-
Confirms the identity's request with the code from the confirmation email.
- confirmToken(Identity, String) - Method in class org.jwcarman.who.emaillink.EmailAddressChanges
-
Confirms the identity's request with the token from the confirmation link.
- consume(HttpServletRequest) - Method in class org.jwcarman.who.oidc.PendingSignUps
-
Removes the pending sign-up.
- consume(String, Instant) - Method in interface org.jwcarman.who.emaillink.EmailLinkTokenRepository
-
Atomically consumes an unexpired token.
- consume(String, Instant) - Method in class org.jwcarman.who.emaillink.JdbcEmailLinkTokenRepository
- consume(OneTimeTokenAuthenticationToken) - Method in class org.jwcarman.who.emaillink.WhoOneTimeTokenService
-
Not supported;
EmailLinkAuthenticationProviderredeems sign-ins. - consumeCode(UUID, String, Instant) - Method in interface org.jwcarman.who.emaillink.EmailAddressRequestRepository
-
Consumes a live request whose code hash matches.
- consumeCode(UUID, String, Instant) - Method in interface org.jwcarman.who.emaillink.EmailLinkTokenRepository
-
Atomically consumes an unexpired token by its code hash.
- consumeCode(UUID, String, Instant) - Method in class org.jwcarman.who.emaillink.JdbcEmailAddressRequestRepository
- consumeCode(UUID, String, Instant) - Method in class org.jwcarman.who.emaillink.JdbcEmailLinkTokenRepository
- consumeToken(UUID, String, Instant) - Method in interface org.jwcarman.who.emaillink.EmailAddressRequestRepository
-
Consumes the identity's live request with the token.
- consumeToken(UUID, String, Instant) - Method in class org.jwcarman.who.emaillink.JdbcEmailAddressRequestRepository
- contains(HttpServletRequest) - Method in record class org.jwcarman.who.spring.security.WhoPaths
-
Whether
requestis for one of who's endpoints: its path, without the context path, is the root or below it. - containsContext(HttpServletRequest) - Method in class org.jwcarman.who.spring.security.WhoSessionSecurityContextRepository
- convert(HttpServletRequest) - Method in class org.jwcarman.who.apikey.ApiKeyAuthenticationConverter
- convert(HttpServletRequest) - Method in class org.jwcarman.who.emaillink.JsonOneTimeTokenAuthenticationConverter
- convert(Jwt) - Method in class org.jwcarman.who.jwt.WhoJwtAuthenticationConverter
- cookie(String) - Method in class org.jwcarman.who.test.WhoMockMvcBrowser
-
Returns a cookie the browser currently holds.
- count() - Method in record class org.jwcarman.who.core.event.EndedSessionsPurged
-
Returns the value of the
countrecord component. - count() - Method in record class org.jwcarman.who.core.event.OrphanedCredentialsPurged
-
Returns the value of the
countrecord component. - count(Optional, Optional, Optional) - Method in interface org.jwcarman.who.core.repository.IdentityRepository
-
Counts the identities
IdentityRepository.findPage(Optional, Optional, Optional, int, int)pages through for the same filters. - count(Optional, Optional, Optional) - Method in class org.jwcarman.who.jdbc.JdbcIdentityRepository
- count(UUID) - Method in interface org.jwcarman.who.core.service.SignInCredentialCounter
-
Counts the credentials of this kind that the identity holds.
- count(UUID) - Method in class org.jwcarman.who.emaillink.EmailSignInCredentialCounter
- count(UUID) - Method in class org.jwcarman.who.oidc.OidcSignInCredentialCounter
- count(UUID) - Method in class org.jwcarman.who.passkey.PasskeySignInCredentialCounter
- counts(UUID) - Method in class org.jwcarman.who.core.service.LastCredentialGuard
-
Counts the identity's sign-in credentials by kind.
- create() - Static method in record class org.jwcarman.who.core.domain.Identity
-
Creates a new
ACTIVEIdentitywith a generated UUID and both timestamps set to now. - create(HttpServletRequest) - Method in class org.jwcarman.who.apikey.ApiKeysController
-
Makes a key.
- create(String) - Static method in record class org.jwcarman.who.emaillink.EmailCredential
-
Creates a credential with a new id for the given address.
- create(String) - Static method in record class org.jwcarman.who.rbac.Role
-
Static factory method for creating a new Role with a generated UUID.
- create(String, String) - Static method in record class org.jwcarman.who.federated.FederatedCredential
-
Creates a new
FederatedCredentialwith a randomly generated UUID. - create(Supplier) - Static method in class org.jwcarman.who.spring.security.RecentSignInMethodInterceptor
-
Creates the interceptor.
- create(UUID, String) - Method in class org.jwcarman.who.passkey.JdbcWhoPasskeyUserRepository
-
Returns the identity's user entity, creating it if it does not exist.
- create(Identity, String, Duration, Set) - Method in class org.jwcarman.who.apikey.ApiKeyService
-
Makes a key for an identity.
- create(Identity, Duration) - Static method in record class org.jwcarman.who.enrollment.EnrollmentToken
-
Creates a new PENDING enrollment token for the given identity.
- create(Identity, Duration, Instant) - Static method in record class org.jwcarman.who.enrollment.EnrollmentToken
-
Creates a new PENDING enrollment token for the given identity, stamped from the given instant.
- create(IdentityStatus) - Static method in record class org.jwcarman.who.core.domain.Identity
-
Creates a new
Identitywith a generated UUID and both timestamps set to now. - createCredentialRequestOptions(PublicKeyCredentialRequestOptionsRequest) - Method in class org.jwcarman.who.passkey.WhoRelyingPartyOperations
- created() - Method in record class org.jwcarman.who.emaillink.EmailCredential
-
When the credential was registered, read from its id: a UUIDv7 begins with its creation time in milliseconds. who does not store it separately.
- created() - Method in record class org.jwcarman.who.passkey.PasskeySummary
-
Returns the value of the
createdrecord component. - CreatedApiKey - Record Class in org.jwcarman.who.apikey
-
An API key just made or rotated: the only answer that holds the raw key.
- CreatedApiKey(String, String, List, String, String) - Constructor for record class org.jwcarman.who.apikey.CreatedApiKey
-
Creates an instance of a
CreatedApiKeyrecord class. - createdAt() - Method in record class org.jwcarman.who.admin.IdentityView
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class org.jwcarman.who.apikey.ApiKey
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class org.jwcarman.who.apikey.ApiKeyCredential
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class org.jwcarman.who.apikey.ApiKeyView
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class org.jwcarman.who.core.domain.Identity
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class org.jwcarman.who.emaillink.EmailAddressRequest
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class org.jwcarman.who.emaillink.EmailAddressView
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class org.jwcarman.who.enrollment.EnrollmentToken
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class org.jwcarman.who.passkey.PasskeyView
-
Returns the value of the
createdAtrecord component. - createdAt(UUID) - Static method in class org.jwcarman.who.core.id.Identifiers
-
When an identifier was generated, read from
id: a UUIDv7 begins with its creation time in milliseconds. - createDecoder(ClientRegistration) - Method in class org.jwcarman.who.oidc.IssuerValidatingIdTokenDecoderFactory
- createdFor() - Method in record class org.jwcarman.who.oidc.PendingSignUp
-
Returns the value of the
createdForrecord component. - CreatedInvitation - Record Class in org.jwcarman.who.admin
-
The answer to
POST /who/invitations. - CreatedInvitation(UUID, boolean) - Constructor for record class org.jwcarman.who.admin.CreatedInvitation
-
Creates an instance of a
CreatedInvitationrecord class. - createIdentity() - Method in class org.jwcarman.who.core.service.WhoService
-
Creates a new
Identitywith a generated UUID andIdentityStatus.ACTIVEstatus. - createPublicKeyCredentialCreationOptions(PublicKeyCredentialCreationOptionsRequest) - Method in class org.jwcarman.who.passkey.WhoRelyingPartyOperations
-
Creates who's user entity for the signed-in identity, if it has none, or refreshes its name, then delegates.
- createRole(String) - Method in class org.jwcarman.who.rbac.RbacService
-
Creates a new role with the given name.
- createRole(R) - Method in class org.jwcarman.who.rbac.RbacService
-
Creates a new role whose name is derived from the enum constant.
- createToken(Identity) - Method in class org.jwcarman.who.enrollment.WhoEnrollmentService
-
Creates and persists a new enrollment token for the given identity.
- Credential - Interface in org.jwcarman.who.core.spi
-
Marker interface for credential types.
- CREDENTIAL_REVOKED - Enum constant in enum class org.jwcarman.who.core.event.SessionEndReason
-
The credential that established the session was revoked.
- CredentialAdded - Record Class in org.jwcarman.who.core.event
-
A credential was added to an identity.
- CredentialAdded(Instant, UUID, UUID, CredentialKind, String) - Constructor for record class org.jwcarman.who.core.event.CredentialAdded
-
Validates that the required components are not null.
- CredentialAlreadyLinkedException - Exception Class in org.jwcarman.who.enrollment
-
Thrown when the credential being enrolled is already linked to an identity.
- CredentialAlreadyLinkedException(UUID) - Constructor for exception class org.jwcarman.who.enrollment.CredentialAlreadyLinkedException
-
Creates a new exception.
- credentialId() - Method in record class org.jwcarman.who.core.domain.SessionRecord
-
Returns the value of the
credentialIdrecord component. - credentialId() - Method in record class org.jwcarman.who.core.event.CredentialAdded
-
Returns the value of the
credentialIdrecord component. - credentialId() - Method in record class org.jwcarman.who.core.event.CredentialRevoked
-
Returns the value of the
credentialIdrecord component. - credentialId() - Method in record class org.jwcarman.who.core.event.SessionEnded
-
Returns the value of the
credentialIdrecord component. - credentialId() - Method in record class org.jwcarman.who.core.event.SignedOut
-
Returns the value of the
credentialIdrecord component. - credentialId() - Method in record class org.jwcarman.who.core.event.SignInFailed
-
Returns the value of the
credentialIdrecord component. - credentialId() - Method in record class org.jwcarman.who.core.event.SignInSucceeded
-
Returns the value of the
credentialIdrecord component. - credentialId() - Method in record class org.jwcarman.who.emaillink.AddedEmailAddress
-
Returns the value of the
credentialIdrecord component. - credentialId() - Method in record class org.jwcarman.who.emaillink.EmailCodeAttempt
-
Returns the value of the
credentialIdrecord component. - credentialId() - Method in record class org.jwcarman.who.oidc.OidcSignUpService.SignedUp
-
Returns the value of the
credentialIdrecord component. - credentialId() - Method in record class org.jwcarman.who.passkey.PasskeySummary
-
Returns the value of the
credentialIdrecord component. - credentialId() - Method in record class org.jwcarman.who.passkey.PasskeyView
-
Returns the value of the
credentialIdrecord component. - credentialId() - Method in class org.jwcarman.who.spring.security.WhoAuthenticationToken
-
Returns the id of the credential used to authenticate, if known.
- credentialId() - Method in record class org.jwcarman.who.spring.security.WhoSession
-
Returns the value of the
credentialIdrecord component. - CredentialIdentityRepository - Interface in org.jwcarman.who.core.repository
-
Repository interface for managing the mapping between credential UUIDs and identity UUIDs.
- CredentialKind - Enum Class in org.jwcarman.who.core.event
-
The kind of a credential linked to an identity.
- CredentialRemover - Interface in org.jwcarman.who.core.spi
-
Deletes one credential module's credential rows.
- CredentialRevoked - Record Class in org.jwcarman.who.core.event
-
A credential was revoked from an identity.
- CredentialRevoked(Instant, UUID, UUID, CredentialKind, String) - Constructor for record class org.jwcarman.who.core.event.CredentialRevoked
-
Validates that the required components are not null.
- credentials() - Method in record class org.jwcarman.who.admin.IdentityView
-
Returns the value of the
credentialsrecord component. - credentials() - Method in record class org.jwcarman.who.spring.security.web.WhoMeController.WhoMeResponse
-
Returns the value of the
credentialsrecord component. - CREDENTIALS_ADDED - Static variable in class org.jwcarman.who.autoconfigure.WhoMetrics
-
Credentials added, tagged
kind. - CREDENTIALS_REVOKED - Static variable in class org.jwcarman.who.autoconfigure.WhoMetrics
-
Credentials revoked, tagged
kind. - credentialUuid(Bytes) - Method in class org.jwcarman.who.passkey.JdbcWhoPasskeyCredentialRepository
-
Finds the
credential_uuidof a credential id. - current() - Method in class org.jwcarman.who.apikey.ApiKeysController
-
The key that signed this request in: the one the authentication itself names, never one the client names.
- current() - Method in record class org.jwcarman.who.spring.security.SessionView
-
Returns the value of the
currentrecord component. - current(HttpServletRequest, UUID, Instant) - Method in class org.jwcarman.who.oidc.PendingSignUps
-
The pending sign-up, when there is one this browser may still use.
- currentSession(HttpServletRequest) - Method in class org.jwcarman.who.spring.security.WhoSessionSecurityContextRepository
-
Returns the session recorded for this request, without resolving the principal.
- currentSessionId(HttpServletRequest) - Method in class org.jwcarman.who.spring.security.WhoSessionSecurityContextRepository
-
Returns the id of who's record of this request's session, the one
/who/me/sessionsmarks as current.
D
- deactivate(UUID) - Method in class org.jwcarman.who.core.service.WhoService
-
Deactivates an identity: sets it
IdentityStatus.DISABLED. - deactivate(UUID, Supplier) - Method in class org.jwcarman.who.admin.LastAdminGuard
-
Runs a deactivation of
identityIdunless it is the last active holder of the permission. - decide(SignUpRequest) - Method in class org.jwcarman.who.core.signup.ClosedSignUpPolicy
-
Refuses.
- decide(SignUpRequest) - Method in interface org.jwcarman.who.core.signup.WhoSignUpPolicy
-
Decides a sign-up.
- DEFAULT_LAST_USED_INTERVAL - Static variable in class org.jwcarman.who.apikey.ApiKeyAuthenticationFilter
-
How often, at most, the convenience constructor's provider records a key's use.
- DEFAULT_PREFIX - Static variable in class org.jwcarman.who.apikey.ApiKeyFormat
-
The prefix who uses unless configured otherwise.
- DEFAULT_ROOT - Static variable in record class org.jwcarman.who.spring.security.WhoPaths
-
The root when none is configured.
- DEFAULT_VERIFY_URL - Static variable in class org.jwcarman.who.turnstile.TurnstileHumanCheck
-
Cloudflare's siteverify endpoint, the default verify URL.
- defaults() - Static method in record class org.jwcarman.who.spring.security.WhoPaths
-
The paths under
WhoPaths.DEFAULT_ROOT. - DEFAULTS - Static variable in record class org.jwcarman.who.oidc.ProviderSettings
-
Settings for a registration with nothing configured.
- delayEmails(Duration) - Method in class org.jwcarman.who.test.StubOidcProvider
-
Makes GitHub's
/user/emailswait before it answers. - delete(UUID) - Method in interface org.jwcarman.who.emaillink.EmailAddressRequestRepository
-
Deletes a request, as when its email could not be sent.
- delete(UUID) - Method in class org.jwcarman.who.emaillink.JdbcEmailAddressRequestRepository
- delete(UUID, String) - Method in interface org.jwcarman.who.emaillink.EmailLinkTokenRepository
-
Deletes the credential's token only if it is still the one with this hash, so a failed send never removes a newer link.
- delete(UUID, String) - Method in class org.jwcarman.who.emaillink.JdbcEmailLinkTokenRepository
- delete(Bytes) - Method in class org.jwcarman.who.passkey.JdbcWhoPasskeyCredentialRepository
-
Deletes a credential record and unlinks its
PasskeyCredential, then publishesCredentialRevokedif it was linked to an identity. - delete(Bytes) - Method in class org.jwcarman.who.passkey.JdbcWhoPasskeyUserRepository
-
Deletes the entity.
- deleteById(UUID) - Method in interface org.jwcarman.who.apikey.ApiKeyCredentialRepository
-
Deletes the credential with the given id.
- deleteById(UUID) - Method in class org.jwcarman.who.apikey.JdbcApiKeyCredentialRepository
- deleteById(UUID) - Method in interface org.jwcarman.who.core.repository.IdentityRepository
-
Deletes the identity with the given UUID.
- deleteById(UUID) - Method in interface org.jwcarman.who.emaillink.EmailCredentialRepository
-
Deletes a credential (and, by cascade, its link token).
- deleteById(UUID) - Method in class org.jwcarman.who.emaillink.JdbcEmailCredentialRepository
- deleteById(UUID) - Method in interface org.jwcarman.who.enrollment.EnrollmentTokenRepository
-
Deletes the token with the given id.
- deleteById(UUID) - Method in class org.jwcarman.who.enrollment.JdbcEnrollmentTokenRepository
- deleteById(UUID) - Method in interface org.jwcarman.who.federated.FederatedCredentialRepository
-
Deletes the credential with the given id.
- deleteById(UUID) - Method in class org.jwcarman.who.federated.JdbcFederatedCredentialRepository
- deleteById(UUID) - Method in class org.jwcarman.who.jdbc.JdbcIdentityRepository
- deleteById(UUID) - Method in class org.jwcarman.who.rbac.JdbcRoleRepository
- deleteById(UUID) - Method in interface org.jwcarman.who.rbac.RoleRepository
-
Deletes the role with the given id.
- deleteByIdIfPresent(UUID) - Method in class org.jwcarman.who.rbac.JdbcRoleRepository
- deleteByIdIfPresent(UUID) - Method in interface org.jwcarman.who.rbac.RoleRepository
-
Deletes the role with the given id and reports whether this call removed it.
- deleteDead(Instant, int) - Method in interface org.jwcarman.who.core.repository.SessionRecordRepository
-
Deletes up to
limitdead sessions: ended ones, and ones last seen beforeseenBefore. - deleteDead(Instant, int) - Method in class org.jwcarman.who.jdbc.JdbcSessionRecordRepository
- deleteDead(Instant, int) - Method in class org.jwcarman.who.test.InMemorySessionRecordRepository
- deleteIdentity(UUID) - Method in class org.jwcarman.who.core.service.WhoService
-
Deletes an identity together with its credentials.
- deleteRole(Role) - Method in class org.jwcarman.who.rbac.RbacService
-
Deletes the given role and cascades to all associated permissions and assignments.
- detail() - Method in record class org.jwcarman.who.spring.security.web.WhoProblem
-
Returns the value of the
detailrecord component. - device() - Method in record class org.jwcarman.who.spring.security.SessionView
-
Returns the value of the
devicerecord component. - deviceLabel(String) - Static method in class org.jwcarman.who.core.service.WhoSessions
-
A short description of a browser, such as
"Firefox on macOS", from itsUser-Agent. - DISABLED - Enum constant in enum class org.jwcarman.who.core.domain.IdentityStatus
-
May not sign in: no credential resolves to it.
- displayName() - Method in record class org.jwcarman.who.oidc.PendingSignUp
-
Returns the value of the
displayNamerecord component. - displayName() - Method in record class org.jwcarman.who.oidc.ProviderAccount
-
Returns the value of the
displayNamerecord component. - doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.jwcarman.who.apikey.ApiKeyAuthenticationFilter
-
Signs the request in on its first dispatch.
- doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.jwcarman.who.oidc.PendingSignUpFilter
- doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.jwcarman.who.passkey.PasskeyRegistrationGuardFilter
E
- Email() - Constructor for class org.jwcarman.who.autoconfigure.WhoProperties.Email
-
Creates the settings with their defaults.
- EMAIL - Enum constant in enum class org.jwcarman.who.core.event.CredentialKind
-
An email address.
- EMAIL_CODE - Enum constant in enum class org.jwcarman.who.core.event.SignInMethod
-
A one-time code sent by email.
- EMAIL_LINK - Enum constant in enum class org.jwcarman.who.core.event.SignInMethod
-
A magic link sent by email.
- EmailAddressChangedMessage - Record Class in org.jwcarman.who.emaillink
-
An email telling an address that it no longer signs in, because the identity's owner (or someone with their session) made another address theirs in its place.
- EmailAddressChangedMessage(String, String) - Constructor for record class org.jwcarman.who.emaillink.EmailAddressChangedMessage
-
Compact constructor: validates that no field is
null. - emailAddressChanges(EmailCredentialService, EmailAddressRequestRepository, ObjectProvider, ObjectProvider, EmailLinkSettings, WhoProperties, Clock, WhoEventPublisher) - Method in class org.jwcarman.who.autoconfigure.WhoEmailLinkAutoConfiguration
-
Adds or replaces an address only once its owner confirms it, by link or code.
- EmailAddressChanges - Class in org.jwcarman.who.emaillink
-
Adds an email address to a signed-in identity, or makes one theirs in place of another, only once the person confirms a link or code sent to it.
- EmailAddressChanges(EmailCredentialService, EmailAddressRequestRepository, WhoEmails, EmailLinkSettings, String, Clock, WhoEventPublisher) - Constructor for class org.jwcarman.who.emaillink.EmailAddressChanges
-
Creates the service.
- EmailAddressCodeAttempt - Record Class in org.jwcarman.who.emaillink
-
A typed confirmation code counted against a request: the request and the code hash to compare the typed code with.
- EmailAddressCodeAttempt(UUID, String) - Constructor for record class org.jwcarman.who.emaillink.EmailAddressCodeAttempt
-
Creates an instance of a
EmailAddressCodeAttemptrecord class. - EmailAddressConfirmationMessage - Record Class in org.jwcarman.who.emaillink
-
An email asking the person to confirm an address they asked to add to their identity, or to make their address in place of another: the link and the typed code that both confirm it.
- EmailAddressConfirmationMessage(String, String, String, Instant, Duration, boolean) - Constructor for record class org.jwcarman.who.emaillink.EmailAddressConfirmationMessage
-
Compact constructor: validates that no field is
null. - EmailAddressConfirmationRequested - Record Class in org.jwcarman.who.emaillink
-
A signed-in identity asked at
POST /who/me/email-addressesto add an email address, or to make one theirs in place of another, published once per request with what became of it. - EmailAddressConfirmationRequested(Instant, UUID, String, boolean, EmailAddressRequestOutcome) - Constructor for record class org.jwcarman.who.emaillink.EmailAddressConfirmationRequested
-
Validates that the required components are not null.
- emailAddresses() - Method in record class org.jwcarman.who.admin.IdentityView
-
Returns the value of the
emailAddressesrecord component. - EmailAddressesController - Class in org.jwcarman.who.emaillink
-
POST /who/me/email-addressesasks to add an address, or to change one (replaces), andPOST /who/me/email-addresses/confirmationsconfirms it with the link's token or the code. - EmailAddressesController(EmailAddressChanges, EmailCredentialService, LastCredentialGuard, WhoSessionSecurityContextRepository, Executor, JsonMapper, Clock, Duration) - Constructor for class org.jwcarman.who.emaillink.EmailAddressesController
-
Creates the controller.
- EmailAddressRequest - Record Class in org.jwcarman.who.emaillink
-
A signed-in person's request to add an email address to their identity, or to make it theirs in place of another, waiting for them to confirm the link or code sent to it.
- EmailAddressRequest(UUID, UUID, String, UUID, Instant, Instant) - Constructor for record class org.jwcarman.who.emaillink.EmailAddressRequest
-
Validates that the required components are not null.
- EmailAddressRequestOutcome - Enum Class in org.jwcarman.who.emaillink
-
What became of a request to add or change an email address.
- emailAddressRequestRepository(JdbcClient) - Method in class org.jwcarman.who.autoconfigure.WhoEmailLinkAutoConfiguration
-
Pending address changes, until they are confirmed or expire.
- EmailAddressRequestRepository - Interface in org.jwcarman.who.emaillink
-
Stores the requests to add or change an email address, one per identity.
- EmailAddressTakenException - Exception Class in org.jwcarman.who.emaillink
-
Thrown when an email address is already registered.
- EmailAddressTakenException() - Constructor for exception class org.jwcarman.who.emaillink.EmailAddressTakenException
-
Creates a new exception.
- EmailAddressView - Record Class in org.jwcarman.who.emaillink
-
One of the caller's email addresses, as
GET /who/me/email-addresseslists it. - EmailAddressView(String, String, String) - Constructor for record class org.jwcarman.who.emaillink.EmailAddressView
-
Creates an instance of a
EmailAddressViewrecord class. - EmailCode(String, String) - Constructor for record class org.jwcarman.who.emaillink.EmailSignInProof.EmailCode
-
Compact constructor: validates that neither field is
null. - EmailCodeAttempt - Record Class in org.jwcarman.who.emaillink
-
A counted attempt at a sign-in code: the credential it belongs to and the stored code hash to compare the submitted code against.
- EmailCodeAttempt(UUID, String) - Constructor for record class org.jwcarman.who.emaillink.EmailCodeAttempt
-
Creates an instance of a
EmailCodeAttemptrecord class. - EmailCodeHasher - Class in org.jwcarman.who.emaillink
-
Hashes sign-in codes with a keyed HMAC-SHA256, bound to the credential they were issued for.
- EmailCodeHasher(String) - Constructor for class org.jwcarman.who.emaillink.EmailCodeHasher
-
Creates a hasher.
- EmailCredential - Record Class in org.jwcarman.who.emaillink
-
Credential representing an email address linked to an identity.
- EmailCredential(UUID, String) - Constructor for record class org.jwcarman.who.emaillink.EmailCredential
-
Compact constructor: validates that no field is
null. - EmailCredentialNotFoundException - Exception Class in org.jwcarman.who.emaillink
-
A request named an email address to replace that is not one of the caller's own.
- EmailCredentialNotFoundException() - Constructor for exception class org.jwcarman.who.emaillink.EmailCredentialNotFoundException
-
Creates the exception.
- emailCredentialRepository(JdbcClient) - Method in class org.jwcarman.who.autoconfigure.WhoEmailLinkAutoConfiguration
-
The repository is also this module's
CredentialRemover; its declared type exposes both, soWhoServicefinds it without a second bean. - EmailCredentialRepository - Interface in org.jwcarman.who.emaillink
-
Storage for
EmailCredentials. - emailCredentialService(EmailCredentialRepository, CredentialIdentityRepository, WhoEventPublisher, Clock) - Method in class org.jwcarman.who.autoconfigure.WhoEmailLinkAutoConfiguration
-
Adds, finds and revokes the email addresses people sign in with.
- EmailCredentialService - Class in org.jwcarman.who.emaillink
-
Registers and revokes email credentials, publishing
CredentialAddedandCredentialRevokedfor each change. - EmailCredentialService(EmailCredentialRepository, CredentialIdentityRepository) - Constructor for class org.jwcarman.who.emaillink.EmailCredentialService
-
Creates a new service that publishes no events.
- EmailCredentialService(EmailCredentialRepository, CredentialIdentityRepository, WhoEventPublisher, Clock) - Constructor for class org.jwcarman.who.emaillink.EmailCredentialService
-
Creates a new service.
- EmailLink() - Constructor for class org.jwcarman.who.autoconfigure.WhoProperties.EmailLink
-
Creates the settings with their defaults.
- EmailLinkAuthenticationProvider - Class in org.jwcarman.who.emaillink
-
Authenticates an email sign-in, by the token from the link or by the address and the code typed by hand, then resolves its email credential to an active identity.
- EmailLinkAuthenticationProvider(EmailLinkTokenRepository, EmailLinkSettings, WhoService, Clock) - Constructor for class org.jwcarman.who.emaillink.EmailLinkAuthenticationProvider
-
Creates a new provider that publishes no events.
- EmailLinkAuthenticationProvider(EmailLinkTokenRepository, EmailLinkSettings, WhoService, Clock, WhoEventPublisher) - Constructor for class org.jwcarman.who.emaillink.EmailLinkAuthenticationProvider
-
Creates a new provider.
- emailLinkGenerationSuccessHandler(EmailLinkIssuer, Executor) - Method in class org.jwcarman.who.autoconfigure.WhoEmailLinkAutoConfiguration
-
Answers a link request at once and issues the link on
the executor, so a known and an unknown address answer alike. - EmailLinkGenerationSuccessHandler - Class in org.jwcarman.who.emaillink
-
Answers
POST /who/email/sendwith202at once and hands the real work toEmailLinkIssueron another thread, so the response time does not reveal whether the address is known. - EmailLinkGenerationSuccessHandler(EmailLinkIssuer, Executor) - Constructor for class org.jwcarman.who.emaillink.EmailLinkGenerationSuccessHandler
-
Creates a new handler.
- EmailLinkIdentityEmails - Class in org.jwcarman.who.admin
-
The addresses of who's email sign-in.
- EmailLinkIdentityEmails(EmailCredentialService, CredentialIdentityRepository) - Constructor for class org.jwcarman.who.admin.EmailLinkIdentityEmails
-
Creates the adapter.
- emailLinkIssuer(EmailCredentialService, WhoService, EmailLinkTokenRepository, ObjectProvider, ObjectProvider, EmailLinkSettings, Clock, WhoEventPublisher, ObjectProvider) - Method in class org.jwcarman.who.autoconfigure.WhoEmailLinkAutoConfiguration
-
Issues a sign-in link and code and sends them, only to the address of an active identity and not again within the resend interval.
- EmailLinkIssuer - Class in org.jwcarman.who.emaillink
-
Does the real work behind
POST /who/email/send, off the request thread: looks up the address, stores the token's hash (the upsert that is also the resend limit), and sends the link. - EmailLinkIssuer(EmailCredentialService, WhoService, EmailLinkTokenRepository, WhoEmails, EmailLinkSettings, Clock) - Constructor for class org.jwcarman.who.emaillink.EmailLinkIssuer
-
Creates a new issuer that publishes no events.
- EmailLinkIssuer(EmailCredentialService, WhoService, EmailLinkTokenRepository, WhoEmails, EmailLinkSettings, Clock, WhoEventPublisher) - Constructor for class org.jwcarman.who.emaillink.EmailLinkIssuer
-
Creates a new issuer that publishes events and records no observations.
- EmailLinkIssuer(EmailCredentialService, WhoService, EmailLinkTokenRepository, WhoEmails, EmailLinkSettings, Clock, WhoEventPublisher, ObservationRegistry) - Constructor for class org.jwcarman.who.emaillink.EmailLinkIssuer
-
Creates a new issuer that observes each
EmailLinkIssuer.issue(String, String)as "who.sign-in.email.issue". - emailLinkLoginMethod(WhoOneTimeTokenService, JsonGenerateOneTimeTokenRequestResolver, EmailLinkGenerationSuccessHandler, ObjectProvider, JsonAuthenticationHandlers, WhoService, EmailLinkTokenRepository, EmailLinkSettings, Clock, WhoEventPublisher, WhoPaths) - Method in class org.jwcarman.who.autoconfigure.WhoEmailLinkAutoConfiguration
-
The provider and the converter are built here rather than published as beans: a lone
AuthenticationProviderbean would become Spring Security's global one and switch off the application'sUserDetailsService, and Spring's resource server takes anyAuthenticationConverterbean as its own, so bearer requests would be read as sign-in codes. - EmailLinkLoginMethod - Class in org.jwcarman.who.emaillink
-
Email-link sign-in through Spring Security's
oneTimeTokenLogin(), underwho.base-path(POST /who/email/send,POST /who/email/sign-inby default), with who's hooks and no default pages. - EmailLinkLoginMethod(WhoPaths, OneTimeTokenService, GenerateOneTimeTokenRequestResolver, OneTimeTokenGenerationSuccessHandler, AuthenticationConverter, AuthenticationProvider, AuthenticationSuccessHandler, AuthenticationFailureHandler) - Constructor for class org.jwcarman.who.emaillink.EmailLinkLoginMethod
-
Creates a new login method.
- EmailLinkMessage - Record Class in org.jwcarman.who.emaillink
-
A sign-in email to deliver: the link and the typed code that both complete the same sign-in.
- EmailLinkMessage(String, String, String, Instant, Duration) - Constructor for record class org.jwcarman.who.emaillink.EmailLinkMessage
-
Compact constructor: validates that no field is
null. - EmailLinkOutcome - Enum Class in org.jwcarman.who.emaillink
-
What
EmailLinkIssuer.issue(String, String)did with a request. - emailLinkSettings(WhoProperties) - Method in class org.jwcarman.who.autoconfigure.WhoEmailLinkAutoConfiguration
-
Email-link sign-in's settings, from
who.email-link.*. - EmailLinkSettings - Record Class in org.jwcarman.who.emaillink
-
Settings for email sign-in links.
- EmailLinkSettings(String, Duration, Duration, int, int, String) - Constructor for record class org.jwcarman.who.emaillink.EmailLinkSettings
-
Compact constructor: validates that no field is
null,codeLengthis at least 6,codeMaxAttemptsis at least 1 andcodeSecretis not blank and has at least 32 characters. - emailLinkTokenRepository(JdbcClient) - Method in class org.jwcarman.who.autoconfigure.WhoEmailLinkAutoConfiguration
-
The issued links and codes, kept as hashes until they are used or expire.
- EmailLinkTokenRepository - Interface in org.jwcarman.who.emaillink
-
Storage for sign-in link tokens.
- EmailPasskeyAddedNotifier - Class in org.jwcarman.who.passkey
-
Emails a
PasskeyAddedMessageto the identity's owner throughWhoEmails. - EmailPasskeyAddedNotifier(WhoEmails, Function) - Constructor for class org.jwcarman.who.passkey.EmailPasskeyAddedNotifier
-
Creates a new notifier.
- emailRequests() - Method in class org.jwcarman.who.test.StubOidcProvider
-
How many times GitHub's
/user/emailshas been called. - EmailSignInAuthenticationToken - Class in org.jwcarman.who.emaillink
-
An unauthenticated email sign-in request carrying its
EmailSignInProof, as read byJsonOneTimeTokenAuthenticationConverterand authenticated byEmailLinkAuthenticationProvider. - EmailSignInAuthenticationToken(EmailSignInProof) - Constructor for class org.jwcarman.who.emaillink.EmailSignInAuthenticationToken
-
Creates an unauthenticated sign-in request.
- emailSignInCredentialCounter(JdbcClient) - Method in class org.jwcarman.who.autoconfigure.WhoEmailLinkAutoConfiguration
-
Counts email addresses for the last-credential rule.
- EmailSignInCredentialCounter - Class in org.jwcarman.who.emaillink
-
Counts an identity's email addresses, for the last-credential rule.
- EmailSignInCredentialCounter(JdbcClient) - Constructor for class org.jwcarman.who.emaillink.EmailSignInCredentialCounter
-
Creates the counter.
- EmailSignInProof - Interface in org.jwcarman.who.emaillink
-
What a sign-in request at
POST /who/email/sign-inpresents: the token from the emailed link, the address and code typed by hand, or something malformed. - EmailSignInProof.EmailCode - Record Class in org.jwcarman.who.emaillink
-
An address and the code from the email, both exactly as typed.
- EmailSignInProof.LinkToken - Record Class in org.jwcarman.who.emaillink
-
The token from the emailed link.
- EmailSignInProof.Malformed - Record Class in org.jwcarman.who.emaillink
-
A request that is neither a link token nor an address and code.
- enabled() - Method in record class org.jwcarman.who.oidc.ProviderSettings
-
Returns the value of the
enabledrecord component. - end(UUID) - Method in class org.jwcarman.who.core.service.WhoSessions
-
Ends a live session; its next request is signed out.
- end(UUID, Instant) - Method in interface org.jwcarman.who.core.repository.SessionRecordRepository
-
Ends a session that is not already ended.
- end(UUID, Instant) - Method in class org.jwcarman.who.jdbc.JdbcSessionRecordRepository
- end(UUID, Instant) - Method in class org.jwcarman.who.test.InMemorySessionRecordRepository
- endAll(UUID) - Method in class org.jwcarman.who.core.service.WhoSessions
-
Ends every live session of an identity, for instance after it reports a lost device.
- endAllExcept(UUID, UUID) - Method in class org.jwcarman.who.core.service.WhoSessions
-
Ends every live session of an identity but one, usually the one asking.
- ended() - Method in record class org.jwcarman.who.spring.security.EndedSessions
-
Returns the value of the
endedrecord component. - endedAt() - Method in record class org.jwcarman.who.core.domain.SessionRecord
-
Returns the value of the
endedAtrecord component. - EndedSessions - Record Class in org.jwcarman.who.spring.security
-
The answer of
DELETE /who/me/sessions?others=true. - EndedSessions(int) - Constructor for record class org.jwcarman.who.spring.security.EndedSessions
-
Creates an instance of a
EndedSessionsrecord class. - EndedSessionsPurged - Record Class in org.jwcarman.who.core.event
-
Records of ended or abandoned sessions were deleted.
- EndedSessionsPurged(Instant, int) - Constructor for record class org.jwcarman.who.core.event.EndedSessionsPurged
-
Validates that the timestamp is not null.
- endOne(String, HttpServletRequest, HttpServletResponse) - Method in class org.jwcarman.who.spring.security.SessionsController
-
Ends one of the caller's sessions: the caller's own signs this browser out; any other needs a recent sign-in.
- endOthers(String, HttpServletRequest) - Method in class org.jwcarman.who.spring.security.SessionsController
-
Ends every one of the caller's sessions but this one.
- enroll(String, Credential) - Method in class org.jwcarman.who.enrollment.WhoEnrollmentService
-
Redeems an enrollment token, linking the credential to the identity.
- Enrollment() - Constructor for class org.jwcarman.who.autoconfigure.WhoProperties.Enrollment
-
Creates the settings with their defaults.
- EnrollmentIdentityInactiveException - Exception Class in org.jwcarman.who.enrollment
-
Thrown when an enrollment is attempted for an identity that is not
ACTIVE. - EnrollmentIdentityInactiveException(UUID) - Constructor for exception class org.jwcarman.who.enrollment.EnrollmentIdentityInactiveException
-
Creates a new exception.
- EnrollmentToken - Record Class in org.jwcarman.who.enrollment
-
An immutable enrollment token that links a
Credentialto a pre-existingIdentity. - EnrollmentToken(UUID, UUID, String, EnrollmentTokenStatus, Instant, Instant, Instant) - Constructor for record class org.jwcarman.who.enrollment.EnrollmentToken
-
Compact constructor for null-safety validation.
- EnrollmentTokenCreated - Record Class in org.jwcarman.who.enrollment
-
An enrollment token was created for an identity.
- EnrollmentTokenCreated(Instant, UUID, UUID) - Constructor for record class org.jwcarman.who.enrollment.EnrollmentTokenCreated
-
Validates that no component is null.
- EnrollmentTokenExpiredException - Exception Class in org.jwcarman.who.enrollment
-
Thrown when an enrollment token has passed its expiration time.
- EnrollmentTokenExpiredException(UUID) - Constructor for exception class org.jwcarman.who.enrollment.EnrollmentTokenExpiredException
-
Creates a new exception for the given token id.
- EnrollmentTokenNotFoundException - Exception Class in org.jwcarman.who.enrollment
-
Thrown when an enrollment token cannot be found.
- EnrollmentTokenNotFoundException() - Constructor for exception class org.jwcarman.who.enrollment.EnrollmentTokenNotFoundException
-
Creates a new exception.
- EnrollmentTokenNotPendingException - Exception Class in org.jwcarman.who.enrollment
-
Thrown when an enrollment token cannot be redeemed because it is not in
PENDINGstatus (e.g. already redeemed or revoked). - EnrollmentTokenNotPendingException(UUID, EnrollmentTokenStatus) - Constructor for exception class org.jwcarman.who.enrollment.EnrollmentTokenNotPendingException
-
Creates a new exception for the given token id and status.
- enrollmentTokenRepository(JdbcClient) - Method in class org.jwcarman.who.autoconfigure.WhoEnrollmentAutoConfiguration
-
The enrollment tokens handed out to invite people, with each one's status.
- EnrollmentTokenRepository - Interface in org.jwcarman.who.enrollment
-
Repository for persisting and retrieving
EnrollmentTokeninstances. - EnrollmentTokenRevoked - Record Class in org.jwcarman.who.enrollment
-
An enrollment token was revoked, by request or because a newer token replaced it.
- EnrollmentTokenRevoked(Instant, UUID, UUID) - Constructor for record class org.jwcarman.who.enrollment.EnrollmentTokenRevoked
-
Validates that no component is null.
- EnrollmentTokenStatus - Enum Class in org.jwcarman.who.enrollment
-
Lifecycle status of an
EnrollmentToken. - equals(Object) - Method in record class org.jwcarman.who.admin.CreatedInvitation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.admin.IdentityPage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.admin.IdentityView
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.admin.RoleView
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.apikey.ApiKey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.jwcarman.who.apikey.ApiKeyAuthenticationToken
-
Two requests are equal when Spring's token fields are, which include the key (or its erasure), and both are API-key requests.
- equals(Object) - Method in record class org.jwcarman.who.apikey.ApiKeyCredential
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.apikey.ApiKeyView
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.apikey.CreatedApiKey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.apikey.NewApiKey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.domain.Identity
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.domain.SessionRecord
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.domain.WhoPrincipal
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.email.OutgoingEmail
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.event.CredentialAdded
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.event.CredentialRevoked
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.event.EndedSessionsPurged
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.event.IdentityCreated
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.event.IdentityDeactivated
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.event.IdentityDeleted
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.event.IdentityReactivated
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.event.OrphanedCredentialsPurged
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.event.SessionEnded
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.event.SignedOut
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.event.SignInFailed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.event.SignInSucceeded
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.service.Resolution.Inactive
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.service.Resolution.NoIdentity
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.service.Resolution.NotLinked
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.service.Resolution.Resolved
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.signup.SignUpDecision.Allow
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.signup.SignUpDecision.Refuse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.core.signup.SignUpRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.email.WhoEmailMessages
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.email.WhoEmailTemplates
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.emaillink.AddedEmailAddress
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.emaillink.EmailAddressChangedMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.emaillink.EmailAddressCodeAttempt
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationRequested
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.emaillink.EmailAddressRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.emaillink.EmailAddressView
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.emaillink.EmailCodeAttempt
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.emaillink.EmailCredential
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.emaillink.EmailLinkMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.emaillink.EmailLinkSettings
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.jwcarman.who.emaillink.EmailSignInAuthenticationToken
- equals(Object) - Method in record class org.jwcarman.who.emaillink.EmailSignInProof.EmailCode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.emaillink.EmailSignInProof.LinkToken
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.emaillink.EmailSignInProof.Malformed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.emaillink.IdentityInvited
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.emaillink.Invitation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.emaillink.InvitationMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.emaillink.SignInEmailRequested
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.enrollment.EnrollmentToken
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.enrollment.EnrollmentTokenCreated
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.enrollment.EnrollmentTokenRevoked
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.federated.FederatedCredential
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.oidc.LinkedAccountView
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.oidc.OidcSignUpService.SignedUp
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.oidc.PendingSignUp
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.oidc.ProviderAccount
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.oidc.ProviderSettings
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.oidc.SignInRegistration
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.passkey.PasskeyAddedMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.passkey.PasskeyCredential
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.passkey.PasskeyRegistrationRefused
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.passkey.PasskeySettings
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.passkey.PasskeySummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.passkey.PasskeyView
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.rbac.Role
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.rbac.RoleAssigned
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.rbac.RoleCreated
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.rbac.RoleDeleted
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.rbac.RolePermissionAdded
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.rbac.RolePermissionRemoved
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.rbac.RoleUnassigned
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.spring.security.EndedSessions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.spring.security.HumanCheckPerformed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.spring.security.HumanCheckRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.spring.security.SessionView
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.spring.security.web.WhoMeController.WhoMeResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.spring.security.web.WhoProblem
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.jwcarman.who.spring.security.WhoAuthenticationToken
- equals(Object) - Method in record class org.jwcarman.who.spring.security.WhoCaller.Other
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.spring.security.WhoCaller.Session
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.spring.security.WhoCaller.SessionWithForeignCredential
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.spring.security.WhoCaller.SignedOut
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.spring.security.WhoCaller.Stateless
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.spring.security.WhoPaths
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.spring.security.WhoSession
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jwcarman.who.turnstile.TurnstileAnswer
-
Indicates whether some other object is "equal to" this one.
- eraseCredentials() - Method in class org.jwcarman.who.apikey.ApiKeyAuthenticationToken
-
Forgets the raw key.
- ERROR - Enum constant in enum class org.jwcarman.who.spring.security.HumanCheckOutcome
-
The check threw, so the request was refused.
- ERROR - Static variable in class org.jwcarman.who.core.observation.WhoObservations
-
The "outcome" of work that threw.
- ERROR_CODE - Static variable in exception class org.jwcarman.who.core.exception.LastCredentialException
-
The code the web layer sends in its
Who-Errorheader. who-core has no web layer, so it cannot implement who'sWhoErrorCode; the code is the same public contract. - ERROR_PAGE - Static variable in class org.jwcarman.who.spring.security.WhoPublicPaths
-
Spring Boot's error page, so an error answer is never hidden behind a
401. - errorCode() - Method in exception class org.jwcarman.who.admin.IdentityNotFoundException
-
Returns
identity-not-found. - errorCode() - Method in exception class org.jwcarman.who.admin.IdentityOutranksCallerException
-
Returns
identity-outranks-caller. - errorCode() - Method in exception class org.jwcarman.who.admin.InvalidAdminRequestException
-
Returns
invalid-request. - errorCode() - Method in exception class org.jwcarman.who.admin.LastAdminException
-
Returns
last-admin. - errorCode() - Method in exception class org.jwcarman.who.admin.PermissionRequiredException
-
Returns
permission-required. - errorCode() - Method in exception class org.jwcarman.who.admin.RoleGrantForbiddenException
-
Returns
role-grant-forbidden. - errorCode() - Method in exception class org.jwcarman.who.admin.SelfDeactivationException
-
Returns
self-deactivation. - errorCode() - Method in exception class org.jwcarman.who.admin.UnknownRoleException
-
Returns
unknown-role. - errorCode() - Method in exception class org.jwcarman.who.apikey.ApiKeyCannotManageKeysException
-
Returns
api-key-cannot-manage-keys. - errorCode() - Method in exception class org.jwcarman.who.apikey.ApiKeyNotFoundException
-
Returns
api-key-not-found. - errorCode() - Method in exception class org.jwcarman.who.apikey.InvalidApiKeyRequestException
-
Returns
invalid-request. - errorCode() - Method in exception class org.jwcarman.who.core.exception.LastCredentialException
-
Returns the code the web layer sends in its
Who-Errorheader. - errorCode() - Method in exception class org.jwcarman.who.emaillink.EmailAddressTakenException
-
Returns
email-address-taken. - errorCode() - Method in exception class org.jwcarman.who.emaillink.EmailCredentialNotFoundException
-
Returns
email-address-not-found. - errorCode() - Method in exception class org.jwcarman.who.emaillink.InvalidEmailAddressConfirmationException
-
Returns
invalid-confirmation. - errorCode() - Method in exception class org.jwcarman.who.emaillink.InvalidInvitationException
-
Returns
invalid-request. - errorCode() - Method in exception class org.jwcarman.who.oidc.AlreadyLinkedException
-
Returns
already-linked. - errorCode() - Method in exception class org.jwcarman.who.oidc.LinkedAccountNotFoundException
-
Returns
linked-account-not-found. - errorCode() - Method in exception class org.jwcarman.who.oidc.PendingSignUpNotFoundException
-
Returns
no-pending-sign-up. - errorCode() - Method in exception class org.jwcarman.who.oidc.SignUpRefusedException
-
Returns
sign-up-refused. - errorCode() - Method in exception class org.jwcarman.who.oidc.UnknownProviderException
-
Returns
unknown-provider. - errorCode() - Method in exception class org.jwcarman.who.passkey.PasskeyNotFoundException
-
Returns
passkey-not-found. - errorCode() - Method in exception class org.jwcarman.who.spring.security.web.BrowserSessionRequiredException
-
Returns
browser-session-required. - errorCode() - Method in exception class org.jwcarman.who.spring.security.web.HumanCheckFailedException
- errorCode() - Method in exception class org.jwcarman.who.spring.security.web.InsufficientUserAuthenticationException
-
Returns
insufficient-user-authentication. - errorCode() - Method in exception class org.jwcarman.who.spring.security.web.InvalidPasskeyRegistrationException
-
Returns
invalid-passkey-registration. - errorCode() - Method in exception class org.jwcarman.who.spring.security.web.NotSignedInException
-
Returns
not-signed-in. - errorCode() - Method in exception class org.jwcarman.who.spring.security.web.ReauthenticationRequiredException
-
Returns
reauthentication-required. - errorCode() - Method in exception class org.jwcarman.who.spring.security.web.RecentSignInUnavailableException
-
Returns
recent-sign-in-unavailable. - errorCode() - Method in exception class org.jwcarman.who.spring.security.web.SessionNotFoundException
-
Returns
session-not-found. - errorCode() - Method in exception class org.jwcarman.who.spring.security.web.SignInFailedException
-
Returns
sign-in-failed. - errorCode() - Method in interface org.jwcarman.who.spring.security.web.WhoErrorCode
-
Returns the code sent in the "Who-Error" header.
- errorCodes() - Method in record class org.jwcarman.who.turnstile.TurnstileAnswer
-
Returns the value of the
errorCodesrecord component. - existsById(UUID) - Method in interface org.jwcarman.who.core.repository.IdentityRepository
-
Returns whether an identity with the given UUID exists.
- existsById(UUID) - Method in class org.jwcarman.who.jdbc.JdbcIdentityRepository
- existsById(UUID) - Method in class org.jwcarman.who.rbac.JdbcRoleRepository
- existsById(UUID) - Method in interface org.jwcarman.who.rbac.RoleRepository
-
Returns true if a role with the given id exists.
- expireBy(UUID, Instant, Instant) - Method in interface org.jwcarman.who.apikey.ApiKeyCredentialRepository
-
Brings a live key's expiry forward to
expiresAt, never later than it already is, in one statement, so rotations that race each other leave the earliest expiry. - expireBy(UUID, Instant, Instant) - Method in class org.jwcarman.who.apikey.JdbcApiKeyCredentialRepository
- expired() - Method in record class org.jwcarman.who.apikey.ApiKey
-
Returns the value of the
expiredrecord component. - EXPIRED_KEY - Enum constant in enum class org.jwcarman.who.core.event.SignInFailureReason
-
The API key has expired.
- expiredAt(Instant) - Method in record class org.jwcarman.who.apikey.ApiKeyCredential
-
Whether the key has expired.
- expiresAt() - Method in record class org.jwcarman.who.apikey.ApiKey
-
Returns the value of the
expiresAtrecord component. - expiresAt() - Method in record class org.jwcarman.who.apikey.ApiKeyCredential
-
Returns the value of the
expiresAtrecord component. - expiresAt() - Method in record class org.jwcarman.who.apikey.ApiKeyView
-
Returns the value of the
expiresAtrecord component. - expiresAt() - Method in record class org.jwcarman.who.apikey.CreatedApiKey
-
Returns the value of the
expiresAtrecord component. - expiresAt() - Method in record class org.jwcarman.who.apikey.NewApiKey
-
Returns the value of the
expiresAtrecord component. - expiresAt() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationMessage
-
Returns the value of the
expiresAtrecord component. - expiresAt() - Method in record class org.jwcarman.who.emaillink.EmailAddressRequest
-
Returns the value of the
expiresAtrecord component. - expiresAt() - Method in record class org.jwcarman.who.emaillink.EmailLinkMessage
-
Returns the value of the
expiresAtrecord component. - expiresAt() - Method in record class org.jwcarman.who.emaillink.InvitationMessage
-
Returns the value of the
expiresAtrecord component. - expiresAt() - Method in record class org.jwcarman.who.enrollment.EnrollmentToken
-
Returns the value of the
expiresAtrecord component. - expiresAt() - Method in record class org.jwcarman.who.oidc.PendingSignUp
-
Returns the value of the
expiresAtrecord component. - expiresIn() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationMessage
-
Returns how long the link and the code work, for reading:
15 minutes,1 minute. - expiresIn() - Method in record class org.jwcarman.who.emaillink.EmailLinkMessage
-
Returns how long the link and the code work, for reading:
15 minutes,1 minute. - expiresIn() - Method in record class org.jwcarman.who.emaillink.InvitationMessage
-
Returns how long the link and the code work, for reading:
15 minutes,1 minute. - extra(WhoEmail) - Method in interface org.jwcarman.who.email.WhoEmailModelContributor
-
The values to add for this email.
F
- failEmails(int) - Method in class org.jwcarman.who.test.StubOidcProvider
-
Makes GitHub's
/user/emailsanswer with an error status. - failure() - Method in class org.jwcarman.who.spring.security.web.JsonAuthenticationHandlers
-
Returns the failure handler: it hands a
SignInFailedException, wrapping Spring's exception, to the application (falling back to401). - failure(String) - Method in class org.jwcarman.who.oidc.OidcRedirects
-
The failure URL with
error=<code>added to its query, keeping its fragment. - FAMILIES - Static variable in class org.jwcarman.who.passkey.aot.PasskeyRuntimeHints
-
Packages whose every class (nested classes included, subpackages not) is registered.
- FEDERATED - Enum constant in enum class org.jwcarman.who.core.event.CredentialKind
-
An account at an identity provider or token issuer, keyed by issuer and subject.
- FederatedCredential - Record Class in org.jwcarman.who.federated
-
An account at an identity provider or token issuer, identified by its issuer and subject: the credential both JWT sign-in and identity-provider sign-in key on.
- FederatedCredential(UUID, String, String) - Constructor for record class org.jwcarman.who.federated.FederatedCredential
-
Validates that no field is null.
- federatedCredentialRepository(JdbcClient) - Method in class org.jwcarman.who.autoconfigure.WhoFederatedAutoConfiguration
-
The repository is also this module's
CredentialRemover; its declared type exposes both, soWhoServicefinds it without a second bean. - FederatedCredentialRepository - Interface in org.jwcarman.who.federated
-
Repository for persisting and retrieving
FederatedCredentialrecords. - federatedCredentialService(FederatedCredentialRepository, CredentialIdentityRepository, WhoEventPublisher, Clock) - Method in class org.jwcarman.who.autoconfigure.WhoFederatedAutoConfiguration
-
Links issuer/subject pairs to identities, publishing the credential events.
- FederatedCredentialService - Class in org.jwcarman.who.federated
-
Service for linking issuer/subject pairs to identities and unlinking them again.
- FederatedCredentialService(FederatedCredentialRepository, CredentialIdentityRepository, WhoEventPublisher, Clock) - Constructor for class org.jwcarman.who.federated.FederatedCredentialService
-
Creates a new
FederatedCredentialService. - find(String) - Method in class org.jwcarman.who.oidc.SignInRegistrations
-
Finds a registration by id.
- find(UUID) - Method in class org.jwcarman.who.apikey.JdbcApiKeyCredentialRepository
-
Finds the API key with the given id, an
ApiKeyCredentiallabelled with its name. - find(UUID) - Method in interface org.jwcarman.who.core.spi.CredentialRemover
-
Finds this module's credential with the given id, so its kind and label can be reported when it is revoked.
- find(UUID) - Method in class org.jwcarman.who.emaillink.JdbcEmailCredentialRepository
-
Finds this module's credential with the given id, so that removing it can be reported with its kind and address.
- find(UUID) - Method in class org.jwcarman.who.federated.JdbcFederatedCredentialRepository
-
Finds the federated credential with the given id, labelled with its issuer.
- find(UUID) - Method in class org.jwcarman.who.passkey.PasskeyCredentialRemover
-
Finds the passkey with the given credential UUID.
- findAll() - Method in class org.jwcarman.who.rbac.JdbcRoleRepository
- findAll() - Method in interface org.jwcarman.who.rbac.RoleRepository
-
Returns every role, sorted by name.
- findAllByIdentityId(UUID) - Method in interface org.jwcarman.who.emaillink.EmailCredentialRepository
-
Finds every email credential linked to the identity, oldest first: by id, which is UUIDv7, so the earliest registered comes first.
- findAllByIdentityId(UUID) - Method in class org.jwcarman.who.emaillink.JdbcEmailCredentialRepository
- findAllByIdentityId(UUID) - Method in interface org.jwcarman.who.federated.FederatedCredentialRepository
-
Finds every federated credential linked to the identity, oldest first: by id, which is UUIDv7, so the earliest created comes first.
- findAllByIdentityId(UUID) - Method in class org.jwcarman.who.federated.JdbcFederatedCredentialRepository
- findAllFor(UUID) - Method in class org.jwcarman.who.emaillink.EmailCredentialService
-
Lists the identity's email credentials, oldest first: by id, which is UUIDv7, so the earliest registered comes first.
- findAllFor(UUID) - Method in class org.jwcarman.who.federated.FederatedCredentialService
-
Lists the identity's federated credentials, oldest first: by id, which is UUIDv7, so the earliest created comes first.
- findByAddress(String) - Method in interface org.jwcarman.who.emaillink.EmailCredentialRepository
-
Finds a credential by its already-normalized address.
- findByAddress(String) - Method in class org.jwcarman.who.emaillink.EmailCredentialService
-
Finds a credential by address, normalizing the address first.
- findByAddress(String) - Method in class org.jwcarman.who.emaillink.JdbcEmailCredentialRepository
- findByCredentialId(Bytes) - Method in class org.jwcarman.who.passkey.JdbcWhoPasskeyCredentialRepository
- findById(UUID) - Method in interface org.jwcarman.who.apikey.ApiKeyCredentialRepository
-
Finds a credential by its id, so that revoking it can report its name.
- findById(UUID) - Method in class org.jwcarman.who.apikey.JdbcApiKeyCredentialRepository
- findById(UUID) - Method in interface org.jwcarman.who.core.repository.IdentityRepository
-
Finds an identity by its UUID.
- findById(UUID) - Method in interface org.jwcarman.who.core.repository.SessionRecordRepository
-
Finds a session, ended or not.
- findById(UUID) - Method in interface org.jwcarman.who.emaillink.EmailCredentialRepository
-
Finds a credential by id.
- findById(UUID) - Method in class org.jwcarman.who.emaillink.EmailCredentialService
-
Finds a credential by id.
- findById(UUID) - Method in class org.jwcarman.who.emaillink.JdbcEmailCredentialRepository
- findById(UUID) - Method in interface org.jwcarman.who.enrollment.EnrollmentTokenRepository
-
Finds a token by its primary key.
- findById(UUID) - Method in class org.jwcarman.who.enrollment.JdbcEnrollmentTokenRepository
- findById(UUID) - Method in interface org.jwcarman.who.federated.FederatedCredentialRepository
-
Finds a credential by its id, so that unlinking it can report its issuer.
- findById(UUID) - Method in class org.jwcarman.who.federated.JdbcFederatedCredentialRepository
-
Finds the federated credential with the given id.
- findById(UUID) - Method in class org.jwcarman.who.jdbc.JdbcIdentityRepository
- findById(UUID) - Method in class org.jwcarman.who.jdbc.JdbcSessionRecordRepository
- findById(UUID) - Method in class org.jwcarman.who.rbac.JdbcRoleRepository
- findById(UUID) - Method in interface org.jwcarman.who.rbac.RoleRepository
-
Finds a role by its unique identifier.
- findById(UUID) - Method in class org.jwcarman.who.test.InMemorySessionRecordRepository
- findById(Bytes) - Method in class org.jwcarman.who.passkey.JdbcWhoPasskeyUserRepository
- findByIdentity(UUID) - Method in class org.jwcarman.who.apikey.ApiKeyService
-
Lists an identity's keys, by name, expired ones included and marked.
- findByIssuerAndSubject(String, String) - Method in interface org.jwcarman.who.federated.FederatedCredentialRepository
-
Finds a credential by its issuer and subject claims.
- findByIssuerAndSubject(String, String) - Method in class org.jwcarman.who.federated.JdbcFederatedCredentialRepository
- findByKeyHash(String) - Method in interface org.jwcarman.who.apikey.ApiKeyCredentialRepository
-
Finds a credential by its SHA-256 key hash.
- findByKeyHash(String) - Method in class org.jwcarman.who.apikey.JdbcApiKeyCredentialRepository
- findByName(String) - Method in class org.jwcarman.who.rbac.JdbcRoleRepository
- findByName(String) - Method in interface org.jwcarman.who.rbac.RoleRepository
-
Finds a role by its name.
- findByRegistrationId(String) - Method in class org.jwcarman.who.oidc.CallbackRegistrations
- findByUserId(Bytes) - Method in class org.jwcarman.who.passkey.JdbcWhoPasskeyCredentialRepository
- findByUsername(String) - Method in class org.jwcarman.who.passkey.JdbcWhoPasskeyUserRepository
-
Finds the user entity of an identity.
- findByValue(String) - Method in interface org.jwcarman.who.enrollment.EnrollmentTokenRepository
-
Finds a token by its shareable value.
- findByValue(String) - Method in class org.jwcarman.who.enrollment.JdbcEnrollmentTokenRepository
- findCredentialId(UUID) - Method in class org.jwcarman.who.passkey.JdbcWhoPasskeyCredentialRepository
-
Finds the WebAuthn credential id of a
credential_uuid. - findCredentialIdsByIdentityId(UUID) - Method in interface org.jwcarman.who.core.repository.CredentialIdentityRepository
-
Finds the UUIDs of every credential linked to the given identity.
- findCredentialIdsByIdentityId(UUID) - Method in class org.jwcarman.who.jdbc.JdbcCredentialIdentityRepository
- findIdentityId(String) - Method in class org.jwcarman.who.admin.EmailLinkIdentityEmails
- findIdentityId(String) - Method in interface org.jwcarman.who.admin.IdentityEmails
-
Finds the identity that signs in with an address, matched as email sign-in matches it.
- findIdentityId(Bytes) - Method in class org.jwcarman.who.passkey.JdbcWhoPasskeyUserRepository
-
Finds the identity whose user entity has the given user handle.
- findIdentityIdByCredentialId(String) - Method in class org.jwcarman.who.passkey.JdbcWhoPasskeyCredentialRepository
-
Finds the identity that owns the passkey with a WebAuthn credential id.
- findIdentityIdByCredentialId(UUID) - Method in interface org.jwcarman.who.core.repository.CredentialIdentityRepository
-
Finds the identity UUID linked to the given credential UUID.
- findIdentityIdByCredentialId(UUID) - Method in class org.jwcarman.who.jdbc.JdbcCredentialIdentityRepository
- findIdentityIdsByRoleId(UUID) - Method in interface org.jwcarman.who.rbac.IdentityRoleRepository
-
Returns the ids of the identities that hold the given role, ascending by the identity id's canonical string form (unsigned byte order), which is not
UUID.compareTo(UUID)order. - findIdentityIdsByRoleId(UUID) - Method in class org.jwcarman.who.rbac.JdbcIdentityRoleRepository
- findIdentityIdsWithRole(Role) - Method in class org.jwcarman.who.rbac.RbacService
-
Returns the ids of the identities that hold the given role, ascending by the identity id's canonical string form (unsigned byte order), which is not
UUID.compareTo(UUID)order. - findLive(UUID) - Method in class org.jwcarman.who.core.service.WhoSessions
-
Finds a session that is still live: not ended, and seen within the idle timeout plus the last-seen interval, since a busy session's last-seen time is written only that often.
- findLiveByIdentity(UUID, Instant) - Method in interface org.jwcarman.who.core.repository.SessionRecordRepository
-
Finds an identity's sessions that are not ended and were seen at or after
seenSince, most recently signed in first. - findLiveByIdentity(UUID, Instant) - Method in class org.jwcarman.who.jdbc.JdbcSessionRecordRepository
- findLiveByIdentity(UUID, Instant) - Method in class org.jwcarman.who.test.InMemorySessionRecordRepository
- findOldestByIdentityId(UUID) - Method in interface org.jwcarman.who.emaillink.EmailCredentialRepository
-
Finds the identity's oldest email credential: the one with the smallest id among the email credentials linked to it.
- findOldestByIdentityId(UUID) - Method in class org.jwcarman.who.emaillink.JdbcEmailCredentialRepository
- findOldestFor(UUID) - Method in class org.jwcarman.who.emaillink.EmailCredentialService
-
Finds the identity's oldest email credential: the smallest (UUIDv7, so earliest) id among the email credentials linked to it.
- findOwnedBy(UUID, UUID) - Method in class org.jwcarman.who.apikey.ApiKeyService
-
Finds one of an identity's keys, as
ApiKeyService.findByIdentity(UUID)lists it. - findPage(Optional, Optional, Optional, int, int) - Method in interface org.jwcarman.who.core.repository.IdentityRepository
-
Returns one page of identities, oldest first: ordered by creation time, then by id.
- findPage(Optional, Optional, Optional, int, int) - Method in class org.jwcarman.who.jdbc.JdbcIdentityRepository
- findPasskey(UUID) - Method in class org.jwcarman.who.passkey.JdbcWhoPasskeyCredentialRepository
-
Finds the passkey with a
credential_uuid, with its label. - findPermissions(Role) - Method in class org.jwcarman.who.rbac.RbacService
-
Returns the permissions granted to the given role.
- findPermissionsByRoleId(UUID) - Method in class org.jwcarman.who.rbac.JdbcRolePermissionRepository
- findPermissionsByRoleId(UUID) - Method in interface org.jwcarman.who.rbac.RolePermissionRepository
-
Returns all permission strings assigned to the given role.
- findPermissionsByRoleIds(Collection) - Method in class org.jwcarman.who.rbac.JdbcRolePermissionRepository
- findPermissionsByRoleIds(Collection) - Method in interface org.jwcarman.who.rbac.RolePermissionRepository
-
Returns the union of all permission strings assigned to the given roles.
- findRequiredRole(String) - Method in class org.jwcarman.who.rbac.RbacService
-
Returns the role with the given name.
- findRequiredRole(R) - Method in class org.jwcarman.who.rbac.RbacService
-
Returns the role whose name matches the enum constant.
- findRole(String) - Method in class org.jwcarman.who.rbac.RbacService
-
Returns the role with the given name, if there is one.
- findRole(R) - Method in class org.jwcarman.who.rbac.RbacService
-
Returns the role whose name matches the enum constant, if there is one.
- findRoleIdsByIdentityId(UUID) - Method in interface org.jwcarman.who.rbac.IdentityRoleRepository
-
Returns the list of role UUIDs assigned to the given identity.
- findRoleIdsByIdentityId(UUID) - Method in class org.jwcarman.who.rbac.JdbcIdentityRoleRepository
- findRolesForIdentity(UUID) - Method in class org.jwcarman.who.rbac.RbacService
-
Returns the roles the given identity holds, sorted by name.
- findSummariesByIdentityId(UUID) - Method in class org.jwcarman.who.passkey.JdbcWhoPasskeyCredentialRepository
-
Lists the passkeys of an identity, oldest first.
- findToken(String) - Method in class org.jwcarman.who.enrollment.WhoEnrollmentService
-
Looks up a token by its shareable value without side effects.
- formattedCode() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationMessage
-
Returns the code laid out for reading, for example
K7F-2QM. - formattedCode() - Method in record class org.jwcarman.who.emaillink.EmailLinkMessage
-
Returns the code laid out for reading, for example
K7F-2QM. - formattedCode() - Method in record class org.jwcarman.who.emaillink.InvitationMessage
-
Returns the code laid out for reading, for example
K7F-2QM. - from(BeanFactory) - Static method in class org.jwcarman.who.spring.security.web.WhoExceptionHandoff
-
The handoff of an application context: its
WhoExceptionHandoffbean, else one over itsWhoPathsbean (orWhoPaths.defaults()) that answers outside who's base path withsendError. - from(OAuth2User, SignInRegistration) - Static method in record class org.jwcarman.who.oidc.ProviderAccount
-
Reads the account from what Spring Security signed in.
G
- generate() - Method in class org.jwcarman.who.apikey.ApiKeyFormat
-
Generates a new key.
- generate(GenerateOneTimeTokenRequest) - Method in class org.jwcarman.who.emaillink.WhoOneTimeTokenService
-
Generates a random token for the requested address without storing anything.
- get(String, HttpServletRequest) - Method in class org.jwcarman.who.admin.IdentitiesController
-
One identity.
- getAddressConfirmationUrl() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.EmailLink
-
Returns the page that receives address confirmation links.
- getAdmin() - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Returns the admin endpoints' properties.
- getAllowedOrigins() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Passkey
-
Returns the allowed origins; empty means
https://<rp-id>. - getApiKey() - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Returns the API key module properties.
- getBasePath() - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Returns the root every who endpoint lives under.
- getCodeLength() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.EmailLink
-
Returns the number of characters in the typed sign-in code.
- getCodeMaxAttempts() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.EmailLink
-
Returns how many wrong guesses a sign-in code survives.
- getCodeSecret() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.EmailLink
-
Returns the secret keying the sign-in code hash.
- getCredentials() - Method in class org.jwcarman.who.apikey.ApiKeyAuthenticationToken
-
Returns the raw key, or
nullonce the credentials are erased. - getCredentials() - Method in class org.jwcarman.who.emaillink.EmailSignInAuthenticationToken
- getCredentials() - Method in class org.jwcarman.who.spring.security.WhoAuthenticationToken
-
Returns
null— credentials are not retained after authentication. - getEmail() - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Returns the email properties.
- getEmailLink() - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Returns the email link module properties.
- getEnrollment() - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Returns the enrollment module properties.
- getFailureUrl() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc
-
Returns where every other outcome lands.
- getFrom() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Email
-
Returns the address every who email comes from.
- getHeaderName() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.ApiKey
-
Returns the HTTP header name that carries the API key.
- getHostnames() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Turnstile
-
Returns the hostnames a token may be made on.
- getInitializeSchema() - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Returns when to run Who's bundled DDL schema scripts.
- getIssuer() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc.Provider
-
Returns the issuer credentials are stored under.
- getJwt() - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Returns the JWT module properties.
- getLastSeenInterval() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Sessions
-
Returns how often a busy session's last-seen time is written.
- getLastSignInCookie() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Security
-
Returns the last-sign-in cookie's settings.
- getLastUsedInterval() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.ApiKey
-
Returns how often, at most, an API key's last use is written.
- getLinkBaseUrl() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.EmailLink
-
Returns the page that receives sign-in links.
- getLinkUrl() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc
-
Returns where a link lands.
- getLocale() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Email
-
Returns the locale used when no request's locale is known.
- getMaxLifetime() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.ApiKey
-
Returns the longest lifetime a new API key may be given.
- getMethodSecurity() - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Returns the method security properties.
- getModel() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Email
-
Returns the application-wide template values.
- getName() - Method in class org.jwcarman.who.spring.security.WhoAuthenticationToken
-
Returns the identity id, which stays the same however the permissions change.
- getOidc() - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Returns the provider sign-in settings.
- getPasskey() - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Returns the passkey module properties.
- getPrefix() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.ApiKey
-
Returns the prefix that starts every new API key.
- getPrincipal() - Method in class org.jwcarman.who.apikey.ApiKeyAuthenticationToken
-
Returns
null: who the key belongs to is not known until it is authenticated. - getPrincipal() - Method in class org.jwcarman.who.emaillink.EmailSignInAuthenticationToken
- getPrincipal() - Method in class org.jwcarman.who.spring.security.WhoAuthenticationToken
- getProviders() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc
-
Returns the per registration settings.
- getPublicPaths() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Security
-
Returns the application's public paths.
- getPurgeBatchSize() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Sessions
-
Returns the most records one purge deletes.
- getRecentSignIn() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Security
-
Returns how recently the session must have signed in to add a way to sign in.
- getResendInterval() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.EmailLink
-
Returns the minimum time between two sign-in links for the same address.
- getRpId() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Passkey
-
Returns the relying party id.
- getRpName() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Passkey
-
Returns the relying party name.
- getSecretKey() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Turnstile
-
Returns the widget's secret key.
- getSecurity() - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Returns the security chain properties.
- getSessions() - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Returns who's record of browser sessions.
- getSignUpWindow() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc
-
Returns how long a pending sign-up waits.
- getSubjectAttribute() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc.Provider
-
Returns the attribute that identifies the account.
- getSuccessUrl() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc
-
Returns where a provider sign-in lands.
- getTemplates() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Email
-
Returns where the application's email templates are, in search order.
- getTimeout() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Turnstile
-
Returns how long to wait for Cloudflare.
- getTokenExpiration() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Enrollment
-
Returns the duration after which a newly created enrollment token expires.
- getTokenTtl() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.EmailLink
-
Returns how long a sign-in link stays valid.
- getTrustEmail() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc.Provider
-
Returns whether the provider's verified email may be used.
- getTurnstile() - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Returns Cloudflare Turnstile's settings.
- getVerifyUrl() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Turnstile
-
Returns where tokens are verified.
- GITHUB - Enum constant in enum class org.jwcarman.who.oidc.SignInRegistration.Kind
-
github.com: the account is the user's numeric
id; emails come from its API.
H
- handle(HttpServletRequest, HttpServletResponse, OneTimeToken) - Method in class org.jwcarman.who.emaillink.EmailLinkGenerationSuccessHandler
- handleDeniedInvocation(MethodInvocation, AuthorizationResult) - Method in class org.jwcarman.who.spring.security.RecentSignInDecision
-
Offers the challenge for the current response, if there is one, and throws the refusal.
- handOff(HttpServletRequest, HttpServletResponse, Exception, HttpStatus) - Method in class org.jwcarman.who.spring.security.web.WhoExceptionHandoff
-
Hands
exceptionto the application. - hash(UUID, String) - Method in class org.jwcarman.who.emaillink.EmailCodeHasher
-
Hashes a normalized code for a credential.
- hashCode() - Method in record class org.jwcarman.who.admin.CreatedInvitation
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.admin.IdentityPage
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.admin.IdentityView
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.admin.RoleView
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.apikey.ApiKey
-
Returns a hash code value for this object.
- hashCode() - Method in class org.jwcarman.who.apikey.ApiKeyAuthenticationToken
- hashCode() - Method in record class org.jwcarman.who.apikey.ApiKeyCredential
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.apikey.ApiKeyView
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.apikey.CreatedApiKey
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.apikey.NewApiKey
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.domain.Identity
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.domain.SessionRecord
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.domain.WhoPrincipal
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.email.OutgoingEmail
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.event.CredentialAdded
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.event.CredentialRevoked
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.event.EndedSessionsPurged
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.event.IdentityCreated
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.event.IdentityDeactivated
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.event.IdentityDeleted
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.event.IdentityReactivated
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.event.OrphanedCredentialsPurged
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.event.SessionEnded
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.event.SignedOut
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.event.SignInFailed
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.event.SignInSucceeded
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.service.Resolution.Inactive
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.service.Resolution.NoIdentity
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.service.Resolution.NotLinked
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.service.Resolution.Resolved
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.signup.SignUpDecision.Allow
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.signup.SignUpDecision.Refuse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.core.signup.SignUpRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.email.WhoEmailMessages
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.email.WhoEmailTemplates
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.emaillink.AddedEmailAddress
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.emaillink.EmailAddressChangedMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.emaillink.EmailAddressCodeAttempt
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationRequested
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.emaillink.EmailAddressRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.emaillink.EmailAddressView
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.emaillink.EmailCodeAttempt
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.emaillink.EmailCredential
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.emaillink.EmailLinkMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.emaillink.EmailLinkSettings
-
Returns a hash code value for this object.
- hashCode() - Method in class org.jwcarman.who.emaillink.EmailSignInAuthenticationToken
- hashCode() - Method in record class org.jwcarman.who.emaillink.EmailSignInProof.EmailCode
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.emaillink.EmailSignInProof.LinkToken
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.emaillink.EmailSignInProof.Malformed
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.emaillink.IdentityInvited
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.emaillink.Invitation
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.emaillink.InvitationMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.emaillink.SignInEmailRequested
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.enrollment.EnrollmentToken
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.enrollment.EnrollmentTokenCreated
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.enrollment.EnrollmentTokenRevoked
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.federated.FederatedCredential
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.oidc.LinkedAccountView
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.oidc.OidcSignUpService.SignedUp
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.oidc.PendingSignUp
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.oidc.ProviderAccount
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.oidc.ProviderSettings
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.oidc.SignInRegistration
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.passkey.PasskeyAddedMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.passkey.PasskeyCredential
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.passkey.PasskeyRegistrationRefused
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.passkey.PasskeySettings
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.passkey.PasskeySummary
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.passkey.PasskeyView
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.rbac.Role
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.rbac.RoleAssigned
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.rbac.RoleCreated
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.rbac.RoleDeleted
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.rbac.RolePermissionAdded
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.rbac.RolePermissionRemoved
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.rbac.RoleUnassigned
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.spring.security.EndedSessions
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.spring.security.HumanCheckPerformed
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.spring.security.HumanCheckRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.spring.security.SessionView
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.spring.security.web.WhoMeController.WhoMeResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.spring.security.web.WhoProblem
-
Returns a hash code value for this object.
- hashCode() - Method in class org.jwcarman.who.spring.security.WhoAuthenticationToken
- hashCode() - Method in record class org.jwcarman.who.spring.security.WhoCaller.Other
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.spring.security.WhoCaller.Session
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.spring.security.WhoCaller.SessionWithForeignCredential
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.spring.security.WhoCaller.SignedOut
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.spring.security.WhoCaller.Stateless
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.spring.security.WhoPaths
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.spring.security.WhoSession
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jwcarman.who.turnstile.TurnstileAnswer
-
Returns a hash code value for this object.
- HEADER - Static variable in class org.jwcarman.who.spring.security.web.WhoExceptionHandoff
-
The response header naming a failure that carries a
WhoErrorCode, or aLastCredentialException("last-credential"). - HEADER - Static variable in interface org.jwcarman.who.spring.security.WhoHumanCheck
-
The request header carrying the token the page got from the check's widget.
- Hmacs - Class in org.jwcarman.who.core.crypto
-
Utility methods for computing keyed message authentication codes.
- hmacSha256Hex(byte[], String) - Static method in class org.jwcarman.who.core.crypto.Hmacs
-
Computes the HMAC-SHA256 of the given string (UTF-8 encoded) under the given key and returns it as a lowercase hex string.
- hostname() - Method in record class org.jwcarman.who.turnstile.TurnstileAnswer
-
Returns the value of the
hostnamerecord component. - html() - Method in record class org.jwcarman.who.core.email.OutgoingEmail
-
Returns the value of the
htmlrecord component. - HUMAN_CHECKS - Static variable in class org.jwcarman.who.autoconfigure.WhoHumanCheckMetrics
-
Requests to human-checked endpoints, tagged
check,actionandoutcome. - humanCheckedPaths() - Method in class org.jwcarman.who.emaillink.EmailLinkLoginMethod
-
Both endpoints, when the application has a human check: sending makes the application email someone, and signing in with a code is a guess at it.
- humanCheckedPaths() - Method in interface org.jwcarman.who.spring.security.PasswordlessLoginMethod
-
Returns the paths whose POSTs the application's
WhoHumanCheck, when it has one, must pass first, each mapped to the action the check is told, such asemail-send. - HumanCheckFailedException - Exception Class in org.jwcarman.who.spring.security.web
-
The application's human check refused a request, or could not decide it.
- HumanCheckFailedException() - Constructor for exception class org.jwcarman.who.spring.security.web.HumanCheckFailedException
-
Creates the exception.
- HumanCheckOutcome - Enum Class in org.jwcarman.who.spring.security
-
What became of a human check.
- HumanCheckPerformed - Record Class in org.jwcarman.who.spring.security
-
A request to a human-checked endpoint was checked, published once per such request with what became of it, before the endpoint runs.
- HumanCheckPerformed(Instant, String, String, String, HumanCheckOutcome) - Constructor for record class org.jwcarman.who.spring.security.HumanCheckPerformed
-
Validates that no component is null.
- HumanCheckRequest - Record Class in org.jwcarman.who.spring.security
-
What a
WhoHumanCheckgets to decide on. who reads the request itself, so a check never sees, or consumes, the request body. - HumanCheckRequest(Optional, String, String) - Constructor for record class org.jwcarman.who.spring.security.HumanCheckRequest
-
Validates the components.
I
- id() - Method in record class org.jwcarman.who.admin.IdentityView
-
Returns the value of the
idrecord component. - id() - Method in record class org.jwcarman.who.apikey.ApiKey
-
Returns the value of the
idrecord component. - id() - Method in record class org.jwcarman.who.apikey.ApiKeyCredential
-
Returns the value of the
idrecord component. - id() - Method in record class org.jwcarman.who.apikey.ApiKeyView
-
Returns the value of the
idrecord component. - id() - Method in record class org.jwcarman.who.apikey.CreatedApiKey
-
Returns the value of the
idrecord component. - id() - Method in record class org.jwcarman.who.apikey.NewApiKey
-
Returns the value of the
idrecord component. - id() - Method in record class org.jwcarman.who.core.domain.Identity
-
Returns the value of the
idrecord component. - id() - Method in record class org.jwcarman.who.core.domain.SessionRecord
-
Returns the value of the
idrecord component. - id() - Method in interface org.jwcarman.who.core.spi.Credential
-
Returns the unique identifier for this credential.
- id() - Method in record class org.jwcarman.who.emaillink.EmailAddressRequest
-
Returns the value of the
idrecord component. - id() - Method in record class org.jwcarman.who.emaillink.EmailAddressView
-
Returns the value of the
idrecord component. - id() - Method in record class org.jwcarman.who.emaillink.EmailCredential
-
Returns the value of the
idrecord component. - id() - Method in record class org.jwcarman.who.enrollment.EnrollmentToken
-
Returns the value of the
idrecord component. - id() - Method in record class org.jwcarman.who.federated.FederatedCredential
-
Returns the value of the
idrecord component. - id() - Method in record class org.jwcarman.who.oidc.LinkedAccountView
-
Returns the value of the
idrecord component. - id() - Method in record class org.jwcarman.who.passkey.PasskeyCredential
-
Returns the value of the
idrecord component. - id() - Method in record class org.jwcarman.who.passkey.PasskeySummary
-
Returns the value of the
idrecord component. - id() - Method in record class org.jwcarman.who.rbac.Role
-
Returns the value of the
idrecord component. - id() - Method in record class org.jwcarman.who.spring.security.SessionView
-
Returns the value of the
idrecord component. - Identifiers - Class in org.jwcarman.who.core.id
-
Utility methods for generating identifiers.
- IDENTITIES_MANAGE - Static variable in class org.jwcarman.who.admin.WhoAdminPermissions
-
Deactivates and reactivates identities, and assigns and removes their roles.
- IDENTITIES_READ - Static variable in class org.jwcarman.who.admin.WhoAdminPermissions
-
Lists and reads identities, and lists the roles that exist.
- IdentitiesController - Class in org.jwcarman.who.admin
-
who's identity admin endpoints:
GET /identities?status=&role=&email=&page=0&size=20pages through identities, oldest first, as anIdentityPage. - IdentitiesController(IdentityRepository, WhoService, RbacService, IdentityEmails, LastCredentialGuard, LastAdminGuard, AdminGate, JsonMapper) - Constructor for class org.jwcarman.who.admin.IdentitiesController
-
Creates the controller.
- identity() - Method in record class org.jwcarman.who.core.domain.WhoPrincipal
-
Returns the value of the
identityrecord component. - Identity - Record Class in org.jwcarman.who.core.domain
-
Stable internal identity record.
- Identity(UUID, IdentityStatus, Instant, Instant) - Constructor for record class org.jwcarman.who.core.domain.Identity
-
Validates that no field is null.
- IDENTITY_INACTIVE - Enum constant in enum class org.jwcarman.who.core.event.SessionEndReason
-
The identity was deactivated.
- IdentityCreated - Record Class in org.jwcarman.who.core.event
-
An identity was created.
- IdentityCreated(Instant, UUID) - Constructor for record class org.jwcarman.who.core.event.IdentityCreated
-
Validates that no component is null.
- IdentityDeactivated - Record Class in org.jwcarman.who.core.event
-
An identity was deactivated.
- IdentityDeactivated(Instant, UUID) - Constructor for record class org.jwcarman.who.core.event.IdentityDeactivated
-
Validates that no component is null.
- IdentityDeleted - Record Class in org.jwcarman.who.core.event
-
An identity was deleted.
- IdentityDeleted(Instant, UUID) - Constructor for record class org.jwcarman.who.core.event.IdentityDeleted
-
Validates that no component is null.
- IdentityEmails - Interface in org.jwcarman.who.admin
-
The email addresses identities sign in with, as the admin endpoints read them. who's autoconfiguration supplies one, an
EmailLinkIdentityEmails, when email sign-in is on; without it the endpoints show no addresses and refuse a search by address. - identityId() - Method in record class org.jwcarman.who.admin.CreatedInvitation
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.core.domain.SessionRecord
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.core.event.CredentialAdded
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.core.event.CredentialRevoked
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.core.event.IdentityCreated
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.core.event.IdentityDeactivated
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.core.event.IdentityDeleted
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.core.event.IdentityReactivated
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.core.event.SessionEnded
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.core.event.SignedOut
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.core.event.SignInFailed
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.core.event.SignInSucceeded
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.core.service.Resolution.Inactive
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.core.service.Resolution.NoIdentity
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationRequested
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.emaillink.EmailAddressRequest
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.emaillink.IdentityInvited
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.emaillink.Invitation
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.emaillink.SignInEmailRequested
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.enrollment.EnrollmentToken
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.enrollment.EnrollmentTokenCreated
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.enrollment.EnrollmentTokenRevoked
-
Returns the value of the
identityIdrecord component. - identityId() - Static method in interface org.jwcarman.who.passkey.PasskeyNameResolver
-
A resolver that always answers the identity id, for apps without email credentials.
- identityId() - Method in record class org.jwcarman.who.passkey.PasskeyRegistrationRefused
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.rbac.RoleAssigned
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.rbac.RoleUnassigned
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.spring.security.web.WhoMeController.WhoMeResponse
-
Returns the value of the
identityIdrecord component. - identityId() - Method in record class org.jwcarman.who.spring.security.WhoSession
-
Returns the value of the
identityIdrecord component. - IdentityInvited - Record Class in org.jwcarman.who.emaillink
-
An identity was invited by
InvitationService.invite(String, Set). - IdentityInvited(Instant, UUID, String, Set) - Constructor for record class org.jwcarman.who.emaillink.IdentityInvited
-
Validates the components and copies the roles.
- IdentityNotFoundException - Exception Class in org.jwcarman.who.admin
-
A request named an identity that does not exist, or an id that is not a UUID.
- IdentityNotFoundException() - Constructor for exception class org.jwcarman.who.admin.IdentityNotFoundException
-
Creates the exception.
- IdentityOutranksCallerException - Exception Class in org.jwcarman.who.admin
-
A request to change an identity that holds a permission the caller does not: deactivating or reactivating it, or assigning or removing one of its roles. who's admin endpoints change only identities whose every permission, as who resolves them whatever their status, the caller holds too; for an API key, those its scopes keep.
- IdentityOutranksCallerException() - Constructor for exception class org.jwcarman.who.admin.IdentityOutranksCallerException
-
Creates the exception.
- IdentityPage - Record Class in org.jwcarman.who.admin
-
One page of identities, as
GET /who/identitiesanswers it. - IdentityPage(List, int, int, long) - Constructor for record class org.jwcarman.who.admin.IdentityPage
-
Copies the items.
- IdentityReactivated - Record Class in org.jwcarman.who.core.event
-
An identity was reactivated.
- IdentityReactivated(Instant, UUID) - Constructor for record class org.jwcarman.who.core.event.IdentityReactivated
-
Validates that no component is null.
- IdentityRepository - Interface in org.jwcarman.who.core.repository
-
Repository interface for
Identitypersistence. - IdentityRoleRepository - Interface in org.jwcarman.who.rbac
-
Repository for managing the assignment of roles to identities.
- IdentityStatus - Enum Class in org.jwcarman.who.core.domain
-
Lifecycle status of an
Identity. - IdentityView - Record Class in org.jwcarman.who.admin
-
An identity as who's admin endpoints show it.
- IdentityView(UUID, IdentityStatus, Instant, List, List, Map) - Constructor for record class org.jwcarman.who.admin.IdentityView
-
Copies the lists and the map, keeping their order, so a view never changes after it is made.
- idleTimeout() - Method in class org.jwcarman.who.core.service.WhoSessions
-
Returns how long a session lasts without a request.
- Inactive(UUID) - Constructor for record class org.jwcarman.who.core.service.Resolution.Inactive
-
Validates that the identity id is not null.
- INACTIVE_IDENTITY - Enum constant in enum class org.jwcarman.who.core.event.SignInFailureReason
-
The identity is inactive.
- INACTIVE_IDENTITY - Enum constant in enum class org.jwcarman.who.emaillink.EmailLinkOutcome
-
The address is known, but its identity is not active, so no link was issued.
- init(HttpSecurity) - Method in class org.jwcarman.who.spring.security.PasswordlessConfigurer
- init(HttpSecurity) - Method in class org.jwcarman.who.spring.security.WhoSecurityConfigurer
- init(HttpSecurity) - Method in class org.jwcarman.who.spring.security.WhoStatelessConfigurer
- InMemorySessionRecordRepository - Class in org.jwcarman.who.test
-
who's record of sessions kept in memory, for tests that do not run a database.
- InMemorySessionRecordRepository() - Constructor for class org.jwcarman.who.test.InMemorySessionRecordRepository
-
Creates an empty store.
- insert(SessionRecord) - Method in interface org.jwcarman.who.core.repository.SessionRecordRepository
-
Saves a new session.
- insert(SessionRecord) - Method in class org.jwcarman.who.jdbc.JdbcSessionRecordRepository
- insert(SessionRecord) - Method in class org.jwcarman.who.test.InMemorySessionRecordRepository
- InsufficientUserAuthenticationException - Exception Class in org.jwcarman.who.spring.security.web
-
A bearer token whose person signed in too long ago for this action: the client must have them sign in again at the identity provider and come back with a new token. who sends the RFC 9470 step-up challenge with it, in the
WWW-Authenticateheader given byInsufficientUserAuthenticationException.challenge(). - InsufficientUserAuthenticationException(Duration) - Constructor for exception class org.jwcarman.who.spring.security.web.InsufficientUserAuthenticationException
-
Creates the exception.
- INVALID_ADDRESS - Enum constant in enum class org.jwcarman.who.emaillink.EmailAddressRequestOutcome
-
The request carried nothing usable as an address; nothing was sent.
- INVALID_ASSERTION - Enum constant in enum class org.jwcarman.who.core.event.SignInFailureReason
-
The passkey assertion failed verification.
- INVALID_LINK - Enum constant in enum class org.jwcarman.who.core.event.SignInFailureReason
-
The email link was invalid or expired.
- InvalidAdminRequestException - Exception Class in org.jwcarman.who.admin
-
A request to an admin endpoint that who refuses as it stands: a page or size out of range, a status who does not know, a body that is not the expected JSON, or a search by email address without email sign-in.
- InvalidAdminRequestException(String) - Constructor for exception class org.jwcarman.who.admin.InvalidAdminRequestException
-
Creates the exception.
- InvalidApiKeyRequestException - Exception Class in org.jwcarman.who.apikey
-
A request to make or rotate an API key that who refuses as it stands: a body that is not the expected JSON, a lifetime or overlap that is not an ISO-8601 duration or is out of range, a blank name, or a scope the owner does not hold.
- InvalidApiKeyRequestException(String) - Constructor for exception class org.jwcarman.who.apikey.InvalidApiKeyRequestException
-
Creates the exception.
- InvalidEmailAddressConfirmationException - Exception Class in org.jwcarman.who.emaillink
-
A confirmation at
POST /who/me/email-addresses/confirmationsmatched nothing: no request by this identity, an expired or used one, a wrong code, or a code with no attempts left. - InvalidEmailAddressConfirmationException() - Constructor for exception class org.jwcarman.who.emaillink.InvalidEmailAddressConfirmationException
-
Creates the exception.
- InvalidInvitationException - Exception Class in org.jwcarman.who.emaillink
-
An invitation who refuses as asked, before anything is created or with everything rolled back: the address is missing or is not an address, a role name is blank or names no role, or roles were asked for in an application without
who-rbac. - InvalidInvitationException(String) - Constructor for exception class org.jwcarman.who.emaillink.InvalidInvitationException
-
Creates the exception.
- InvalidPasskeyRegistrationException - Exception Class in org.jwcarman.who.spring.security.web
-
A passkey registration failed verification.
- InvalidPasskeyRegistrationException() - Constructor for exception class org.jwcarman.who.spring.security.web.InvalidPasskeyRegistrationException
-
Creates the exception.
- InvalidRegistrationException - Exception Class in org.jwcarman.who.oidc
-
A client registration who cannot sign people in with safely.
- InvalidRegistrationException(String, String, String) - Constructor for exception class org.jwcarman.who.oidc.InvalidRegistrationException
-
Creates the exception.
- Invitation - Record Class in org.jwcarman.who.emaillink
-
What
InvitationService.invite(String, Set)did: the identity it created, which stands whatever became of the link, and what became of the sign-in link sent to it. - Invitation(UUID, EmailLinkOutcome) - Constructor for record class org.jwcarman.who.emaillink.Invitation
-
Validates that neither component is null.
- InvitationMessage - Record Class in org.jwcarman.who.emaillink
-
An email inviting a person to the application: the link and the typed code that both sign them in with the invited address, which is accepting the invitation.
- InvitationMessage(String, String, String, Instant, Duration, Set) - Constructor for record class org.jwcarman.who.emaillink.InvitationMessage
-
Compact constructor: validates that no field is
nulland copies the roles. - InvitationRoles - Interface in org.jwcarman.who.emaillink
-
Gives an invited identity its roles, for
InvitationService. - InvitationsController - Class in org.jwcarman.who.admin
-
POST /invitationswith{"email": "...", "roles": ["..."]}invites the address throughInvitationService.invite(String, Set)and answers201with aCreatedInvitation;rolesmay be left out for none. - InvitationsController(InvitationService, RbacService, AdminGate, JsonMapper) - Constructor for class org.jwcarman.who.admin.InvitationsController
-
Creates the controller.
- invitationService(WhoService, EmailCredentialService, ObjectProvider, EmailLinkIssuer, ApplicationEventPublisher, PlatformTransactionManager, Clock) - Method in class org.jwcarman.who.autoconfigure.WhoEmailLinkAutoConfiguration
-
Invites people by email address: creates the identity, registers the address, assigns the roles and publishes
IdentityInvitedin one transaction, then sends the sign-in link. - InvitationService - Class in org.jwcarman.who.emaillink
-
Invites a person by email address: creates an identity for them, signs it in with that address, gives it roles, and sends it a sign-in link in an
InvitationMessage. - InvitationService(WhoService, EmailCredentialService, InvitationRoles, EmailLinkIssuer, ApplicationEventPublisher, PlatformTransactionManager, Clock) - Constructor for class org.jwcarman.who.emaillink.InvitationService
-
Creates the service.
- invite(HttpServletRequest) - Method in class org.jwcarman.who.admin.InvitationsController
-
Invites an address.
- invite(String, Set) - Method in class org.jwcarman.who.emaillink.InvitationService
-
Invites the address with the named roles, in the order the class describes, with nothing of the application's own to store.
- invite(String, Set, Consumer) - Method in class org.jwcarman.who.emaillink.InvitationService
-
Invites the address with the named roles, in the order the class describes, running
inTransactioninside the invitation's transaction: after the identity is created, the address registered and the roles assigned, and beforeIdentityInvitedis published. - isAutoPurge() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Sessions
-
Returns whether each sign-in purges one batch.
- isEmpty() - Method in class org.jwcarman.who.oidc.SignInRegistrations
-
Whether there are no registrations to sign in with.
- isEnabled() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Admin
-
Returns whether the admin endpoints are on.
- isEnabled() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.ApiKey
-
Returns whether API-key sign-in is on.
- isEnabled() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.EmailLink
-
Returns whether email-link sign-in is on.
- isEnabled() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Enrollment
-
Returns whether enrollment is on.
- isEnabled() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Jwt
-
Returns whether JWT sign-in is on.
- isEnabled() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.MethodSecurity
-
Returns whether Who enables method security.
- isEnabled() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc
-
Returns whether provider sign-in is on.
- isEnabled() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc.Provider
-
Returns whether who signs people in with this registration.
- isEnabled() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Passkey
-
Returns whether passkey sign-in is on.
- isEnabled() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Security.LastSignInCookie
-
Returns whether who sets the cookie.
- isEnabled() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Turnstile
-
Returns whether the Turnstile check is on.
- isEnforcing() - Method in class org.jwcarman.who.admin.LastAdminGuard
-
Whether the guard refuses anything: the permission's holders are who-rbac's to count.
- isExpired() - Method in record class org.jwcarman.who.enrollment.EnrollmentToken
-
Returns
trueif the token has passed its expiration time. - isFailOpen() - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Turnstile
-
Returns whether requests go through when Cloudflare cannot be reached or answers an error.
- isLocalPath(String) - Static method in class org.jwcarman.who.oidc.OidcRedirects
-
Whether a URL is a path on this site: it starts with
/, but not with//or a slash and a backslash, which browsers read as another host. - isOwnedBy(UUID, UUID) - Method in class org.jwcarman.who.emaillink.EmailCredentialService
-
Whether an email credential is linked to the identity.
- isOwnedBy(UUID, UUID) - Method in class org.jwcarman.who.federated.FederatedCredentialService
-
Whether a federated credential is linked to the identity.
- isPending() - Method in record class org.jwcarman.who.enrollment.EnrollmentToken
-
Returns
trueif the token isPENDINGand not yet expired. - isRecent(Duration, Instant) - Method in record class org.jwcarman.who.spring.security.WhoCaller.Session
-
Whether the person signed this session in within
windowofnow. - isRecent(Instant, Duration, Instant) - Static method in class org.jwcarman.who.spring.security.WhoSignInFactors
-
Whether a sign-in at
signedInAtis withinwindowofnow. - issue(String, String) - Method in class org.jwcarman.who.emaillink.EmailLinkIssuer
-
Issues and sends a link if the address belongs to an active identity and no recent link is outstanding, and reports what happened.
- issue(UUID, String, String, Instant, Instant, Duration) - Method in interface org.jwcarman.who.emaillink.EmailLinkTokenRepository
-
Issues a token for the credential with one atomic upsert, which is also the resend limit: an existing token younger than
resendIntervalis left untouched. - issue(UUID, String, String, Instant, Instant, Duration) - Method in class org.jwcarman.who.emaillink.JdbcEmailLinkTokenRepository
- ISSUE_OBSERVATION - Static variable in class org.jwcarman.who.emaillink.EmailLinkIssuer
-
The name of the observation around each
EmailLinkIssuer.issue(String, String). - issuer() - Method in record class org.jwcarman.who.core.signup.SignUpRequest
-
Returns the value of the
issuerrecord component. - issuer() - Method in record class org.jwcarman.who.federated.FederatedCredential
-
Returns the value of the
issuerrecord component. - issuer() - Method in record class org.jwcarman.who.oidc.PendingSignUp
-
Returns the value of the
issuerrecord component. - issuer() - Method in record class org.jwcarman.who.oidc.ProviderSettings
-
Returns the value of the
issuerrecord component. - issuer() - Method in record class org.jwcarman.who.oidc.SignInRegistration
-
Returns the value of the
issuerrecord component. - issuer() - Method in class org.jwcarman.who.test.StubOidcProvider
-
The provider's issuer,
http://127.0.0.1:<port>, which is also the base of every endpoint. - IssuerValidatingIdTokenDecoderFactory - Class in org.jwcarman.who.oidc
-
Decodes ID tokens with Spring Security's validation plus one more check:
issmust be the issuer who stores the registration's credentials under. - IssuerValidatingIdTokenDecoderFactory(SignInRegistrations) - Constructor for class org.jwcarman.who.oidc.IssuerValidatingIdTokenDecoderFactory
-
Creates the factory.
- isTestSecret(String) - Static method in interface org.jwcarman.who.turnstile.TurnstileVerifier
-
Whether a secret key is one of Cloudflare's published test keys, which pass, fail or answer "already spent" for any dummy token and never accept a real one.
- items() - Method in record class org.jwcarman.who.admin.IdentityPage
-
Returns the value of the
itemsrecord component. - iterator() - Method in class org.jwcarman.who.oidc.CallbackRegistrations
-
Every registration, as
CallbackRegistrations.findByRegistrationId(String)gives it; none when none are listed.
J
- JdbcApiKeyCredentialRepository - Class in org.jwcarman.who.apikey
-
JDBC implementation of
ApiKeyCredentialRepositorybacked by thewho_api_key_credentialtable. - JdbcApiKeyCredentialRepository(JdbcClient) - Constructor for class org.jwcarman.who.apikey.JdbcApiKeyCredentialRepository
-
Creates a new
JdbcApiKeyCredentialRepository. - JdbcCredentialIdentityRepository - Class in org.jwcarman.who.jdbc
-
JDBC implementation of
CredentialIdentityRepositorybacked by thewho_credential_identitytable. - JdbcCredentialIdentityRepository(JdbcClient) - Constructor for class org.jwcarman.who.jdbc.JdbcCredentialIdentityRepository
-
Creates the repository, which keeps links between credentials and identities in who's tables.
- JdbcEmailAddressRequestRepository - Class in org.jwcarman.who.emaillink
-
JDBC implementation of
EmailAddressRequestRepositoryonwho_email_address_request. - JdbcEmailAddressRequestRepository(JdbcClient) - Constructor for class org.jwcarman.who.emaillink.JdbcEmailAddressRequestRepository
-
Creates a new repository.
- JdbcEmailCredentialRepository - Class in org.jwcarman.who.emaillink
-
JDBC implementation of
EmailCredentialRepositoryonwho_email_credential. - JdbcEmailCredentialRepository(JdbcClient) - Constructor for class org.jwcarman.who.emaillink.JdbcEmailCredentialRepository
-
Creates a new repository.
- JdbcEmailLinkTokenRepository - Class in org.jwcarman.who.emaillink
-
JDBC implementation of
EmailLinkTokenRepositoryonwho_email_link_token. - JdbcEmailLinkTokenRepository(JdbcClient) - Constructor for class org.jwcarman.who.emaillink.JdbcEmailLinkTokenRepository
-
Creates a new repository.
- JdbcEnrollmentTokenRepository - Class in org.jwcarman.who.enrollment
-
JDBC implementation of
EnrollmentTokenRepositorybacked by thewho_enrollment_tokentable. - JdbcEnrollmentTokenRepository(JdbcClient) - Constructor for class org.jwcarman.who.enrollment.JdbcEnrollmentTokenRepository
-
Creates the repository, which keeps enrollment tokens in who's tables.
- JdbcFederatedCredentialRepository - Class in org.jwcarman.who.federated
-
JDBC implementation of
FederatedCredentialRepositorybacked by thewho_federated_credentialtable. - JdbcFederatedCredentialRepository(JdbcClient) - Constructor for class org.jwcarman.who.federated.JdbcFederatedCredentialRepository
-
Creates the repository, which keeps federated credentials in who's tables.
- JdbcIdentityRepository - Class in org.jwcarman.who.jdbc
-
JDBC implementation of
IdentityRepositorybacked by thewho_identitytable. - JdbcIdentityRepository(JdbcClient) - Constructor for class org.jwcarman.who.jdbc.JdbcIdentityRepository
-
Creates the repository, which keeps identities in who's tables.
- JdbcIdentityRoleRepository - Class in org.jwcarman.who.rbac
-
JDBC implementation of
IdentityRoleRepositorybacked by thewho_identity_roletable. - JdbcIdentityRoleRepository(JdbcClient) - Constructor for class org.jwcarman.who.rbac.JdbcIdentityRoleRepository
-
Creates the repository, which keeps roles assigned to identities in who's tables.
- JdbcRolePermissionRepository - Class in org.jwcarman.who.rbac
-
JDBC implementation of
RolePermissionRepositorybacked by thewho_role_permissiontable. - JdbcRolePermissionRepository(JdbcClient) - Constructor for class org.jwcarman.who.rbac.JdbcRolePermissionRepository
-
Creates the repository, which keeps permissions granted to roles in who's tables.
- JdbcRoleRepository - Class in org.jwcarman.who.rbac
-
JDBC implementation of
RoleRepositorybacked by thewho_roletable. - JdbcRoleRepository(JdbcClient) - Constructor for class org.jwcarman.who.rbac.JdbcRoleRepository
-
Creates the repository, which keeps roles in who's tables.
- JdbcSessionRecordRepository - Class in org.jwcarman.who.jdbc
-
JDBC implementation of
SessionRecordRepositorybacked by thewho_sessiontable. - JdbcSessionRecordRepository(JdbcClient) - Constructor for class org.jwcarman.who.jdbc.JdbcSessionRecordRepository
-
Creates the repository, which keeps sessions in who's tables.
- JdbcWhoPasskeyCredentialRepository - Class in org.jwcarman.who.passkey
-
JDBC implementation of Spring Security's
UserCredentialRepositoryonwho_passkey_credential. - JdbcWhoPasskeyCredentialRepository(JdbcClient, CredentialIdentityRepository) - Constructor for class org.jwcarman.who.passkey.JdbcWhoPasskeyCredentialRepository
-
Creates a new repository that publishes no events.
- JdbcWhoPasskeyCredentialRepository(JdbcClient, CredentialIdentityRepository, WhoEventPublisher, Clock) - Constructor for class org.jwcarman.who.passkey.JdbcWhoPasskeyCredentialRepository
-
Creates a new repository.
- JdbcWhoPasskeyUserRepository - Class in org.jwcarman.who.passkey
-
JDBC implementation of Spring Security's
PublicKeyCredentialUserEntityRepositoryonwho_passkey_user. - JdbcWhoPasskeyUserRepository(JdbcClient, CredentialIdentityRepository) - Constructor for class org.jwcarman.who.passkey.JdbcWhoPasskeyUserRepository
-
Creates a new repository that publishes no events.
- JdbcWhoPasskeyUserRepository(JdbcClient, CredentialIdentityRepository, WhoEventPublisher, Clock) - Constructor for class org.jwcarman.who.passkey.JdbcWhoPasskeyUserRepository
-
Creates a new repository.
- jsonAuthenticationHandlers(ObjectProvider, ObjectProvider, WhoEventPublisher, Clock, ObjectProvider, WhoPaths) - Method in class org.jwcarman.who.autoconfigure.WhoEmailLinkAutoConfiguration
-
Answers a JSON sign-in:
200with the identity, or the failure through the application's exception handling, with sign-in events and the last-sign-in cookie. - JsonAuthenticationHandlers - Class in org.jwcarman.who.spring.security.web
-
Handlers for sign-in endpoints that do not redirect: a JSON answer on success, and on failure a
SignInFailedExceptionhanded to the application, which formats it. - JsonAuthenticationHandlers(JsonMapper, WhoExceptionHandoff) - Constructor for class org.jwcarman.who.spring.security.web.JsonAuthenticationHandlers
-
Creates new handlers that publish no events.
- JsonAuthenticationHandlers(JsonMapper, WhoExceptionHandoff, WhoEventPublisher, Clock) - Constructor for class org.jwcarman.who.spring.security.web.JsonAuthenticationHandlers
-
Creates new handlers.
- JsonAuthenticationHandlers(JsonMapper, WhoExceptionHandoff, WhoEventPublisher, Clock, LastSignInCookie) - Constructor for class org.jwcarman.who.spring.security.web.JsonAuthenticationHandlers
-
Creates new handlers that also remember the sign-in method in the browser.
- jsonGenerateOneTimeTokenRequestResolver(ObjectProvider) - Method in class org.jwcarman.who.autoconfigure.WhoEmailLinkAutoConfiguration
-
Reads the address from a JSON request for a sign-in link.
- JsonGenerateOneTimeTokenRequestResolver - Class in org.jwcarman.who.emaillink
-
Reads
{"email": "..."}from the body ofPOST /who/email/send. - JsonGenerateOneTimeTokenRequestResolver(JsonMapper) - Constructor for class org.jwcarman.who.emaillink.JsonGenerateOneTimeTokenRequestResolver
-
Creates a new resolver.
- JsonOneTimeTokenAuthenticationConverter - Class in org.jwcarman.who.emaillink
-
Reads the body of
POST /who/email/sign-in: either{"token": "..."}from the emailed link, or{"email": "...", "code": "..."}typed by hand. - JsonOneTimeTokenAuthenticationConverter(JsonMapper) - Constructor for class org.jwcarman.who.emaillink.JsonOneTimeTokenAuthenticationConverter
-
Creates a new converter.
- Jwt() - Constructor for class org.jwcarman.who.autoconfigure.WhoProperties.Jwt
-
Creates the settings with their defaults.
- JWT - Enum constant in enum class org.jwcarman.who.core.event.SignInMethod
-
A JSON Web Token.
- jwtLoginMethod(WhoJwtAuthenticationConverter, ObjectProvider, Environment) - Method in class org.jwcarman.who.autoconfigure.WhoJwtAutoConfiguration
-
Mounts JWT sign-in in a chain built with
WhoSecurity.all(). - JwtLoginMethod - Class in org.jwcarman.who.jwt
-
JWT sign-in as a
StatelessLoginMethod: Spring Security's resource server, verifying with the application'sJwtDecoderand signing in throughWhoJwtAuthenticationConverter. - JwtLoginMethod(WhoJwtAuthenticationConverter, Supplier) - Constructor for class org.jwcarman.who.jwt.JwtLoginMethod
-
Creates the login method with a decoder looked up only when the chain is built, so a missing decoder fails startup only where JWT sign-in is mounted.
- JwtLoginMethod(WhoJwtAuthenticationConverter, JwtDecoder) - Constructor for class org.jwcarman.who.jwt.JwtLoginMethod
-
Creates the login method.
K
- key() - Method in record class org.jwcarman.who.apikey.CreatedApiKey
-
Returns the value of the
keyrecord component. - key() - Method in record class org.jwcarman.who.apikey.NewApiKey
-
Returns the value of the
keyrecord component. - keyHash() - Method in record class org.jwcarman.who.apikey.ApiKeyCredential
-
Returns the value of the
keyHashrecord component. - kind() - Method in record class org.jwcarman.who.apikey.ApiKeyCredential
-
Returns
CredentialKind.API_KEY. - kind() - Method in record class org.jwcarman.who.core.event.CredentialAdded
-
Returns the value of the
kindrecord component. - kind() - Method in record class org.jwcarman.who.core.event.CredentialRevoked
-
Returns the value of the
kindrecord component. - kind() - Method in interface org.jwcarman.who.core.service.SignInCredentialCounter
-
The kind this counter counts, such as
"email","passkey"or"account". - kind() - Method in interface org.jwcarman.who.core.spi.Credential
-
Returns the kind of this credential, reported in security events.
- kind() - Method in record class org.jwcarman.who.emaillink.EmailCredential
-
Returns
CredentialKind.EMAIL. - kind() - Method in class org.jwcarman.who.emaillink.EmailSignInCredentialCounter
- kind() - Method in record class org.jwcarman.who.federated.FederatedCredential
-
Returns
CredentialKind.FEDERATED. - kind() - Method in class org.jwcarman.who.oidc.OidcSignInCredentialCounter
- kind() - Method in record class org.jwcarman.who.oidc.SignInRegistration
-
Returns the value of the
kindrecord component. - kind() - Method in record class org.jwcarman.who.passkey.PasskeyCredential
-
Returns
CredentialKind.PASSKEY. - kind() - Method in class org.jwcarman.who.passkey.PasskeySignInCredentialCounter
L
- label() - Method in record class org.jwcarman.who.apikey.ApiKeyCredential
-
Returns the key's
ApiKeyCredential.name(). - label() - Method in record class org.jwcarman.who.core.event.CredentialAdded
-
Returns the value of the
labelrecord component. - label() - Method in record class org.jwcarman.who.core.event.CredentialRevoked
-
Returns the value of the
labelrecord component. - label() - Method in interface org.jwcarman.who.core.spi.Credential
-
Returns a human-readable label for this credential, reported in security events.
- label() - Method in record class org.jwcarman.who.emaillink.EmailCredential
-
Returns the address, which labels the credential in security events, if it is safe to pass on: bounded and free of control characters (see
EmailAddresses.isSafe(String)). - label() - Method in record class org.jwcarman.who.federated.FederatedCredential
-
Returns the
FederatedCredential.issuer(). - label() - Method in record class org.jwcarman.who.passkey.PasskeyAddedMessage
-
Returns the value of the
labelrecord component. - label() - Method in record class org.jwcarman.who.passkey.PasskeyCredential
-
Returns the passkey's label, which labels it in security events.
- label() - Method in record class org.jwcarman.who.passkey.PasskeySummary
-
Returns the value of the
labelrecord component. - label() - Method in record class org.jwcarman.who.passkey.PasskeyView
-
Returns the value of the
labelrecord component. - LastAdminException - Exception Class in org.jwcarman.who.admin
-
A change that would leave no active identity holding
WhoAdminPermissions.IDENTITIES_MANAGE: deactivating the last one, or removing the role through which the last one holds it. - LastAdminException() - Constructor for exception class org.jwcarman.who.admin.LastAdminException
-
Creates the exception.
- LastAdminGuard - Class in org.jwcarman.who.admin
-
Keeps who's admin endpoints from leaving no active identity that holds
WhoAdminPermissions.IDENTITIES_MANAGE. - LastAdminGuard(JdbcClient, PlatformTransactionManager, boolean) - Constructor for class org.jwcarman.who.admin.LastAdminGuard
-
Creates the guard.
- LastCredentialException - Exception Class in org.jwcarman.who.core.exception
-
Thrown when removing a credential would leave an identity with no way to sign in.
- LastCredentialException() - Constructor for exception class org.jwcarman.who.core.exception.LastCredentialException
-
Creates the exception.
- LastCredentialGuard - Class in org.jwcarman.who.core.service
-
Keeps an identity from losing its last sign-in credential.
- LastCredentialGuard(IdentityRepository, List, PlatformTransactionManager) - Constructor for class org.jwcarman.who.core.service.LastCredentialGuard
-
Creates the guard.
- lastSeenAt() - Method in record class org.jwcarman.who.core.domain.SessionRecord
-
Returns the value of the
lastSeenAtrecord component. - lastSeenAt() - Method in record class org.jwcarman.who.spring.security.SessionView
-
Returns the value of the
lastSeenAtrecord component. - lastSeenInterval() - Method in class org.jwcarman.who.core.service.WhoSessions
-
Returns how often a busy session's last-seen time is written.
- lastSignInCookie() - Method in class org.jwcarman.who.autoconfigure.WhoSpringSecurityAutoConfiguration
-
Remembers in the browser which way someone last signed in.
- LastSignInCookie - Class in org.jwcarman.who.spring.security.web
-
Remembers in the browser which way someone last signed in, so the sign-in page can mark that button "Last used" and a person who forgot does not create a second account another way.
- LastSignInCookie() - Constructor for class org.jwcarman.who.autoconfigure.WhoProperties.Security.LastSignInCookie
-
Creates the settings with their defaults.
- LastSignInCookie() - Constructor for class org.jwcarman.who.spring.security.web.LastSignInCookie
-
Creates the cookie writer.
- lastUsed() - Method in record class org.jwcarman.who.passkey.PasskeySummary
-
Returns the value of the
lastUsedrecord component. - lastUsedAt() - Method in record class org.jwcarman.who.apikey.ApiKey
-
Returns the value of the
lastUsedAtrecord component. - lastUsedAt() - Method in record class org.jwcarman.who.apikey.ApiKeyCredential
-
Returns the value of the
lastUsedAtrecord component. - lastUsedAt() - Method in record class org.jwcarman.who.apikey.ApiKeyView
-
Returns the value of the
lastUsedAtrecord component. - lastUsedAt() - Method in record class org.jwcarman.who.passkey.PasskeyView
-
Returns the value of the
lastUsedAtrecord component. - link() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationMessage
-
Returns the value of the
linkrecord component. - link() - Method in record class org.jwcarman.who.emaillink.EmailLinkMessage
-
Returns the value of the
linkrecord component. - link() - Method in record class org.jwcarman.who.emaillink.InvitationMessage
-
Returns the value of the
linkrecord component. - link() - Method in class org.jwcarman.who.oidc.OidcRedirects
-
The link URL as configured: a link to an account the person already had.
- link(UUID, UUID) - Method in interface org.jwcarman.who.core.repository.CredentialIdentityRepository
-
Links the given credential to the given identity.
- link(UUID, UUID) - Method in class org.jwcarman.who.jdbc.JdbcCredentialIdentityRepository
- link(Identity, String, String) - Method in class org.jwcarman.who.federated.FederatedCredentialService
-
Saves a credential for the issuer/subject pair and links it to the identity, then publishes
CredentialAddedlabelled with the issuer. - link(Identity, PendingSignUp) - Method in class org.jwcarman.who.oidc.OidcSignUpService
-
Links a pending account to an identity.
- LINK_REFUSED - Enum constant in enum class org.jwcarman.who.core.event.SignInFailureReason
-
A link to a provider account was refused: started too long ago, or answered while the identity that started it was no longer the one signed in.
- linkBaseUrl() - Method in record class org.jwcarman.who.emaillink.EmailLinkSettings
-
Returns the value of the
linkBaseUrlrecord component. - LinkedAccountNotFoundException - Exception Class in org.jwcarman.who.oidc
-
A request to unlink named an account that is not one of the caller's own.
- LinkedAccountNotFoundException() - Constructor for exception class org.jwcarman.who.oidc.LinkedAccountNotFoundException
-
Creates the exception.
- LinkedAccountsController - Class in org.jwcarman.who.oidc
-
Lists and unlinks the caller's provider accounts:
GET /who/me/accountsandDELETE /who/me/accounts/{id}. - LinkedAccountsController(SignInRegistrations, FederatedCredentialService, LastCredentialGuard, WhoSessionSecurityContextRepository, Clock, Duration) - Constructor for class org.jwcarman.who.oidc.LinkedAccountsController
-
Creates the controller.
- LinkedAccountView - Record Class in org.jwcarman.who.oidc
-
One of the caller's linked provider accounts, as
GET /who/me/accountslists it. - LinkedAccountView(String, String, String) - Constructor for record class org.jwcarman.who.oidc.LinkedAccountView
-
Creates an instance of a
LinkedAccountViewrecord class. - linkedAt() - Method in record class org.jwcarman.who.federated.FederatedCredential
-
When the credential was created, read from its id: a UUIDv7 begins with its creation time in milliseconds. who does not store it separately; it is when the account was first linked or signed up with.
- linkedAt() - Method in record class org.jwcarman.who.oidc.LinkedAccountView
-
Returns the value of the
linkedAtrecord component. - linkExisting(Identity, FederatedCredential) - Method in class org.jwcarman.who.federated.FederatedCredentialService
-
Links a credential that is already saved, and linked to no identity, to the identity, then publishes
CredentialAddedlabelled with the issuer. - linkFailure(String) - Method in class org.jwcarman.who.oidc.OidcRedirects
-
The link URL with
error=<code>: a link that cannot be made. - linkOutcome() - Method in record class org.jwcarman.who.emaillink.Invitation
-
Returns the value of the
linkOutcomerecord component. - linkSent() - Method in record class org.jwcarman.who.admin.CreatedInvitation
-
Returns the value of the
linkSentrecord component. - linkSent() - Method in record class org.jwcarman.who.emaillink.Invitation
-
Whether the sign-in link was sent: only
EmailLinkOutcome.SENTcounts. - LinkToken(String) - Constructor for record class org.jwcarman.who.emaillink.EmailSignInProof.LinkToken
-
Compact constructor: validates that the token is not
null. - list() - Method in class org.jwcarman.who.emaillink.EmailAddressesController
-
The caller's addresses, oldest first.
- list() - Method in class org.jwcarman.who.oidc.LinkedAccountsController
-
The caller's linked accounts, oldest first.
- list(HttpServletRequest) - Method in class org.jwcarman.who.apikey.ApiKeysController
-
The caller's keys, by name.
- list(HttpServletRequest) - Method in class org.jwcarman.who.passkey.PasskeysController
-
The caller's passkeys, oldest first.
- list(HttpServletRequest) - Method in class org.jwcarman.who.spring.security.SessionsController
-
Lists the caller's live sessions, newest first, the current one marked.
- list(UUID) - Method in class org.jwcarman.who.core.service.WhoSessions
-
Lists an identity's live sessions, most recently signed in first.
- list(UUID) - Method in class org.jwcarman.who.passkey.PasskeyService
-
Lists an identity's passkeys, oldest first.
- listRoles() - Method in class org.jwcarman.who.rbac.RbacService
-
Returns every role, sorted by name.
- loadContext(HttpRequestResponseHolder) - Method in class org.jwcarman.who.spring.security.WhoSessionSecurityContextRepository
-
Deprecated.
- loadDeferredContext(HttpServletRequest) - Method in class org.jwcarman.who.spring.security.WhoSessionSecurityContextRepository
- loadUser(OAuth2UserRequest) - Method in class org.jwcarman.who.oidc.WhoOAuth2UserService
- location() - Method in record class org.jwcarman.who.email.WhoEmailTemplates
-
Returns the value of the
locationrecord component. - lockById(UUID) - Method in interface org.jwcarman.who.core.repository.IdentityRepository
-
Finds an identity and locks its row until the surrounding transaction ends, so that concurrent callers serialize on it.
- lockById(UUID) - Method in class org.jwcarman.who.jdbc.JdbcIdentityRepository
- looksValid(String) - Method in class org.jwcarman.who.apikey.ApiKeyFormat
-
Whether text has the shape of a who key: a valid prefix (this one or any other), the random part, and a checksum that matches.
M
- Malformed() - Constructor for record class org.jwcarman.who.emaillink.EmailSignInProof.Malformed
-
Creates an instance of a
Malformedrecord class. - MALFORMED - Enum constant in enum class org.jwcarman.who.core.event.SignInFailureReason
-
The presented credential could not be parsed.
- MAPPING - Static variable in record class org.jwcarman.who.spring.security.WhoPaths
-
The root as a placeholder for a request mapping,
who.base-pathorWhoPaths.DEFAULT_ROOT:@GetMapping(WhoPaths.MAPPING + "/me"). - maskedNewAddress() - Method in record class org.jwcarman.who.emaillink.EmailAddressChangedMessage
-
Returns the new address with all but the first character of its local part hidden, for example
n***@example.com, so the old address learns where the account went without being handed the whole address. - MAX_OVERLAP - Static variable in class org.jwcarman.who.apikey.ApiKeyService
-
The longest a rotated key's predecessor may keep working.
- MAX_USER_AGENT_LENGTH - Static variable in class org.jwcarman.who.core.service.WhoSessions
-
The longest
User-Agentkept. - maxAge() - Method in exception class org.jwcarman.who.spring.security.web.InsufficientUserAuthenticationException
-
Returns how recent the sign-in must be: the
max_agethe client asks the identity provider for. - me(HttpServletRequest, Authentication) - Method in class org.jwcarman.who.spring.security.web.WhoMeController
-
Answers the current principal, freshly resolved for this request, as
WhoMeController.WhoMeResponse, whose annotations keep the application's Jackson settings from changing its names, its nulls or its instants. - messageDigest(String, byte[]) - Static method in class org.jwcarman.who.core.crypto.MessageDigests
-
Computes the digest of the given bytes using the specified algorithm.
- MessageDigests - Class in org.jwcarman.who.core.crypto
-
Utility methods for computing message digests.
- messages() - Method in record class org.jwcarman.who.email.WhoEmailTemplates
-
Returns the value of the
messagesrecord component. - method() - Method in record class org.jwcarman.who.core.event.SignInFailed
-
Returns the value of the
methodrecord component. - method() - Method in record class org.jwcarman.who.core.event.SignInSucceeded
-
Returns the value of the
methodrecord component. - method() - Method in record class org.jwcarman.who.core.signup.SignUpRequest
-
Returns the value of the
methodrecord component. - method() - Method in record class org.jwcarman.who.spring.security.WhoCaller.Stateless
-
Returns the value of the
methodrecord component. - MethodSecurity() - Constructor for class org.jwcarman.who.autoconfigure.WhoProperties.MethodSecurity
-
Creates the settings with their defaults.
- MISSING_CLAIMS - Enum constant in enum class org.jwcarman.who.core.event.SignInFailureReason
-
The token lacked required claims.
- MustacheWhoEmailRenderer - Class in org.jwcarman.who.email
-
Renders who's emails from Mustache templates.
- MustacheWhoEmailRenderer(ResourcePatternResolver, List, MessageSource, Map, List) - Constructor for class org.jwcarman.who.email.MustacheWhoEmailRenderer
-
Creates the renderer and compiles every template it can find.
N
- name() - Method in record class org.jwcarman.who.admin.RoleView
-
Returns the value of the
namerecord component. - name() - Method in record class org.jwcarman.who.apikey.ApiKey
-
Returns the value of the
namerecord component. - name() - Method in record class org.jwcarman.who.apikey.ApiKeyCredential
-
Returns the value of the
namerecord component. - name() - Method in class org.jwcarman.who.apikey.ApiKeyLoginMethod
- name() - Method in record class org.jwcarman.who.apikey.ApiKeyView
-
Returns the value of the
namerecord component. - name() - Method in record class org.jwcarman.who.apikey.CreatedApiKey
-
Returns the value of the
namerecord component. - name() - Method in record class org.jwcarman.who.apikey.NewApiKey
-
Returns the value of the
namerecord component. - name() - Method in class org.jwcarman.who.emaillink.EmailLinkLoginMethod
- name() - Method in class org.jwcarman.who.jwt.JwtLoginMethod
- name() - Method in class org.jwcarman.who.oidc.OidcLoginMethod
- name() - Method in class org.jwcarman.who.passkey.PasskeyLoginMethod
- name() - Method in record class org.jwcarman.who.rbac.Role
-
Returns the value of the
namerecord component. - name() - Method in interface org.jwcarman.who.spring.security.PasswordlessLoginMethod
-
Returns this method's name, for the line who logs at startup naming the sign-in methods a chain accepts. who's own methods return a short name such as
passkey. - name() - Method in interface org.jwcarman.who.spring.security.StatelessLoginMethod
-
Returns this method's name, for the line who logs at startup naming the sign-in methods a chain accepts. who's own methods return a short name such as
api-key. - name() - Method in interface org.jwcarman.who.spring.security.WhoHumanCheck
-
Returns this check's name, for the line who logs at startup.
- name() - Method in class org.jwcarman.who.turnstile.TurnstileHumanCheck
- name(String) - Method in class org.jwcarman.who.oidc.SignInRegistrations
-
The name a person knows a registration by, its client name, such as
GitHub. - NAME - Static variable in class org.jwcarman.who.spring.security.web.LastSignInCookie
-
The cookie's name.
- nameFor(UUID, Optional) - Method in interface org.jwcarman.who.passkey.PasskeyNameResolver
-
Returns the picker name for the identity.
- newAddress() - Method in record class org.jwcarman.who.emaillink.EmailAddressChangedMessage
-
Returns the value of the
newAddressrecord component. - NewApiKey - Record Class in org.jwcarman.who.apikey
-
A key just made, by
ApiKeyService.create(Identity, String, Duration, Set)orApiKeyService.rotate(UUID, Duration): the only time the raw key exists outside the caller. - NewApiKey(UUID, String, String, Set, Instant) - Constructor for record class org.jwcarman.who.apikey.NewApiKey
-
Validates that no component is
null. - nextEmails(List) - Method in class org.jwcarman.who.test.StubOidcProvider
-
Sets what GitHub's
/user/emailsreturns. - nextIssuerClaim(String) - Method in class org.jwcarman.who.test.StubOidcProvider
-
Forges the
issclaim of the next ID tokens, which are still signed by this provider's key. - nextUser(String, Map) - Method in class org.jwcarman.who.test.StubOidcProvider
-
Names the user the next sign-ins return.
- NO_ADDRESS - Static variable in class org.jwcarman.who.emaillink.JsonGenerateOneTimeTokenRequestResolver
-
The username used for malformed requests.
- NO_LIVE_CODE - Enum constant in enum class org.jwcarman.who.core.event.SignInFailureReason
-
No live one-time code exists for the address.
- NO_METHODS - Static variable in class org.jwcarman.who.spring.security.WhoStatelessConfigurer
-
The startup failure when there is nothing to mount.
- NoIdentity(UUID) - Constructor for record class org.jwcarman.who.core.service.Resolution.NoIdentity
-
Validates that the identity id is not null.
- NOOP - Static variable in interface org.jwcarman.who.core.event.WhoEventPublisher
-
A publisher that discards every event.
- normalize(String) - Static method in record class org.jwcarman.who.emaillink.EmailCredential
-
Normalizes an address: trims it, then lower-cases it with
Locale.ROOT. - noSignInTime() - Static method in exception class org.jwcarman.who.spring.security.web.RecentSignInUnavailableException
-
A bearer token that does not say when its person signed in.
- NotLinked() - Constructor for record class org.jwcarman.who.core.service.Resolution.NotLinked
-
Creates an instance of a
NotLinkedrecord class. - NotSignedInException - Exception Class in org.jwcarman.who.spring.security.web
-
A request needs a signed-in caller and has none.
- NotSignedInException() - Constructor for exception class org.jwcarman.who.spring.security.web.NotSignedInException
-
Creates the exception.
O
- OAUTH2 - Enum constant in enum class org.jwcarman.who.oidc.SignInRegistration.Kind
-
Any other OAuth 2 provider: the account is a configured user-info attribute.
- observe(ObservationRegistry, String, String, Supplier, Function) - Static method in class org.jwcarman.who.core.observation.WhoObservations
- occurredAt() - Method in record class org.jwcarman.who.core.event.CredentialAdded
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.core.event.CredentialRevoked
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.core.event.EndedSessionsPurged
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.core.event.IdentityCreated
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.core.event.IdentityDeactivated
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.core.event.IdentityDeleted
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.core.event.IdentityReactivated
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.core.event.OrphanedCredentialsPurged
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.core.event.SessionEnded
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.core.event.SignedOut
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.core.event.SignInFailed
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.core.event.SignInSucceeded
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in interface org.jwcarman.who.core.event.WhoEvent
-
Returns when the event occurred.
- occurredAt() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationRequested
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.emaillink.IdentityInvited
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.emaillink.SignInEmailRequested
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.enrollment.EnrollmentTokenCreated
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.enrollment.EnrollmentTokenRevoked
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.passkey.PasskeyRegistrationRefused
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.rbac.RoleAssigned
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.rbac.RoleCreated
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.rbac.RoleDeleted
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.rbac.RolePermissionAdded
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.rbac.RolePermissionRemoved
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.rbac.RoleUnassigned
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class org.jwcarman.who.spring.security.HumanCheckPerformed
-
Returns the value of the
occurredAtrecord component. - of(Exception, HttpStatus) - Static method in class org.jwcarman.who.spring.security.web.WhoProblems
-
The problem answering
exception. - of(Iterable, Map) - Static method in class org.jwcarman.who.oidc.SignInRegistrations
-
Reads the sign-in registrations.
- of(String) - Method in record class org.jwcarman.who.spring.security.WhoPaths
-
Returns an endpoint's full path.
- of(Map) - Static method in record class org.jwcarman.who.turnstile.TurnstileAnswer
-
Reads siteverify's JSON.
- of(SignInMethod, Instant) - Static method in class org.jwcarman.who.spring.security.WhoSignInFactors
-
The factor for a sign-in.
- of(ProviderAccount, UUID, Instant) - Static method in record class org.jwcarman.who.oidc.PendingSignUp
-
Starts a pending sign-up for an account.
- oidc() - Method in record class org.jwcarman.who.oidc.SignInRegistration
-
Whether this registration is OpenID Connect.
- Oidc() - Constructor for class org.jwcarman.who.autoconfigure.WhoProperties.Oidc
-
Creates the settings with their defaults.
- OIDC - Enum constant in enum class org.jwcarman.who.core.event.SignInMethod
-
An account at an identity provider, through OpenID Connect or OAuth 2.0 sign-in.
- OIDC - Enum constant in enum class org.jwcarman.who.oidc.SignInRegistration.Kind
-
OpenID Connect: the account is the ID token's
issandsub. - oidcLoginMethod(WhoPaths, SignInRegistrations, WhoService, FederatedCredentialRepository, WhoSessionSecurityContextRepository, OidcSignUpService, IdentityRepository, Clock, WhoProperties) - Method in class org.jwcarman.who.autoconfigure.WhoOidcAutoConfiguration
-
Mounts provider sign-in in who's chains.
- OidcLoginMethod - Class in org.jwcarman.who.oidc
-
Sign-in with Google, GitHub or any OpenID Connect provider, mounted with Spring Security's
oauth2Login(). - OidcLoginMethod(WhoPaths, SignInRegistrations, WhoService, FederatedCredentialRepository, WhoSessionSecurityContextRepository, OidcSignUpService, IdentityRepository, OidcRedirects, Clock, Duration, Duration) - Constructor for class org.jwcarman.who.oidc.OidcLoginMethod
-
Creates the login method.
- OidcRedirects - Class in org.jwcarman.who.oidc
-
Where a provider sign-in sends the browser: the success URL, or the failure URL with an
errorcode added to its query. - OidcRedirects(String, String) - Constructor for class org.jwcarman.who.oidc.OidcRedirects
-
Creates the redirects, with links landing on the success URL.
- OidcRedirects(String, String, String) - Constructor for class org.jwcarman.who.oidc.OidcRedirects
-
Creates the redirects.
- OidcRuntimeHints - Class in org.jwcarman.who.oidc.aot
-
Lets a native image keep a
PendingSignUp, and Spring'sOAuth2AuthorizationRequestthat crosses the redirect to the provider, in a session store that serializes its attributes, such as Spring Session JDBC. - OidcRuntimeHints() - Constructor for class org.jwcarman.who.oidc.aot.OidcRuntimeHints
-
Creates the registrar; Spring calls it, listed in
aot.factories. - oidcSignInCredentialCounter(JdbcClient, SignInRegistrations) - Method in class org.jwcarman.who.autoconfigure.WhoOidcAutoConfiguration
-
Counts the linked accounts a configured registration signs in, for the last-credential rule; an account whose registration is gone, or a JWT's issuer and subject, is not counted.
- OidcSignInCredentialCounter - Class in org.jwcarman.who.oidc
-
Counts an identity's linked provider accounts that a configured sign-in registration signs in, for the last-credential rule.
- OidcSignInCredentialCounter(JdbcClient, SignInRegistrations) - Constructor for class org.jwcarman.who.oidc.OidcSignInCredentialCounter
-
Creates the counter.
- OidcSignInHandler - Class in org.jwcarman.who.oidc
-
Turns a provider sign-in into a who session, or into a pending sign-up for an account who does not know.
- OidcSignInHandler(SignInRegistrations, WhoService, FederatedCredentialRepository, WhoSessionSecurityContextRepository, SessionAuthenticationStrategy, PendingSignUps, OidcRedirects, WhoEventPublisher, LastSignInCookie, Clock, Duration, Duration) - Constructor for class org.jwcarman.who.oidc.OidcSignInHandler
-
Creates the handler.
- oidcSignUpService(WhoSignUpPolicy, WhoService, IdentityRepository, FederatedCredentialRepository, FederatedCredentialService, CredentialIdentityRepository, WhoEventPublisher, Clock, PlatformTransactionManager) - Method in class org.jwcarman.who.autoconfigure.WhoOidcAutoConfiguration
-
Confirms pending sign-ups through the policy, and links.
- OidcSignUpService - Class in org.jwcarman.who.oidc
-
Confirms a pending sign-up through the application's
WhoSignUpPolicy, or links a pending account to the identity signed in. - OidcSignUpService(WhoSignUpPolicy, WhoService, IdentityRepository, FederatedCredentialRepository, FederatedCredentialService, CredentialIdentityRepository, WhoEventPublisher, Clock, PlatformTransactionManager) - Constructor for class org.jwcarman.who.oidc.OidcSignUpService
-
Creates the service.
- OidcSignUpService.SignedUp - Record Class in org.jwcarman.who.oidc
-
A confirmed sign-up.
- on(WhoEvent) - Method in class org.jwcarman.who.autoconfigure.WhoMetrics
-
Counts one event.
- on(SignInEmailRequested) - Method in class org.jwcarman.who.autoconfigure.WhoEmailLinkMetrics
-
Counts one request.
- on(HumanCheckPerformed) - Method in class org.jwcarman.who.autoconfigure.WhoHumanCheckMetrics
-
Counts one check.
- onAuthenticationFailure(HttpServletRequest, HttpServletResponse, AuthenticationException) - Method in class org.jwcarman.who.oidc.OidcSignInHandler
- onAuthenticationSuccess(HttpServletRequest, HttpServletResponse, Authentication) - Method in class org.jwcarman.who.oidc.OidcSignInHandler
- org.jwcarman.who.admin - package org.jwcarman.who.admin
- org.jwcarman.who.apikey - package org.jwcarman.who.apikey
- org.jwcarman.who.autoconfigure - package org.jwcarman.who.autoconfigure
- org.jwcarman.who.core.crypto - package org.jwcarman.who.core.crypto
- org.jwcarman.who.core.domain - package org.jwcarman.who.core.domain
- org.jwcarman.who.core.email - package org.jwcarman.who.core.email
- org.jwcarman.who.core.event - package org.jwcarman.who.core.event
- org.jwcarman.who.core.exception - package org.jwcarman.who.core.exception
- org.jwcarman.who.core.id - package org.jwcarman.who.core.id
- org.jwcarman.who.core.observation - package org.jwcarman.who.core.observation
- org.jwcarman.who.core.repository - package org.jwcarman.who.core.repository
- org.jwcarman.who.core.service - package org.jwcarman.who.core.service
- org.jwcarman.who.core.signup - package org.jwcarman.who.core.signup
- org.jwcarman.who.core.spi - package org.jwcarman.who.core.spi
- org.jwcarman.who.email - package org.jwcarman.who.email
- org.jwcarman.who.email.aot - package org.jwcarman.who.email.aot
- org.jwcarman.who.email.smtp - package org.jwcarman.who.email.smtp
- org.jwcarman.who.emaillink - package org.jwcarman.who.emaillink
- org.jwcarman.who.enrollment - package org.jwcarman.who.enrollment
- org.jwcarman.who.federated - package org.jwcarman.who.federated
- org.jwcarman.who.jdbc - package org.jwcarman.who.jdbc
- org.jwcarman.who.jwt - package org.jwcarman.who.jwt
- org.jwcarman.who.oidc - package org.jwcarman.who.oidc
- org.jwcarman.who.oidc.aot - package org.jwcarman.who.oidc.aot
- org.jwcarman.who.passkey - package org.jwcarman.who.passkey
- org.jwcarman.who.passkey.aot - package org.jwcarman.who.passkey.aot
- org.jwcarman.who.rbac - package org.jwcarman.who.rbac
- org.jwcarman.who.spring.security - package org.jwcarman.who.spring.security
- org.jwcarman.who.spring.security.aot - package org.jwcarman.who.spring.security.aot
- org.jwcarman.who.spring.security.web - package org.jwcarman.who.spring.security.web
- org.jwcarman.who.test - package org.jwcarman.who.test
- org.jwcarman.who.turnstile - package org.jwcarman.who.turnstile
- OrphanedCredentialsPurged - Record Class in org.jwcarman.who.core.event
-
Credentials no longer linked to any identity were purged.
- OrphanedCredentialsPurged(Instant, int) - Constructor for record class org.jwcarman.who.core.event.OrphanedCredentialsPurged
-
Validates that the timestamp is not null.
- Other(WhoAuthenticationToken) - Constructor for record class org.jwcarman.who.spring.security.WhoCaller.Other
-
Creates the caller.
- OTHER - Enum constant in enum class org.jwcarman.who.core.event.CredentialKind
-
Any other credential type.
- outcome() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationRequested
-
Returns the value of the
outcomerecord component. - outcome() - Method in record class org.jwcarman.who.emaillink.SignInEmailRequested
-
Returns the value of the
outcomerecord component. - outcome() - Method in record class org.jwcarman.who.spring.security.HumanCheckPerformed
-
Returns the value of the
outcomerecord component. - OUTCOME - Static variable in class org.jwcarman.who.core.observation.WhoObservations
-
The one low-cardinality key on who's observations.
- OutgoingEmail - Record Class in org.jwcarman.who.core.email
-
A rendered email, ready for a
WhoEmailSenderto deliver. - OutgoingEmail(String, String, String, String, WhoEmail) - Constructor for record class org.jwcarman.who.core.email.OutgoingEmail
-
Checks the required parts.
- ownerOf(String) - Method in class org.jwcarman.who.passkey.PasskeyService
-
Finds the identity that owns a passkey.
- ownsAddress(UUID, UUID) - Method in class org.jwcarman.who.emaillink.EmailAddressChanges
-
Whether the credential is one of the identity's email addresses, which a change may replace.
P
- page() - Method in record class org.jwcarman.who.admin.IdentityPage
-
Returns the value of the
pagerecord component. - page(HttpServletRequest) - Method in class org.jwcarman.who.admin.IdentitiesController
-
One page of identities, oldest first.
- PASSED - Enum constant in enum class org.jwcarman.who.spring.security.HumanCheckOutcome
-
The check passed the request, which went on to the endpoint.
- passes(HumanCheckRequest) - Method in interface org.jwcarman.who.spring.security.WhoHumanCheck
-
Decides a request.
- passes(HumanCheckRequest) - Method in class org.jwcarman.who.turnstile.TurnstileHumanCheck
- Passkey() - Constructor for class org.jwcarman.who.autoconfigure.WhoProperties.Passkey
-
Creates the settings with their defaults.
- PASSKEY - Enum constant in enum class org.jwcarman.who.core.event.CredentialKind
-
A WebAuthn passkey.
- PASSKEY - Enum constant in enum class org.jwcarman.who.core.event.SignInMethod
-
A WebAuthn passkey.
- passkeyAdded(UUID, String) - Method in class org.jwcarman.who.passkey.EmailPasskeyAddedNotifier
-
Sends the email.
- passkeyAdded(UUID, String) - Method in interface org.jwcarman.who.passkey.PasskeyAddedNotifier
-
A passkey was added to the identity.
- PasskeyAddedMessage - Record Class in org.jwcarman.who.passkey
-
An email telling an identity's owner that a passkey was added to their account, so one they did not add can be noticed and removed.
- PasskeyAddedMessage(String, String) - Constructor for record class org.jwcarman.who.passkey.PasskeyAddedMessage
-
Compact constructor: validates that no field is
null. - passkeyAddedNotifier(ApplicationContext) - Method in class org.jwcarman.who.autoconfigure.WhoPasskeyAutoConfiguration
- PasskeyAddedNotifier - Interface in org.jwcarman.who.passkey
-
Told after a passkey is registered, so the owner can notice a passkey they did not add.
- PasskeyCredential - Record Class in org.jwcarman.who.passkey
-
A passkey, as a who credential.
- PasskeyCredential(UUID) - Constructor for record class org.jwcarman.who.passkey.PasskeyCredential
-
Creates a passkey with no label.
- PasskeyCredential(UUID, String) - Constructor for record class org.jwcarman.who.passkey.PasskeyCredential
-
Compact constructor: validates that the id is not
null. - passkeyCredentialRemover(JdbcWhoPasskeyCredentialRepository) - Method in class org.jwcarman.who.autoconfigure.WhoPasskeyAutoConfiguration
-
Describes passkeys to
WhoService.deleteIdentity, so their revocations carry kind and label. - PasskeyCredentialRemover - Class in org.jwcarman.who.passkey
-
The passkey module's
CredentialRemover. - PasskeyCredentialRemover(JdbcWhoPasskeyCredentialRepository) - Constructor for class org.jwcarman.who.passkey.PasskeyCredentialRemover
-
Creates the remover.
- passkeyLabel() - Method in record class org.jwcarman.who.passkey.PasskeyCredential
-
Returns the value of the
passkeyLabelrecord component. - passkeyLoginMethod(WhoPaths, JdbcWhoPasskeyUserRepository, JdbcWhoPasskeyCredentialRepository, WebAuthnRelyingPartyOperations, WhoService, WhoSessionSecurityContextRepository, ObjectProvider, Clock, PasskeySettings, WhoEventPublisher) - Method in class org.jwcarman.who.autoconfigure.WhoPasskeyAutoConfiguration
-
The provider is built here rather than published as a bean: a lone
AuthenticationProviderbean would become Spring Security's global one and switch off the application'sUserDetailsService. - PasskeyLoginMethod - Class in org.jwcarman.who.passkey
-
Passkey sign-in and registration with Spring Security's passkey filters, at who's URLs under
who.base-path. who adds the filters itself (seePasskeyFilters) rather than calling Spring'swebAuthn(), which fixes their URLs, and gives them who's collaborators: who's two repositories and the application'sWebAuthnRelyingPartyOperationsbean. - PasskeyLoginMethod(WhoPaths, JdbcWhoPasskeyUserRepository, JdbcWhoPasskeyCredentialRepository, AuthenticationProvider, WhoSessionSecurityContextRepository, JsonMapper, Clock, Duration) - Constructor for class org.jwcarman.who.passkey.PasskeyLoginMethod
-
Creates the login method.
- passkeyNameResolver(ApplicationContext) - Method in class org.jwcarman.who.autoconfigure.WhoPasskeyAutoConfiguration
-
Names passkeys by email address when who-email-link is on the classpath, otherwise by identity id.
- PasskeyNameResolver - Interface in org.jwcarman.who.passkey
-
Picks the name the passkey picker shows for an identity (the user entity's
nameanddisplay_name). - PasskeyNotFoundException - Exception Class in org.jwcarman.who.passkey
-
A request named a passkey that is not one of the caller's own: another identity's and one that does not exist are the same answer.
- PasskeyNotFoundException() - Constructor for exception class org.jwcarman.who.passkey.PasskeyNotFoundException
-
Creates the exception.
- PasskeyRegistrationGuardFilter - Class in org.jwcarman.who.passkey
-
The answers Spring's passkey registration has no hook for.
- PasskeyRegistrationGuardFilter(WhoPaths, WhoSessionSecurityContextRepository, Clock, Duration, WhoExceptionHandoff) - Constructor for class org.jwcarman.who.passkey.PasskeyRegistrationGuardFilter
-
Creates a guard that publishes no events.
- PasskeyRegistrationGuardFilter(WhoPaths, WhoSessionSecurityContextRepository, Clock, Duration, WhoExceptionHandoff, WhoEventPublisher) - Constructor for class org.jwcarman.who.passkey.PasskeyRegistrationGuardFilter
-
Creates the guard.
- PasskeyRegistrationRefused - Record Class in org.jwcarman.who.passkey
-
A signed-in identity tried to add a passkey, and was refused because it signed in longer ago than the registration window allows.
- PasskeyRegistrationRefused(Instant, UUID, PasskeyRegistrationRefusedReason) - Constructor for record class org.jwcarman.who.passkey.PasskeyRegistrationRefused
-
Validates that no component is null.
- PasskeyRegistrationRefusedReason - Enum Class in org.jwcarman.who.passkey
-
Why a passkey registration was refused, reported in
PasskeyRegistrationRefused. - PasskeyRuntimeHints - Class in org.jwcarman.who.passkey.aot
-
Native-image reflection for passkeys: Spring Security WebAuthn's JSON model and webauthn4j's CBOR model.
- PasskeyRuntimeHints() - Constructor for class org.jwcarman.who.passkey.aot.PasskeyRuntimeHints
-
Creates the registrar; Spring calls it, listed in
aot.factories. - PasskeysController - Class in org.jwcarman.who.passkey
-
GET /who/me/passkeyslists the caller's passkeys, oldest first;DELETE /who/me/passkeys/{credentialId}removes one. - PasskeysController(WhoSessionSecurityContextRepository, PasskeyService, LastCredentialGuard, Clock, Duration) - Constructor for class org.jwcarman.who.passkey.PasskeysController
-
Creates the controller.
- passkeyService(JdbcWhoPasskeyCredentialRepository) - Method in class org.jwcarman.who.autoconfigure.WhoPasskeyAutoConfiguration
-
Lists and revokes an identity's passkeys, for the application's account pages.
- PasskeyService - Class in org.jwcarman.who.passkey
-
Lists and revokes an identity's passkeys.
- PasskeyService(JdbcWhoPasskeyCredentialRepository) - Constructor for class org.jwcarman.who.passkey.PasskeyService
-
Creates a new service.
- passkeySettings(WhoProperties) - Method in class org.jwcarman.who.autoconfigure.WhoPasskeyAutoConfiguration
-
The relying party passkeys are bound to, from
who.passkey.*. - PasskeySettings - Record Class in org.jwcarman.who.passkey
-
The relying party's settings, from
who.passkey.*. - PasskeySettings(String, String, Set, Duration) - Constructor for record class org.jwcarman.who.passkey.PasskeySettings
-
Compact constructor: validates the settings and copies the origins.
- passkeySignInCredentialCounter(JdbcClient) - Method in class org.jwcarman.who.autoconfigure.WhoPasskeyAutoConfiguration
-
Counts passkeys for the last-credential rule.
- PasskeySignInCredentialCounter - Class in org.jwcarman.who.passkey
-
Counts an identity's passkeys, for the last-credential rule.
- PasskeySignInCredentialCounter(JdbcClient) - Constructor for class org.jwcarman.who.passkey.PasskeySignInCredentialCounter
-
Creates the counter.
- PasskeySummary - Record Class in org.jwcarman.who.passkey
-
A passkey as shown to its owner.
- PasskeySummary(UUID, String, String, Instant, Instant) - Constructor for record class org.jwcarman.who.passkey.PasskeySummary
-
Compact constructor: validates the required fields.
- PasskeyView - Record Class in org.jwcarman.who.passkey
-
One of the caller's passkeys, as
GET /who/me/passkeyslists it. - PasskeyView(String, String, String, String) - Constructor for record class org.jwcarman.who.passkey.PasskeyView
-
Creates an instance of a
PasskeyViewrecord class. - passwordless() - Static method in class org.jwcarman.who.spring.security.WhoWebSecurity
-
Returns a configurer that makes a browser chain safe for session sign-in and applies every
PasswordlessLoginMethodbean. - PasswordlessConfigurer - Class in org.jwcarman.who.spring.security
-
Makes a browser chain safe for session sign-in, using only Spring Security's own types: Spring's SPA CSRF setup (
CsrfConfigurer.spa()),401instead of login redirects, a logout that answers204and reportsSignedOut, no saved requests, ano-referrerpolicy, and who's session-backedWhoSessionSecurityContextRepository. - PasswordlessLoginMethod - Interface in org.jwcarman.who.spring.security
-
A way to sign in to a browser session, contributed as a bean by a credential module (email links, passkeys, ...).
- patterns() - Method in class org.jwcarman.who.spring.security.WhoPublicPaths
-
Returns the path patterns, the error page first, then the sign-in options, then each method's, then the application's, then those contributed; a repeated pattern keeps its first place.
- PENDING - Enum constant in enum class org.jwcarman.who.enrollment.EnrollmentTokenStatus
-
Token has been issued and not yet redeemed or revoked.
- PENDING_LINK - Static variable in class org.jwcarman.who.oidc.OidcRedirects
-
pending=link: the account the signed-in person asked to link is waiting. - PENDING_SIGN_UP - Static variable in class org.jwcarman.who.oidc.OidcRedirects
-
pending=sign-up: no identity has this provider account; a sign-up is waiting. - pendingLink() - Method in class org.jwcarman.who.oidc.OidcRedirects
-
The link URL with
pending=link: the person confirms the link there. - pendingSignUp() - Method in class org.jwcarman.who.oidc.OidcRedirects
-
The failure URL with
pending=sign-up: the person confirms or abandons the sign-up there. - PendingSignUp - Record Class in org.jwcarman.who.oidc
-
A provider account who does not know yet, waiting in the session for the person to confirm a sign-up or a link.
- PendingSignUp(String, String, String, String, String, Map, UUID, Instant) - Constructor for record class org.jwcarman.who.oidc.PendingSignUp
-
Checks the required components and copies the claims.
- PendingSignUpFilter - Class in org.jwcarman.who.oidc
-
The pending sign-up endpoints:
GET /who/oidc/pendingdescribes it for the confirm page,POST /who/oidc/pending/sign-upconfirms a sign-up (signed out), andPOST /who/oidc/pending/linklinks it to the identity that started it, within the recent sign-in window. - PendingSignUpFilter(WhoPaths, OidcSignUpService, IdentityRepository, WhoSessionSecurityContextRepository, SessionAuthenticationStrategy, PendingSignUps, WhoExceptionHandoff, WhoEventPublisher, LastSignInCookie, Clock, Duration) - Constructor for class org.jwcarman.who.oidc.PendingSignUpFilter
-
Creates the filter.
- PendingSignUpNotFoundException - Exception Class in org.jwcarman.who.oidc
-
There is no pending sign-up this browser may use: none, expired, or created for another identity.
- PendingSignUpNotFoundException() - Constructor for exception class org.jwcarman.who.oidc.PendingSignUpNotFoundException
-
Creates the exception.
- PendingSignUps - Class in org.jwcarman.who.oidc
-
Keeps the
PendingSignUpin the session. - PendingSignUps() - Constructor for class org.jwcarman.who.oidc.PendingSignUps
-
Creates the store.
- perform(MockHttpServletRequestBuilder) - Method in class org.jwcarman.who.test.WhoMockMvcBrowser
-
Sends a request with this browser's session, cookies and, on an unsafe method, CSRF header (see the class description for what the browser owns), then remembers the cookies and session the response leaves.
- performWithoutCsrf(MockHttpServletRequestBuilder) - Method in class org.jwcarman.who.test.WhoMockMvcBrowser
-
Sends a request as a forged cross-site request would look: the browser's session and cookies are applied as in
WhoMockMvcBrowser.perform(MockHttpServletRequestBuilder)(its cookie wins on a name clash) and the cookies and session the response leaves are remembered, butX-XSRF-TOKENis never set, even on an unsafe method, and no token is fetched first. - permission() - Method in record class org.jwcarman.who.rbac.RolePermissionAdded
-
Returns the value of the
permissionrecord component. - permission() - Method in record class org.jwcarman.who.rbac.RolePermissionRemoved
-
Returns the value of the
permissionrecord component. - PermissionRequiredException - Exception Class in org.jwcarman.who.admin
-
A signed-in request to an admin endpoint whose permissions lack the one it needs, such as
WhoAdminPermissions.IDENTITIES_READ. - PermissionRequiredException(String) - Constructor for exception class org.jwcarman.who.admin.PermissionRequiredException
-
Creates the exception.
- permissions() - Method in record class org.jwcarman.who.admin.RoleView
-
Returns the value of the
permissionsrecord component. - permissions() - Method in record class org.jwcarman.who.core.domain.WhoPrincipal
-
Returns the value of the
permissionsrecord component. - permissions() - Method in record class org.jwcarman.who.spring.security.web.WhoMeController.WhoMeResponse
-
Returns the value of the
permissionsrecord component. - permissionsOf(Identity) - Method in class org.jwcarman.who.core.service.WhoService
-
The permissions who resolves for an identity, whatever its status: what it would hold if it signed in while active.
- permissionsResolver() - Method in class org.jwcarman.who.autoconfigure.WhoAutoConfiguration
-
Fallback
PermissionsResolverthat grants no permissions. - PermissionsResolver - Interface in org.jwcarman.who.core.spi
-
Strategy for resolving permission strings for a given
Identity. - preferring(Function, Function) - Static method in interface org.jwcarman.who.passkey.PasskeyNameResolver
-
A resolver that answers, in order: the address of the credential the session signed in with; otherwise the identity's oldest address; otherwise the identity id. who-passkey does not depend on who-email-link, so autoconfiguration passes the two lookups (backed by
EmailCredentialService.findByIdandfindOldestFor). - presentsCredential() - Method in class org.jwcarman.who.apikey.ApiKeyLoginMethod
-
Matches a request whose header is present and not blank, even one already signed in from a session, which ignores the key: a session cookie with a key beside it is not a browser.
- presentsCredential() - Method in class org.jwcarman.who.jwt.JwtLoginMethod
-
Matches a request with a bearer token, signed in already or not: it is not a browser session.
- presentsCredential() - Method in interface org.jwcarman.who.spring.security.StatelessLoginMethod
-
Matches the requests that present this method's credential at all, whether or not it signs them in: such a request is never treated as a browser session, even when a session cookie comes with it, so it may not do what only a browser may.
- principal() - Method in interface org.jwcarman.who.core.service.Resolution
-
Returns the resolved principal, if any.
- principal() - Method in record class org.jwcarman.who.core.service.Resolution.Resolved
- principal() - Method in record class org.jwcarman.who.oidc.OidcSignUpService.SignedUp
-
Returns the value of the
principalrecord component. - PRINCIPAL_INDEX_ATTRIBUTE - Static variable in class org.jwcarman.who.spring.security.WhoSessionSecurityContextRepository
-
Name of the session attribute Spring Session indexes by principal name. who sets it to the identity id, so
FindByIndexNameSessionRepository.findByPrincipalName(identityId)finds every session of an identity. - problem() - Method in exception class org.jwcarman.who.autoconfigure.WhoConfigurationException
-
Returns what is wrong with the property.
- problem() - Method in exception class org.jwcarman.who.oidc.InvalidRegistrationException
-
What is wrong.
- problem(ClientRegistration, WhoPaths) - Static method in class org.jwcarman.who.oidc.CallbackRegistrations
-
Says why who cannot serve a registration's redirect URI, if it cannot: an explicit one must end with who's callback path.
- proof() - Method in class org.jwcarman.who.emaillink.EmailSignInAuthenticationToken
-
Returns what the request presents.
- property() - Method in exception class org.jwcarman.who.autoconfigure.WhoConfigurationException
-
Returns the property at fault.
- property() - Method in exception class org.jwcarman.who.oidc.InvalidRegistrationException
-
The property to fix.
- provider() - Method in record class org.jwcarman.who.oidc.LinkedAccountView
-
Returns the value of the
providerrecord component. - Provider() - Constructor for class org.jwcarman.who.autoconfigure.WhoProperties.Oidc.Provider
-
Creates the settings with their defaults.
- PROVIDER_ERROR - Enum constant in enum class org.jwcarman.who.core.event.SignInFailureReason
-
The identity provider reported an error, or its response failed validation.
- ProviderAccount - Record Class in org.jwcarman.who.oidc
-
The provider account a sign-in came back with.
- ProviderAccount(SignInRegistration, String, String, Optional, Map) - Constructor for record class org.jwcarman.who.oidc.ProviderAccount
-
Copies the claims and checks that nothing is missing.
- ProviderSettings - Record Class in org.jwcarman.who.oidc
-
What
who.oidc.providers.<registration-id>says about one client registration. - ProviderSettings(boolean, String, String, Boolean) - Constructor for record class org.jwcarman.who.oidc.ProviderSettings
-
Creates an instance of a
ProviderSettingsrecord class. - publicPaths() - Method in class org.jwcarman.who.emaillink.EmailLinkLoginMethod
-
The endpoints that send a sign-in email and sign a link or code in.
- publicPaths() - Method in class org.jwcarman.who.oidc.OidcLoginMethod
- publicPaths() - Method in class org.jwcarman.who.passkey.PasskeyLoginMethod
-
The endpoints a signed-out browser uses to sign in with a passkey.
- publicPaths() - Method in interface org.jwcarman.who.spring.security.PasswordlessLoginMethod
-
Returns the paths a signed-out browser must reach to sign in this way, such as the endpoint that sends a sign-in link.
- publicPaths() - Method in interface org.jwcarman.who.spring.security.WhoPublicPathContributor
-
Returns the paths to add: app-root path patterns, matched like
who.security.public-paths(they are not placed underwho.base-path). - publish(WhoEvent) - Method in class org.jwcarman.who.autoconfigure.SpringWhoEventPublisher
- publish(WhoEvent) - Method in interface org.jwcarman.who.core.event.WhoEventPublisher
-
Publishes an event.
- purgeBatchSize() - Method in class org.jwcarman.who.core.service.WhoSessions
-
Returns the most dead sessions one purge deletes.
- purgeEndedSessions() - Method in class org.jwcarman.who.core.service.WhoSessions
-
Deletes at most one batch of dead sessions: ended ones, and ones idle past the timeout.
- purgeOrphanedCredentials() - Method in class org.jwcarman.who.core.service.WhoService
-
Deletes every credential that is linked to no identity, such as those left behind when an identity row was deleted directly instead of through
WhoService.deleteIdentity(UUID).
R
- RbacInvitationRoles - Class in org.jwcarman.who.emaillink
-
The
InvitationRolesofwho-rbac: assigns each role by name withRbacService.assignRoleByName(Identity, String). - RbacInvitationRoles(RbacService) - Constructor for class org.jwcarman.who.emaillink.RbacInvitationRoles
-
Creates the adapter.
- RbacPermissionsResolver - Class in org.jwcarman.who.rbac
-
A
PermissionsResolverthat resolves permissions by looking up the roles assigned to an identity and returning the union of all permissions granted to those roles. - RbacPermissionsResolver(IdentityRoleRepository, RolePermissionRepository) - Constructor for class org.jwcarman.who.rbac.RbacPermissionsResolver
-
Creates the resolver.
- RbacService - Class in org.jwcarman.who.rbac
-
Management service for administering roles, permissions, and identity-role assignments.
- RbacService(RoleRepository, RolePermissionRepository, IdentityRoleRepository) - Constructor for class org.jwcarman.who.rbac.RbacService
-
Creates a service that publishes no events.
- RbacService(RoleRepository, RolePermissionRepository, IdentityRoleRepository, WhoEventPublisher, Clock) - Constructor for class org.jwcarman.who.rbac.RbacService
-
Creates a service that publishes an event for each change it makes.
- reactivate(UUID) - Method in class org.jwcarman.who.core.service.WhoService
-
Reactivates an identity: sets it
IdentityStatus.ACTIVE, so its credentials resolve to it again. - reason() - Method in record class org.jwcarman.who.core.event.SessionEnded
-
Returns the value of the
reasonrecord component. - reason() - Method in record class org.jwcarman.who.core.event.SignInFailed
-
Returns the value of the
reasonrecord component. - reason() - Method in record class org.jwcarman.who.passkey.PasskeyRegistrationRefused
-
Returns the value of the
reasonrecord component. - REAUTHENTICATION_REQUIRED - Enum constant in enum class org.jwcarman.who.passkey.PasskeyRegistrationRefusedReason
-
The identity signed in longer ago than the registration window allows.
- ReauthenticationRequiredException - Exception Class in org.jwcarman.who.spring.security.web
-
The caller signed in too long ago for this action and must sign in again.
- ReauthenticationRequiredException() - Constructor for exception class org.jwcarman.who.spring.security.web.ReauthenticationRequiredException
-
Creates the exception.
- RecentSignInAuthorizationManager - Class in org.jwcarman.who.spring.security
-
Grants a request whose caller signed in within a window, by the factor who stamped on their token at sign-in.
- RecentSignInAuthorizationManager(Duration, Clock) - Constructor for class org.jwcarman.who.spring.security.RecentSignInAuthorizationManager
-
Creates the manager.
- RecentSignInDecision - Class in org.jwcarman.who.spring.security
-
Whether a caller signed in recently enough, and, when not, how to answer: the exception to throw and, for a bearer token, the step-up challenge to send.
- RecentSignInMethodInterceptor - Class in org.jwcarman.who.spring.security
-
Enforces
@RequiresRecentSignInon methods and types, right after Spring Security's@PreAuthorizechecks, so a missing permission answers before a stale sign-in does. - RecentSignInUnavailableException - Exception Class in org.jwcarman.who.spring.security.web
-
An action needs a recent sign-in, and the caller has no sign-in time that could ever be recent: an API key, or a bearer token without an
auth_timeclaim. - recentSignInUntil() - Method in record class org.jwcarman.who.spring.security.web.WhoMeController.WhoMeResponse
-
Returns the value of the
recentSignInUntilrecord component. - redeem() - Method in record class org.jwcarman.who.enrollment.EnrollmentToken
-
Returns a new token with
REDEEMEDstatus. - redeem(UUID, Instant) - Method in interface org.jwcarman.who.enrollment.EnrollmentTokenRepository
-
Atomically marks a token
REDEEMEDif, and only if, it is stillPENDINGand has not expired atnow. - redeem(UUID, Instant) - Method in class org.jwcarman.who.enrollment.JdbcEnrollmentTokenRepository
- REDEEMED - Enum constant in enum class org.jwcarman.who.enrollment.EnrollmentTokenStatus
-
Token was successfully used to link a credential to an identity.
- redeemedAt() - Method in record class org.jwcarman.who.enrollment.EnrollmentToken
-
Returns the value of the
redeemedAtrecord component. - refusal() - Method in class org.jwcarman.who.spring.security.RecentSignInDecision
-
Returns the answer to a refused request:
ReauthenticationRequiredException,InsufficientUserAuthenticationException,RecentSignInUnavailableExceptionorNotSignedInException. - refuse() - Static method in interface org.jwcarman.who.core.signup.SignUpDecision
-
Refuses the sign-up.
- Refuse() - Constructor for record class org.jwcarman.who.core.signup.SignUpDecision.Refuse
-
Creates an instance of a
Refuserecord class. - REFUSED - Enum constant in enum class org.jwcarman.who.spring.security.HumanCheckOutcome
-
The check refused the request: no token, or a token the check did not accept.
- register(Identity, String) - Method in class org.jwcarman.who.emaillink.EmailCredentialService
-
Registers an email address for the identity and links the new credential to it.
- registerCredential(RelyingPartyRegistrationRequest) - Method in class org.jwcarman.who.passkey.WhoRelyingPartyOperations
-
Checks that the creation options belong to the signed-in identity, delegates, publishes
CredentialAdded, then tells the notifier; a notifier failure is logged and not rethrown. - registerHints(RuntimeHints, ClassLoader) - Method in class org.jwcarman.who.autoconfigure.WhoSchemaRuntimeHints
- registerHints(RuntimeHints, ClassLoader) - Method in class org.jwcarman.who.email.aot.WhoEmailRuntimeHints
- registerHints(RuntimeHints, ClassLoader) - Method in class org.jwcarman.who.oidc.aot.OidcRuntimeHints
- registerHints(RuntimeHints, ClassLoader) - Method in class org.jwcarman.who.passkey.aot.PasskeyRuntimeHints
- registerHints(RuntimeHints, ClassLoader) - Method in class org.jwcarman.who.spring.security.aot.WhoProblemRuntimeHints
- registerHints(RuntimeHints, ClassLoader) - Method in class org.jwcarman.who.spring.security.aot.WhoSessionRuntimeHints
- registration() - Method in record class org.jwcarman.who.oidc.ProviderAccount
-
Returns the value of the
registrationrecord component. - registrationId() - Method in record class org.jwcarman.who.core.signup.SignUpRequest
-
Returns the value of the
registrationIdrecord component. - registrationId() - Method in exception class org.jwcarman.who.oidc.InvalidRegistrationException
-
The client registration.
- registrationId() - Method in record class org.jwcarman.who.oidc.PendingSignUp
-
Returns the value of the
registrationIdrecord component. - registrationId() - Method in record class org.jwcarman.who.oidc.SignInRegistration
-
Returns the value of the
registrationIdrecord component. - registrationWindow() - Method in record class org.jwcarman.who.passkey.PasskeySettings
-
Returns the value of the
registrationWindowrecord component. - remove(String, HttpServletRequest) - Method in class org.jwcarman.who.emaillink.EmailAddressesController
-
Removes one of the caller's addresses, unless it is their last way to sign in.
- remove(String, HttpServletRequest) - Method in class org.jwcarman.who.passkey.PasskeysController
-
Removes one of the caller's passkeys, unless it is their last way to sign in.
- remove(UUID) - Method in class org.jwcarman.who.apikey.JdbcApiKeyCredentialRepository
- remove(UUID) - Method in interface org.jwcarman.who.core.spi.CredentialRemover
-
Deletes this module's credential with the given id, if this module owns it.
- remove(UUID) - Method in class org.jwcarman.who.emaillink.JdbcEmailCredentialRepository
- remove(UUID) - Method in class org.jwcarman.who.federated.JdbcFederatedCredentialRepository
- remove(UUID) - Method in class org.jwcarman.who.passkey.PasskeyCredentialRemover
-
Deletes nothing: the identity's deletion removes its passkeys by cascade.
- removeAllPermissionsForRole(UUID) - Method in class org.jwcarman.who.rbac.JdbcRolePermissionRepository
- removeAllPermissionsForRole(UUID) - Method in interface org.jwcarman.who.rbac.RolePermissionRepository
-
Removes all permissions assigned to the given role.
- removeAllRolesForIdentity(UUID) - Method in interface org.jwcarman.who.rbac.IdentityRoleRepository
-
Removes all role assignments for the given identity.
- removeAllRolesForIdentity(UUID) - Method in class org.jwcarman.who.rbac.JdbcIdentityRoleRepository
- removeIfNotLast(UUID, Supplier) - Method in class org.jwcarman.who.core.service.LastCredentialGuard
-
Runs the removal unless it would take the identity's last sign-in credential.
- removePermission(UUID, String) - Method in class org.jwcarman.who.rbac.JdbcRolePermissionRepository
- removePermission(UUID, String) - Method in interface org.jwcarman.who.rbac.RolePermissionRepository
-
Removes a permission string from the given role.
- removePermissionFromRole(Role, String) - Method in class org.jwcarman.who.rbac.RbacService
-
Revokes a permission string from the given role.
- removePermissionIfPresent(UUID, String) - Method in class org.jwcarman.who.rbac.JdbcRolePermissionRepository
- removePermissionIfPresent(UUID, String) - Method in interface org.jwcarman.who.rbac.RolePermissionRepository
-
Revokes a permission from a role and reports whether that changed anything.
- removeRole(String, String, HttpServletRequest) - Method in class org.jwcarman.who.admin.IdentitiesController
-
Removes a role; not assigned is done.
- removeRole(UUID, UUID) - Method in interface org.jwcarman.who.rbac.IdentityRoleRepository
-
Removes a role assignment from an identity.
- removeRole(UUID, UUID) - Method in class org.jwcarman.who.rbac.JdbcIdentityRoleRepository
- removeRole(UUID, UUID, Supplier) - Method in class org.jwcarman.who.admin.LastAdminGuard
-
Runs the removal of role
roleIdfromidentityIdunless the identity is the last active holder of the permission and holds it through no other role. - removeRoleFromIdentity(Identity, Role) - Method in class org.jwcarman.who.rbac.RbacService
-
Removes a role assignment from an identity.
- removeRoleIfPresent(UUID, UUID) - Method in interface org.jwcarman.who.rbac.IdentityRoleRepository
-
Removes a role assignment from an identity and reports whether that changed anything.
- removeRoleIfPresent(UUID, UUID) - Method in class org.jwcarman.who.rbac.JdbcIdentityRoleRepository
- removeUnlinked() - Method in class org.jwcarman.who.apikey.JdbcApiKeyCredentialRepository
- removeUnlinked() - Method in interface org.jwcarman.who.core.spi.CredentialRemover
-
Deletes this module's credentials that are linked to no identity.
- removeUnlinked() - Method in class org.jwcarman.who.emaillink.JdbcEmailCredentialRepository
- removeUnlinked() - Method in class org.jwcarman.who.federated.JdbcFederatedCredentialRepository
- removeUnlinked() - Method in class org.jwcarman.who.passkey.PasskeyCredentialRemover
-
Deletes nothing: passkey rows go with their identity's, so none is left unlinked.
- rename(UUID, String) - Method in class org.jwcarman.who.passkey.JdbcWhoPasskeyUserRepository
-
Sets the
nameanddisplay_nameof the identity's user entity. - render(WhoEmail, Locale) - Method in interface org.jwcarman.who.core.email.WhoEmailRenderer
-
Renders the email in the locale.
- render(WhoEmail, Locale) - Method in class org.jwcarman.who.email.MustacheWhoEmailRenderer
- replace(Identity, String, UUID) - Method in class org.jwcarman.who.emaillink.EmailCredentialService
-
Makes an address the identity's in place of one of its addresses, in one transaction: registers the new address as
EmailCredentialService.register(Identity, String)does, then revokes the old credential if it is still the identity's. - replacesCredentialId() - Method in record class org.jwcarman.who.emaillink.EmailAddressRequest
-
Returns the value of the
replacesCredentialIdrecord component. - request(HttpServletRequest) - Method in class org.jwcarman.who.emaillink.EmailAddressesController
-
Asks to add an address, or to replace one, sending a confirmation to the new address.
- request(UUID, String, UUID) - Method in class org.jwcarman.who.emaillink.EmailAddressChanges
-
Asks to add an address to the identity, or with
replaces, to make it the identity's in place of that address. - requestId() - Method in record class org.jwcarman.who.emaillink.EmailAddressCodeAttempt
-
Returns the value of the
requestIdrecord component. - RequiresPermission - Annotation Interface in org.jwcarman.who.spring.security
-
Meta-annotation that expresses a
@PreAuthorizehasAuthority(...)check as a named permission string. - RequiresRecentSignIn - Annotation Interface in org.jwcarman.who.spring.security
-
The caller must have signed in recently: within
who.security.recent-sign-in(10 minutes by default), or withinRequiresRecentSignIn.within(). - RESEND_SUPPRESSED - Enum constant in enum class org.jwcarman.who.emaillink.EmailAddressRequestOutcome
-
A request by this identity, or for this address, was made within
who.email-link.resend-interval; nothing was sent. - RESEND_SUPPRESSED - Enum constant in enum class org.jwcarman.who.emaillink.EmailLinkOutcome
-
A link was issued within the resend interval, so none was sent now.
- resendInterval() - Method in record class org.jwcarman.who.emaillink.EmailLinkSettings
-
Returns the value of the
resendIntervalrecord component. - Resolution - Interface in org.jwcarman.who.core.service
-
The outcome of
WhoService.resolveDetailed(Credential): either the resolved principal or the reason the credential did not resolve. - Resolution.Inactive - Record Class in org.jwcarman.who.core.service
-
The credential is linked to an identity that is not active.
- Resolution.NoIdentity - Record Class in org.jwcarman.who.core.service
-
The credential is linked to an identity that does not exist.
- Resolution.NotLinked - Record Class in org.jwcarman.who.core.service
-
The credential is not linked to any identity.
- Resolution.Resolved - Record Class in org.jwcarman.who.core.service
-
The credential resolved to an active identity.
- resolve(HttpServletRequest) - Method in class org.jwcarman.who.emaillink.JsonGenerateOneTimeTokenRequestResolver
- resolve(HttpServletRequest, HttpServletResponse, Exception) - Method in interface org.jwcarman.who.spring.security.web.WhoExceptionHandoff.Resolver
-
Answers
exceptiononresponse. - resolve(Identity) - Method in interface org.jwcarman.who.core.spi.PermissionsResolver
-
Resolves the set of permission strings for the given identity.
- resolve(Identity) - Method in class org.jwcarman.who.rbac.RbacPermissionsResolver
- resolve(Credential) - Method in class org.jwcarman.who.core.service.WhoService
-
Resolves the given credential to a
WhoPrincipal. - RESOLVE_OBSERVATION - Static variable in class org.jwcarman.who.core.service.WhoService
-
The name of the observation around each credential resolution.
- Resolved(WhoPrincipal) - Constructor for record class org.jwcarman.who.core.service.Resolution.Resolved
-
Validates that the principal is not null.
- resolveDetailed(Credential) - Method in class org.jwcarman.who.core.service.WhoService
-
Resolves the given credential, saying why when it does not resolve.
- resolveException(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class org.jwcarman.who.spring.security.web.WhoErrorResolver
- revoke() - Method in record class org.jwcarman.who.enrollment.EnrollmentToken
-
Returns a new token with
REVOKEDstatus. - revoke(String, HttpServletRequest) - Method in class org.jwcarman.who.apikey.ApiKeysController
-
Revokes one of the caller's keys.
- revoke(UUID) - Method in class org.jwcarman.who.apikey.ApiKeyService
-
Revokes an API key: deletes the credential and its identity link, so the key stops resolving, then publishes
CredentialRevokedif it was linked to an identity. - revoke(UUID) - Method in class org.jwcarman.who.emaillink.EmailCredentialService
-
Revokes an email credential: deletes it (and its token) and unlinks it from its identity, then publishes
CredentialRevokedif it was linked to one. - revoke(UUID) - Method in interface org.jwcarman.who.enrollment.EnrollmentTokenRepository
-
Atomically marks a token
REVOKEDif, and only if, it is stillPENDING. - revoke(UUID) - Method in class org.jwcarman.who.enrollment.JdbcEnrollmentTokenRepository
- revoke(UUID) - Method in class org.jwcarman.who.passkey.PasskeyService
-
Revokes a passkey: deletes its credential record and unlinks it from its identity.
- revokeAllPendingForIdentity(UUID) - Method in interface org.jwcarman.who.enrollment.EnrollmentTokenRepository
-
Revokes all
PENDINGtokens for the given identity. - revokeAllPendingForIdentity(UUID) - Method in class org.jwcarman.who.enrollment.JdbcEnrollmentTokenRepository
- REVOKED - Enum constant in enum class org.jwcarman.who.core.event.SessionEndReason
-
The session was ended deliberately, by its owner from another session or by the application.
- REVOKED - Enum constant in enum class org.jwcarman.who.enrollment.EnrollmentTokenStatus
-
Token was explicitly invalidated before redemption.
- revokePendingForIdentity(UUID) - Method in interface org.jwcarman.who.enrollment.EnrollmentTokenRepository
-
Revokes all
PENDINGtokens for the given identity and returns their ids, so each revocation can be reported. - revokePendingForIdentity(UUID) - Method in class org.jwcarman.who.enrollment.JdbcEnrollmentTokenRepository
- revokeToken(EnrollmentToken) - Method in class org.jwcarman.who.enrollment.WhoEnrollmentService
-
Revokes an enrollment token, preventing it from being redeemed.
- Role - Record Class in org.jwcarman.who.rbac
-
An immutable domain record representing a named role that can be assigned to identities and granted permissions.
- Role(UUID, String) - Constructor for record class org.jwcarman.who.rbac.Role
-
Compact constructor that validates all fields are non-null.
- RoleAlreadyExistsException - Exception Class in org.jwcarman.who.rbac
-
Thrown when a role is created with a name that is already taken.
- RoleAlreadyExistsException() - Constructor for exception class org.jwcarman.who.rbac.RoleAlreadyExistsException
-
Creates a new exception.
- RoleAlreadyExistsException(Throwable) - Constructor for exception class org.jwcarman.who.rbac.RoleAlreadyExistsException
-
Creates a new exception that keeps the underlying failure.
- RoleAssigned - Record Class in org.jwcarman.who.rbac
-
A role was assigned to an identity.
- RoleAssigned(Instant, UUID, UUID, String) - Constructor for record class org.jwcarman.who.rbac.RoleAssigned
-
Validates that no component is null.
- RoleCreated - Record Class in org.jwcarman.who.rbac
-
A role was created.
- RoleCreated(Instant, UUID, String) - Constructor for record class org.jwcarman.who.rbac.RoleCreated
-
Validates that no component is null.
- RoleDeleted - Record Class in org.jwcarman.who.rbac
-
A role was deleted.
- RoleDeleted(Instant, UUID, String) - Constructor for record class org.jwcarman.who.rbac.RoleDeleted
-
Validates that no component is null.
- RoleGrantForbiddenException - Exception Class in org.jwcarman.who.admin
-
A request to grant a role that carries a permission the caller does not hold itself. who's admin endpoints grant only roles within the caller's own permissions; for an API key, those its scopes keep.
- RoleGrantForbiddenException() - Constructor for exception class org.jwcarman.who.admin.RoleGrantForbiddenException
-
Creates the exception.
- roleId() - Method in record class org.jwcarman.who.rbac.RoleAssigned
-
Returns the value of the
roleIdrecord component. - roleId() - Method in record class org.jwcarman.who.rbac.RoleCreated
-
Returns the value of the
roleIdrecord component. - roleId() - Method in record class org.jwcarman.who.rbac.RoleDeleted
-
Returns the value of the
roleIdrecord component. - roleId() - Method in record class org.jwcarman.who.rbac.RolePermissionAdded
-
Returns the value of the
roleIdrecord component. - roleId() - Method in record class org.jwcarman.who.rbac.RolePermissionRemoved
-
Returns the value of the
roleIdrecord component. - roleId() - Method in record class org.jwcarman.who.rbac.RoleUnassigned
-
Returns the value of the
roleIdrecord component. - roleName() - Method in record class org.jwcarman.who.rbac.RoleAssigned
-
Returns the value of the
roleNamerecord component. - roleName() - Method in record class org.jwcarman.who.rbac.RoleCreated
-
Returns the value of the
roleNamerecord component. - roleName() - Method in record class org.jwcarman.who.rbac.RoleDeleted
-
Returns the value of the
roleNamerecord component. - roleName() - Method in record class org.jwcarman.who.rbac.RolePermissionAdded
-
Returns the value of the
roleNamerecord component. - roleName() - Method in record class org.jwcarman.who.rbac.RolePermissionRemoved
-
Returns the value of the
roleNamerecord component. - roleName() - Method in record class org.jwcarman.who.rbac.RoleUnassigned
-
Returns the value of the
roleNamerecord component. - RoleNotFoundException - Exception Class in org.jwcarman.who.rbac
-
Thrown when a role lookup by name finds no matching role.
- RoleNotFoundException(String) - Constructor for exception class org.jwcarman.who.rbac.RoleNotFoundException
-
Creates a new exception for the given role name.
- RolePermissionAdded - Record Class in org.jwcarman.who.rbac
-
A permission was granted to a role.
- RolePermissionAdded(Instant, UUID, String, String) - Constructor for record class org.jwcarman.who.rbac.RolePermissionAdded
-
Validates that no component is null.
- RolePermissionRemoved - Record Class in org.jwcarman.who.rbac
-
A permission was revoked from a role.
- RolePermissionRemoved(Instant, UUID, String, String) - Constructor for record class org.jwcarman.who.rbac.RolePermissionRemoved
-
Validates that no component is null.
- RolePermissionRepository - Interface in org.jwcarman.who.rbac
-
Repository for managing the association between roles and permission strings.
- RoleRepository - Interface in org.jwcarman.who.rbac
-
Repository for managing
Rolepersistence. - roles() - Method in record class org.jwcarman.who.admin.IdentityView
-
Returns the value of the
rolesrecord component. - roles() - Method in record class org.jwcarman.who.emaillink.IdentityInvited
-
Returns the value of the
rolesrecord component. - roles() - Method in record class org.jwcarman.who.emaillink.InvitationMessage
-
Returns the value of the
rolesrecord component. - roles(HttpServletRequest) - Method in class org.jwcarman.who.admin.RolesController
-
Every role, by name.
- RolesController - Class in org.jwcarman.who.admin
-
GET /who/roleslists every role with its permissions, by name. - RolesController(RbacService, AdminGate) - Constructor for class org.jwcarman.who.admin.RolesController
-
Creates the controller.
- RoleUnassigned - Record Class in org.jwcarman.who.rbac
-
A role was removed from an identity.
- RoleUnassigned(Instant, UUID, UUID, String) - Constructor for record class org.jwcarman.who.rbac.RoleUnassigned
-
Validates that no component is null.
- RoleView - Record Class in org.jwcarman.who.admin
-
A role as
GET /who/rolesshows it. - RoleView(String, List) - Constructor for record class org.jwcarman.who.admin.RoleView
-
Copies the permissions.
- root() - Method in record class org.jwcarman.who.spring.security.WhoPaths
-
Returns the value of the
rootrecord component. - rotate(String, HttpServletRequest) - Method in class org.jwcarman.who.apikey.ApiKeysController
-
Replaces one of the caller's keys.
- rotate(UUID, Duration) - Method in class org.jwcarman.who.apikey.ApiKeyService
-
Replaces a key without a hard cutover: the new key has the old one's name, scopes and lifetime (at most the maximum), and the old key keeps working for the overlap, or until its own expiry if that is sooner.
- rpId() - Method in record class org.jwcarman.who.passkey.PasskeySettings
-
Returns the value of the
rpIdrecord component. - rpName() - Method in record class org.jwcarman.who.passkey.PasskeySettings
-
Returns the value of the
rpNamerecord component.
S
- save(HttpServletRequest, PendingSignUp) - Method in class org.jwcarman.who.oidc.PendingSignUps
-
Stores a pending sign-up, replacing any other.
- save(ApiKeyCredential) - Method in interface org.jwcarman.who.apikey.ApiKeyCredentialRepository
-
Persists a credential.
- save(ApiKeyCredential) - Method in class org.jwcarman.who.apikey.JdbcApiKeyCredentialRepository
- save(Identity) - Method in interface org.jwcarman.who.core.repository.IdentityRepository
-
Persists the given identity, inserting or updating as necessary.
- save(Identity) - Method in class org.jwcarman.who.jdbc.JdbcIdentityRepository
- save(EmailAddressRequest, String, String, Duration) - Method in interface org.jwcarman.who.emaillink.EmailAddressRequestRepository
-
Saves the identity's request in place of an older one, unless one was made too recently: by this identity for any address, or by anyone for this address, within
resendInterval. - save(EmailAddressRequest, String, String, Duration) - Method in class org.jwcarman.who.emaillink.JdbcEmailAddressRequestRepository
- save(EmailCredential) - Method in interface org.jwcarman.who.emaillink.EmailCredentialRepository
-
Inserts the credential.
- save(EmailCredential) - Method in class org.jwcarman.who.emaillink.JdbcEmailCredentialRepository
- save(EnrollmentToken) - Method in interface org.jwcarman.who.enrollment.EnrollmentTokenRepository
-
Saves (inserts or updates) the given token.
- save(EnrollmentToken) - Method in class org.jwcarman.who.enrollment.JdbcEnrollmentTokenRepository
- save(FederatedCredential) - Method in interface org.jwcarman.who.federated.FederatedCredentialRepository
-
Persists a credential.
- save(FederatedCredential) - Method in class org.jwcarman.who.federated.JdbcFederatedCredentialRepository
- save(Role) - Method in class org.jwcarman.who.rbac.JdbcRoleRepository
- save(Role) - Method in interface org.jwcarman.who.rbac.RoleRepository
-
Saves (upserts) a role.
- save(CredentialRecord) - Method in class org.jwcarman.who.passkey.JdbcWhoPasskeyCredentialRepository
-
Saves a credential record.
- save(PublicKeyCredentialUserEntity) - Method in class org.jwcarman.who.passkey.JdbcWhoPasskeyUserRepository
-
Upserts the entity on its id: inserts it, or updates
nameanddisplay_name. - saveContext(SecurityContext, HttpServletRequest, HttpServletResponse) - Method in class org.jwcarman.who.spring.security.WhoSessionSecurityContextRepository
- scopes() - Method in record class org.jwcarman.who.apikey.ApiKey
-
Returns the value of the
scopesrecord component. - scopes() - Method in record class org.jwcarman.who.apikey.ApiKeyCredential
-
Returns the value of the
scopesrecord component. - scopes() - Method in record class org.jwcarman.who.apikey.ApiKeyView
-
Returns the value of the
scopesrecord component. - scopes() - Method in record class org.jwcarman.who.apikey.CreatedApiKey
-
Returns the value of the
scopesrecord component. - scopes() - Method in record class org.jwcarman.who.apikey.NewApiKey
-
Returns the value of the
scopesrecord component. - Secrets - Class in org.jwcarman.who.core.crypto
-
Generates secret tokens.
- Security() - Constructor for class org.jwcarman.who.autoconfigure.WhoProperties.Security
-
Creates the settings with their defaults.
- seen(SessionRecord) - Method in class org.jwcarman.who.core.service.WhoSessions
-
Records that a session made a request, writing at most once per last-seen interval.
- SelfDeactivationException - Exception Class in org.jwcarman.who.admin
-
A request to deactivate the identity making it: an admin cannot lock themselves out.
- SelfDeactivationException() - Constructor for exception class org.jwcarman.who.admin.SelfDeactivationException
-
Creates the exception.
- send(OutgoingEmail) - Method in interface org.jwcarman.who.core.email.WhoEmailSender
-
Delivers the email.
- send(OutgoingEmail) - Method in class org.jwcarman.who.email.smtp.SmtpWhoEmailSender
-
Sends the email.
- send(WhoEmail) - Method in class org.jwcarman.who.core.email.WhoEmails
-
Renders the email in the current locale and sends it.
- SEND_FAILED - Enum constant in enum class org.jwcarman.who.emaillink.EmailAddressRequestOutcome
-
Saving or sending failed; nothing was kept.
- SEND_FAILED - Enum constant in enum class org.jwcarman.who.emaillink.EmailLinkOutcome
-
The link was not sent because a step failed: the lookup, the token store or the sender.
- SENT - Enum constant in enum class org.jwcarman.who.emaillink.EmailAddressRequestOutcome
-
The request was saved and the address was sent a link and a code.
- SENT - Enum constant in enum class org.jwcarman.who.emaillink.EmailLinkOutcome
-
The link was stored and its email sent through
WhoEmails. - session() - Method in record class org.jwcarman.who.spring.security.WhoCaller.Session
-
Returns the value of the
sessionrecord component. - session() - Method in class org.jwcarman.who.test.WhoMockMvcBrowser
-
Returns the browser's current HTTP session: the one the application last created for it, or a fresh one after the application invalidated the previous session, for example on logout.
- Session(WhoAuthenticationToken, WhoSession) - Constructor for record class org.jwcarman.who.spring.security.WhoCaller.Session
-
Creates the caller.
- SESSION_ATTRIBUTE - Static variable in class org.jwcarman.who.spring.security.WhoSessionSecurityContextRepository
-
Name of the HTTP session attribute holding the
WhoSession. - sessionDestroyed(HttpSessionEvent) - Method in class org.jwcarman.who.spring.security.WhoSessionEndListener
- SessionEnded - Record Class in org.jwcarman.who.core.event
-
An established session was ended by the system.
- SessionEnded(Instant, UUID, UUID, SessionEndReason) - Constructor for record class org.jwcarman.who.core.event.SessionEnded
-
Validates that no component is null.
- SessionEndpoints - Class in org.jwcarman.who.spring.security
-
Connects
SessionsControllerto a browser chain: ending the caller's own session throughDELETE /who/me/sessions/{id}signs the browser out with that chain's logout handlers. - SessionEndpoints() - Constructor for class org.jwcarman.who.spring.security.SessionEndpoints
-
Creates the connection; it keeps no state.
- SessionEndReason - Enum Class in org.jwcarman.who.core.event
-
Why an established session was ended by the system.
- sessionId() - Method in record class org.jwcarman.who.spring.security.WhoSession
-
Returns the value of the
sessionIdrecord component. - SessionNotFoundException - Exception Class in org.jwcarman.who.spring.security.web
-
A request named a session that is not one of the caller's live sessions: another identity's and one that does not exist are the same answer.
- SessionNotFoundException() - Constructor for exception class org.jwcarman.who.spring.security.web.SessionNotFoundException
-
Creates the exception.
- SessionRecord - Record Class in org.jwcarman.who.core.domain
-
One browser sign-in, as who records it so a person can see where they are signed in and end a session from elsewhere.
- SessionRecord(UUID, UUID, UUID, SignInMethod, Instant, Instant, String, Instant) - Constructor for record class org.jwcarman.who.core.domain.SessionRecord
-
Validates that every component but
userAgentandendedAtis present. - SessionRecordRepository - Interface in org.jwcarman.who.core.repository
-
Stores who's record of browser sessions.
- Sessions() - Constructor for class org.jwcarman.who.autoconfigure.WhoProperties.Sessions
-
Creates the settings with their defaults.
- SESSIONS_ENDED - Static variable in class org.jwcarman.who.autoconfigure.WhoMetrics
-
Sessions who ended, tagged
reason. - SESSIONS_PURGED - Static variable in class org.jwcarman.who.autoconfigure.WhoMetrics
-
Counter of ended or abandoned session records deleted.
- SessionsController - Class in org.jwcarman.who.spring.security
-
GET /who/me/sessionslists the caller's live browser sessions;DELETE /who/me/sessions/{id}ends one;DELETE /who/me/sessions?others=trueends every one but the caller's. - SessionsController(WhoSessions, WhoSessionSecurityContextRepository, Clock, Duration) - Constructor for class org.jwcarman.who.spring.security.SessionsController
-
Creates the controller.
- SessionView - Record Class in org.jwcarman.who.spring.security
-
One of the caller's live browser sessions, as
GET /who/me/sessionslists it. - SessionView(String, String, String, String, String, String, boolean) - Constructor for record class org.jwcarman.who.spring.security.SessionView
-
Creates an instance of a
SessionViewrecord class. - SessionWithForeignCredential(WhoAuthenticationToken) - Constructor for record class org.jwcarman.who.spring.security.WhoCaller.SessionWithForeignCredential
-
Creates the caller.
- setAddressConfirmationUrl(String) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.EmailLink
-
Sets the page that receives address confirmation links.
- setAdmin(WhoProperties.Admin) - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Sets the admin endpoints' properties.
- setAllowedOrigins(Set) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Passkey
-
Sets the allowed origins.
- setApiKey(WhoProperties.ApiKey) - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Sets the API key module properties.
- setAutoPurge(boolean) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Sessions
-
Sets whether each sign-in purges one batch.
- setBasePath(String) - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Sets the root every who endpoint lives under.
- setBuilder(HttpSecurity) - Method in class org.jwcarman.who.spring.security.WhoStatelessConfigurer
-
Makes the chain stateless as soon as this configurer is added, before any configurer is initialized: Spring's session management picks the chain's context store when it is initialized, and would pick the session if the policy came any later.
- setCodeLength(int) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.EmailLink
-
Sets the number of characters in the typed sign-in code.
- setCodeMaxAttempts(int) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.EmailLink
-
Sets how many wrong guesses a sign-in code survives.
- setCodeSecret(String) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.EmailLink
-
Sets the secret keying the sign-in code hash.
- setEmail(WhoProperties.Email) - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Sets the email properties.
- setEmailLink(WhoProperties.EmailLink) - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Sets the email link module properties.
- setEnabled(boolean) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Admin
-
Turns the admin endpoints off with
false. - setEnabled(boolean) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.ApiKey
-
Turns API-key sign-in off with
false. - setEnabled(boolean) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.EmailLink
-
Turns email-link sign-in off with
false. - setEnabled(boolean) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Enrollment
-
Turns enrollment off with
false. - setEnabled(boolean) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Jwt
-
Turns JWT sign-in off with
false. - setEnabled(boolean) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.MethodSecurity
-
Sets whether Who enables method security.
- setEnabled(boolean) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc.Provider
-
Sets whether who signs people in with this registration.
- setEnabled(boolean) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc
-
Sets whether provider sign-in is on.
- setEnabled(boolean) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Passkey
-
Turns passkey sign-in off with
false. - setEnabled(boolean) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Security.LastSignInCookie
-
Sets whether who sets the cookie.
- setEnabled(boolean) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Turnstile
-
Turns the Turnstile check off with
false. - setEnrollment(WhoProperties.Enrollment) - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Sets the enrollment module properties.
- setFailOpen(boolean) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Turnstile
-
Sets whether requests go through when Cloudflare cannot be reached or answers an error.
- setFailureUrl(String) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc
-
Sets where every other outcome lands.
- setFrom(String) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Email
-
Sets the address every who email comes from.
- setHeaderName(String) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.ApiKey
-
Sets the HTTP header name that carries the API key.
- setHostnames(Set) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Turnstile
-
Sets the hostnames a token may be made on.
- setInitializeSchema(DatabaseInitializationMode) - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Sets when to run Who's bundled DDL schema scripts.
- setIssuer(String) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc.Provider
-
Sets the issuer credentials are stored under.
- setJwt(WhoProperties.Jwt) - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Sets the JWT module properties.
- setLastSeenInterval(Duration) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Sessions
-
Sets how often a busy session's last-seen time is written.
- setLastSignInCookie(WhoProperties.Security.LastSignInCookie) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Security
-
Sets the last-sign-in cookie's settings.
- setLastUsedInterval(Duration) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.ApiKey
-
Sets how often, at most, an API key's last use is written; positive, or startup fails.
- setLinkBaseUrl(String) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.EmailLink
-
Sets the page that receives sign-in links.
- setLinkUrl(String) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc
-
Sets where a link lands.
- setLocale(Locale) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Email
-
Sets the locale used when no request's locale is known.
- setMaxLifetime(Duration) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.ApiKey
-
Sets the longest lifetime a new API key may be given; positive, or startup fails.
- setMethodSecurity(WhoProperties.MethodSecurity) - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Sets the method security properties.
- setModel(Map) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Email
-
Sets the application-wide template values.
- setOidc(WhoProperties.Oidc) - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Sets the provider sign-in settings.
- setPasskey(WhoProperties.Passkey) - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Sets the passkey module properties.
- setPrefix(String) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.ApiKey
-
Sets the prefix that starts every new API key.
- setProviders(Map) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc
-
Sets the per registration settings.
- setPublicPaths(List) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Security
-
Sets the application's public paths.
- setPurgeBatchSize(int) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Sessions
-
Sets the most records one purge deletes.
- setRecentSignIn(Duration) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Security
-
Sets how recently the session must have signed in to add a way to sign in.
- setResendInterval(Duration) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.EmailLink
-
Sets the minimum time between two sign-in links for the same address.
- setRpId(String) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Passkey
-
Sets the relying party id.
- setRpName(String) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Passkey
-
Sets the relying party name.
- setSecretKey(String) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Turnstile
-
Sets the widget's secret key.
- setSecurity(WhoProperties.Security) - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Sets the security chain properties.
- setSessions(WhoProperties.Sessions) - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Sets who's record of browser sessions.
- setSignUpWindow(Duration) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc
-
Sets how long a pending sign-up waits.
- setSubjectAttribute(String) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc.Provider
-
Sets the attribute that identifies the account.
- setSuccessUrl(String) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc
-
Sets where a provider sign-in lands.
- setTemplates(List) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Email
-
Sets where the application's email templates are, in search order.
- setTimeout(Duration) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Turnstile
-
Sets how long to wait for Cloudflare, to connect and to answer.
- setTokenExpiration(Duration) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Enrollment
-
Sets the duration after which a newly created enrollment token expires.
- setTokenTtl(Duration) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.EmailLink
-
Sets how long a sign-in link stays valid.
- setTrustEmail(Boolean) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Oidc.Provider
-
Sets whether the provider's verified email may be used.
- setTurnstile(WhoProperties.Turnstile) - Method in class org.jwcarman.who.autoconfigure.WhoProperties
-
Sets Cloudflare Turnstile's settings.
- setup() - Method in record class org.jwcarman.who.core.signup.SignUpDecision.Allow
-
Returns the value of the
setuprecord component. - setVerifyUrl(String) - Method in class org.jwcarman.who.autoconfigure.WhoProperties.Turnstile
-
Sets where tokens are verified, such as a stand-in in tests.
- sha256Hex(String) - Static method in class org.jwcarman.who.core.crypto.MessageDigests
-
Computes the SHA-256 digest of the given string (UTF-8 encoded) and returns it as a lowercase hex string.
- shouldNotFilter(HttpServletRequest) - Method in class org.jwcarman.who.oidc.PendingSignUpFilter
- shouldNotFilter(HttpServletRequest) - Method in class org.jwcarman.who.passkey.PasskeyRegistrationGuardFilter
- shouldNotFilterAsyncDispatch() - Method in class org.jwcarman.who.apikey.ApiKeyAuthenticationFilter
-
Returns
false: async dispatches reachApiKeyAuthenticationFilter.doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain), which restores the request's sign-in there without signing in again. - shouldNotFilterErrorDispatch() - Method in class org.jwcarman.who.apikey.ApiKeyAuthenticationFilter
-
Returns
false: error dispatches reachApiKeyAuthenticationFilter.doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain), which restores the request's sign-in there without signing in again. - SIGN_IN_EMAILS - Static variable in class org.jwcarman.who.autoconfigure.WhoEmailLinkMetrics
-
Sign-in email requests, tagged
outcome. - SIGN_INS - Static variable in class org.jwcarman.who.autoconfigure.WhoMetrics
-
Sign-in attempts, tagged
method,outcomeandreason. - SIGN_OUTS - Static variable in class org.jwcarman.who.autoconfigure.WhoMetrics
-
Sign-outs of who sessions.
- SIGN_UP_REFUSED - Enum constant in enum class org.jwcarman.who.core.event.SignInFailureReason
-
The sign-up policy refused to create an identity for an unknown credential.
- SIGNED_IN - Static variable in class org.jwcarman.who.oidc.OidcRedirects
-
A provider sign-in by someone already signed in, for an account who does not know.
- signedIn(WhoPrincipal, UUID, SignInMethod, Instant) - Static method in class org.jwcarman.who.spring.security.WhoAuthenticationToken
-
Creates the token for a sign-in made at
signedInAt, with the factor thatsignInMethodstands for. - signedIn(WhoSessions, UUID, UUID) - Static method in class org.jwcarman.who.test.WhoTestSessions
-
Creates a session signed in now, by the application's
Clock, holding aWhoSessionand the principal index as who stores them after a successful sign-in. - signedIn(WhoSessions, UUID, UUID, Instant) - Static method in class org.jwcarman.who.test.WhoTestSessions
-
Creates a session signed in at the given instant, as
WhoTestSessions.signedIn(WhoSessions, UUID, UUID)does. - signedInAs(UUID, UUID) - Method in class org.jwcarman.who.test.WhoMockMvcBrowser
-
Starts a new session signed in now, by the application's
Clock, as the given identity and credential, replacing the current session. - signedInAs(UUID, UUID, Instant) - Method in class org.jwcarman.who.test.WhoMockMvcBrowser
-
Starts a new session signed in as the given identity and credential at the given instant, replacing the current session, as
WhoMockMvcBrowser.signedInAs(UUID, UUID)does (with Spring Session too). - signedInAt() - Method in record class org.jwcarman.who.core.domain.SessionRecord
-
Returns the value of the
signedInAtrecord component. - signedInAt() - Method in record class org.jwcarman.who.spring.security.SessionView
-
Returns the value of the
signedInAtrecord component. - signedInAt() - Method in record class org.jwcarman.who.spring.security.WhoSession
-
Returns the value of the
signedInAtrecord component. - SignedOut - Record Class in org.jwcarman.who.core.event
-
A caller signed out.
- SignedOut() - Constructor for record class org.jwcarman.who.spring.security.WhoCaller.SignedOut
-
Creates an instance of a
SignedOutrecord class. - SignedOut(Instant, UUID, UUID) - Constructor for record class org.jwcarman.who.core.event.SignedOut
-
Validates that no component is null.
- SignedUp(WhoPrincipal, UUID) - Constructor for record class org.jwcarman.who.oidc.OidcSignUpService.SignedUp
-
Creates an instance of a
SignedUprecord class. - SIGNIN_FAILED - Static variable in class org.jwcarman.who.oidc.OidcRedirects
-
The provider sign-in failed; the event says why.
- SignInCredentialCounter - Interface in org.jwcarman.who.core.service
-
Counts one kind of sign-in credential an identity holds.
- SignInEmailRequested - Record Class in org.jwcarman.who.emaillink
-
A sign-in email was requested at
POST /who/email/send, published once per request byEmailLinkIssuer.issue(String, String)with what became of it. - SignInEmailRequested(Instant, String, EmailLinkOutcome, UUID) - Constructor for record class org.jwcarman.who.emaillink.SignInEmailRequested
-
Validates that the required components are not null.
- signInFactor() - Method in class org.jwcarman.who.spring.security.WhoAuthenticationToken
-
Returns the factor stamped with when the person signed in, if there is one: none for an API key, a JWT without
auth_time, or a session saved before who stored how it signed in. - SignInFailed - Record Class in org.jwcarman.who.core.event
-
A sign-in attempt failed.
- SignInFailed(Instant, SignInMethod, SignInFailureReason, String, UUID, UUID) - Constructor for record class org.jwcarman.who.core.event.SignInFailed
-
Validates that the required components are not null.
- SignInFailedException - Exception Class in org.jwcarman.who.spring.security.web
-
A sign-in attempt failed: a bad, expired or used token, an unknown or invalid passkey, or an inactive identity.
- SignInFailedException(Throwable) - Constructor for exception class org.jwcarman.who.spring.security.web.SignInFailedException
-
Creates the exception.
- SignInFailureReason - Enum Class in org.jwcarman.who.core.event
-
Why a sign-in attempt failed.
- signInMethod() - Method in record class org.jwcarman.who.core.domain.SessionRecord
-
Returns the value of the
signInMethodrecord component. - signInMethod() - Method in record class org.jwcarman.who.spring.security.SessionView
-
Returns the value of the
signInMethodrecord component. - signInMethod() - Method in record class org.jwcarman.who.spring.security.web.WhoMeController.WhoMeResponse
-
Returns the value of the
signInMethodrecord component. - signInMethod() - Method in class org.jwcarman.who.spring.security.WhoAuthenticationToken
-
Returns how the sign-in that created this token was made, if it was a sign-in.
- signInMethod() - Method in record class org.jwcarman.who.spring.security.WhoSession
-
Returns the value of the
signInMethodrecord component. - SignInMethod - Enum Class in org.jwcarman.who.core.event
-
The mechanism a caller used, or attempted to use, to sign in.
- signInOptions() - Method in class org.jwcarman.who.emaillink.EmailLinkLoginMethod
-
Email sign-in is on: this method exists only when the module is.
- signInOptions() - Method in class org.jwcarman.who.oidc.OidcLoginMethod
-
The providers a sign-in page draws buttons for, one per registration who signs in with, in the order the application declared them:
{"providers": [{"id": registrationId, "name": clientName}]}. - signInOptions() - Method in class org.jwcarman.who.passkey.PasskeyLoginMethod
-
Passkey sign-in is on: this method exists only when the module is.
- signInOptions() - Method in interface org.jwcarman.who.spring.security.PasswordlessLoginMethod
-
Returns what
GET /who/sign-insays about this method, for a sign-in page to draw its choices from: a method that is on says so with a key such as"email": true. - SignInRegistration - Record Class in org.jwcarman.who.oidc
-
A client registration who signs people in with, and the issuer its credentials are stored under.
- SignInRegistration(String, String, SignInRegistration.Kind, String, boolean) - Constructor for record class org.jwcarman.who.oidc.SignInRegistration
-
Creates an instance of a
SignInRegistrationrecord class. - SignInRegistration.Kind - Enum Class in org.jwcarman.who.oidc
-
What kind of provider a registration signs in with.
- signInRegistrations(ObjectProvider, WhoPaths, WhoProperties) - Method in class org.jwcarman.who.autoconfigure.WhoOidcAutoConfiguration
-
The client registrations who signs in with, checked at startup.
- SignInRegistrations - Class in org.jwcarman.who.oidc
-
The client registrations who signs people in with, each with the issuer its credentials are stored under.
- SignInSucceeded - Record Class in org.jwcarman.who.core.event
-
A sign-in succeeded: an email link, an email code or a passkey, published once the session is saved.
- SignInSucceeded(Instant, SignInMethod, UUID, UUID) - Constructor for record class org.jwcarman.who.core.event.SignInSucceeded
-
Validates that no component is null.
- signUp(PendingSignUp) - Method in class org.jwcarman.who.oidc.OidcSignUpService
-
Signs a pending account up, when the policy allows it.
- SignUpDecision - Interface in org.jwcarman.who.core.signup
-
A
WhoSignUpPolicy's answer. - SignUpDecision.Allow - Record Class in org.jwcarman.who.core.signup
-
Create the identity.
- SignUpDecision.Refuse - Record Class in org.jwcarman.who.core.signup
-
Create nothing.
- SignUpRefusedException - Exception Class in org.jwcarman.who.oidc
-
The sign-up was refused: by the application's sign-up policy, or because a who session is signed in.
- SignUpRefusedException() - Constructor for exception class org.jwcarman.who.oidc.SignUpRefusedException
-
Creates the exception.
- SignUpRequest - Record Class in org.jwcarman.who.core.signup
-
Someone who proved a credential who does not know, asking to create an identity with it.
- SignUpRequest(SignInMethod, String, String, String, Optional, Map) - Constructor for record class org.jwcarman.who.core.signup.SignUpRequest
-
Validates the components and copies the claims.
- size() - Method in record class org.jwcarman.who.admin.IdentityPage
-
Returns the value of the
sizerecord component. - SmtpWhoEmailSender - Class in org.jwcarman.who.email.smtp
-
Sends who's emails over SMTP through Spring's
JavaMailSender: a text-only message, or a multipart one with the HTML as an alternative to the text when the email has HTML. - SmtpWhoEmailSender(JavaMailSender, String) - Constructor for class org.jwcarman.who.email.smtp.SmtpWhoEmailSender
-
Creates the sender.
- source() - Method in record class org.jwcarman.who.core.email.OutgoingEmail
-
Returns the value of the
sourcerecord component. - SPRING_DEFAULT - Static variable in class org.jwcarman.who.oidc.CallbackRegistrations
-
Spring Security's default redirect URI for a sign-in registration.
- SpringWhoEventPublisher - Class in org.jwcarman.who.autoconfigure
-
Publishes who's events as Spring application events.
- SpringWhoEventPublisher(ApplicationEventPublisher) - Constructor for class org.jwcarman.who.autoconfigure.SpringWhoEventPublisher
-
Creates a publisher.
- start() - Static method in class org.jwcarman.who.test.StubOidcProvider
-
Starts an OpenID Connect provider: discovery at
/.well-known/openid-configuration,/authorize,/token(with an RS256 ID token),/jwksand/userinfo. - start(UUID, UUID, SignInMethod, String) - Method in class org.jwcarman.who.core.service.WhoSessions
-
Records a sign-in made now.
- start(UUID, UUID, SignInMethod, String, Instant) - Method in class org.jwcarman.who.core.service.WhoSessions
-
Records a sign-in made at
signedInAt, seen now. - startGitHub() - Static method in class org.jwcarman.who.test.StubOidcProvider
-
Starts a GitHub-like OAuth 2 provider:
/authorize,/token(no ID token),/userwith a numericid, and/user/emails. - stateless() - Static method in class org.jwcarman.who.spring.security.WhoSecurity
-
Returns a configurer that mounts only who's stateless sign-in methods (API keys, bearer JWTs) into a chain with no session and no CSRF, answering a signed-out request with
401. - Stateless(WhoAuthenticationToken, SignInMethod) - Constructor for record class org.jwcarman.who.spring.security.WhoCaller.Stateless
-
Creates the caller.
- STATELESS_REQUIRED - Static variable in class org.jwcarman.who.spring.security.WhoStatelessConfigurer
-
The startup failure when the chain has sessions after all: something set a session policy or a security-context store after this configurer, which would sign requests in from a session on a chain without CSRF protection.
- StatelessEndpoints - Interface in org.jwcarman.who.spring.security
-
Endpoints that a module adds to every stateless chain for a caller signed in by a credential the request carries, such as managing the caller's API keys with a bearer token.
- StatelessLoginMethod - Interface in org.jwcarman.who.spring.security
-
A way to sign in each request by a credential it carries in a header (API keys, bearer JWTs), contributed as a bean by a credential module.
- status() - Method in record class org.jwcarman.who.admin.IdentityView
-
Returns the value of the
statusrecord component. - status() - Method in record class org.jwcarman.who.core.domain.Identity
-
Returns the value of the
statusrecord component. - status() - Method in record class org.jwcarman.who.enrollment.EnrollmentToken
-
Returns the value of the
statusrecord component. - status() - Method in record class org.jwcarman.who.spring.security.web.WhoProblem
-
Returns the value of the
statusrecord component. - strict(Set) - Static method in interface org.jwcarman.who.turnstile.TurnstileVerifier
-
Passes only a success made for the request's action and, when hostnames are given, on one of them.
- StubOidcProvider - Class in org.jwcarman.who.test
-
A sign-in provider for tests: an OpenID Connect provider, or GitHub, on a random local port.
- subject() - Method in record class org.jwcarman.who.core.email.OutgoingEmail
-
Returns the value of the
subjectrecord component. - subject() - Method in record class org.jwcarman.who.core.signup.SignUpRequest
-
Returns the value of the
subjectrecord component. - subject() - Method in record class org.jwcarman.who.federated.FederatedCredential
-
Returns the value of the
subjectrecord component. - subject() - Method in record class org.jwcarman.who.oidc.PendingSignUp
-
Returns the value of the
subjectrecord component. - subject() - Method in record class org.jwcarman.who.oidc.ProviderAccount
-
Returns the value of the
subjectrecord component. - subjectAttribute() - Method in record class org.jwcarman.who.oidc.ProviderSettings
-
Returns the value of the
subjectAttributerecord component. - subjectAttribute() - Method in record class org.jwcarman.who.oidc.SignInRegistration
-
Returns the value of the
subjectAttributerecord component. - success() - Method in class org.jwcarman.who.oidc.OidcRedirects
-
The success URL.
- success() - Method in class org.jwcarman.who.spring.security.web.JsonAuthenticationHandlers
-
Returns the success handler:
200with{"identityId": "..."}. - success() - Method in record class org.jwcarman.who.turnstile.TurnstileAnswer
-
Returns the value of the
successrecord component. - successOnly() - Static method in interface org.jwcarman.who.turnstile.TurnstileVerifier
-
Passes any success, whatever its action or hostname.
- supports(Class) - Method in class org.jwcarman.who.apikey.ApiKeyAuthenticationProvider
- supports(Class) - Method in class org.jwcarman.who.emaillink.EmailLinkAuthenticationProvider
- supports(Class) - Method in class org.jwcarman.who.passkey.WhoPasskeyAuthenticationProvider
- SUSPENDED - Enum constant in enum class org.jwcarman.who.core.domain.IdentityStatus
-
May not sign in: no credential resolves to it. who never sets it, though
WhoService.reactivateclears it andWhoService.deactivatereplaces it.
T
- tagValue(Enum) - Static method in class org.jwcarman.who.core.observation.WhoObservations
-
Returns the tag value who uses for an enum constant: its name in lower case, with
_replaced by-(EMAIL_CODEisemail-code). - template() - Method in interface org.jwcarman.who.core.email.WhoEmail
-
The name of the email's template: stable and kebab-case, such as
sign-in,invitationorpasskey-added. - template() - Method in record class org.jwcarman.who.emaillink.EmailAddressChangedMessage
-
Returns
address-changed, the name of this email's template. - template() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationMessage
-
Returns
address-confirmation, the name of this email's template. - template() - Method in record class org.jwcarman.who.emaillink.EmailLinkMessage
-
Returns
sign-in, the name of this email's template. - template() - Method in record class org.jwcarman.who.emaillink.InvitationMessage
-
Returns
invitation, the name of this email's template. - template() - Method in record class org.jwcarman.who.passkey.PasskeyAddedMessage
-
Returns
passkey-added, the name of this email's template. - text() - Method in record class org.jwcarman.who.core.email.OutgoingEmail
-
Returns the value of the
textrecord component. - title() - Method in record class org.jwcarman.who.spring.security.web.WhoProblem
-
Returns the value of the
titlerecord component. - to() - Method in record class org.jwcarman.who.core.email.OutgoingEmail
-
Returns the value of the
torecord component. - token() - Static method in class org.jwcarman.who.core.crypto.Secrets
-
Generates a new secret token: 32 bytes from a
SecureRandom, encoded as 43 URL-safe characters without padding. - token() - Method in record class org.jwcarman.who.emaillink.EmailSignInProof.LinkToken
-
Returns the value of the
tokenrecord component. - token() - Method in record class org.jwcarman.who.spring.security.HumanCheckRequest
-
Returns the value of the
tokenrecord component. - token() - Method in record class org.jwcarman.who.spring.security.WhoCaller.Other
-
Returns the value of the
tokenrecord component. - token() - Method in record class org.jwcarman.who.spring.security.WhoCaller.Session
-
Returns the value of the
tokenrecord component. - token() - Method in record class org.jwcarman.who.spring.security.WhoCaller.SessionWithForeignCredential
-
Returns the value of the
tokenrecord component. - token() - Method in record class org.jwcarman.who.spring.security.WhoCaller.Stateless
-
Returns the value of the
tokenrecord component. - TOKEN_FRAGMENT - Static variable in class org.jwcarman.who.emaillink.EmailAddressChanges
-
The fragment that carries the token on the confirmation link.
- tokenId() - Method in record class org.jwcarman.who.enrollment.EnrollmentTokenCreated
-
Returns the value of the
tokenIdrecord component. - tokenId() - Method in record class org.jwcarman.who.enrollment.EnrollmentTokenRevoked
-
Returns the value of the
tokenIdrecord component. - tokenTtl() - Method in record class org.jwcarman.who.emaillink.EmailLinkSettings
-
Returns the value of the
tokenTtlrecord component. - toRequest() - Method in record class org.jwcarman.who.oidc.PendingSignUp
-
The request the sign-up policy decides on.
- toString() - Method in record class org.jwcarman.who.admin.CreatedInvitation
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.admin.IdentityPage
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.admin.IdentityView
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.admin.RoleView
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.apikey.ApiKey
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.apikey.ApiKeyCredential
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.apikey.ApiKeyView
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.apikey.CreatedApiKey
-
Describes the answer without the raw key, so it is safe to log.
- toString() - Method in record class org.jwcarman.who.apikey.NewApiKey
-
Describes the key without the raw key, so it is safe to log.
- toString() - Method in record class org.jwcarman.who.core.domain.Identity
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.domain.SessionRecord
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.domain.WhoPrincipal
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.email.OutgoingEmail
-
The recipient, the subject, the template and whether there is HTML; never the bodies.
- toString() - Method in record class org.jwcarman.who.core.event.CredentialAdded
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.event.CredentialRevoked
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.event.EndedSessionsPurged
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.event.IdentityCreated
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.event.IdentityDeactivated
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.event.IdentityDeleted
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.event.IdentityReactivated
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.event.OrphanedCredentialsPurged
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.event.SessionEnded
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.event.SignedOut
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.event.SignInFailed
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.event.SignInSucceeded
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.service.Resolution.Inactive
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.service.Resolution.NoIdentity
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.service.Resolution.NotLinked
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.service.Resolution.Resolved
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.signup.SignUpDecision.Allow
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.signup.SignUpDecision.Refuse
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.core.signup.SignUpRequest
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.email.WhoEmailMessages
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.email.WhoEmailTemplates
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.AddedEmailAddress
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.EmailAddressChangedMessage
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.EmailAddressCodeAttempt
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationMessage
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationRequested
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.EmailAddressRequest
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.EmailAddressView
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.EmailCodeAttempt
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.EmailCredential
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.EmailLinkMessage
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.EmailLinkSettings
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.EmailSignInProof.EmailCode
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.EmailSignInProof.LinkToken
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.EmailSignInProof.Malformed
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.IdentityInvited
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.Invitation
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.InvitationMessage
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.emaillink.SignInEmailRequested
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.enrollment.EnrollmentToken
-
Returns a description of this token with the
valuemasked, so that logging a token never leaks the secret. - toString() - Method in record class org.jwcarman.who.enrollment.EnrollmentTokenCreated
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.enrollment.EnrollmentTokenRevoked
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.federated.FederatedCredential
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.oidc.LinkedAccountView
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.oidc.OidcSignUpService.SignedUp
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.oidc.PendingSignUp
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.oidc.ProviderAccount
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.oidc.ProviderSettings
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.oidc.SignInRegistration
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.passkey.PasskeyAddedMessage
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.passkey.PasskeyCredential
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.passkey.PasskeyRegistrationRefused
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.passkey.PasskeySettings
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.passkey.PasskeySummary
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.passkey.PasskeyView
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.rbac.Role
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.rbac.RoleAssigned
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.rbac.RoleCreated
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.rbac.RoleDeleted
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.rbac.RolePermissionAdded
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.rbac.RolePermissionRemoved
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.rbac.RoleUnassigned
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.spring.security.EndedSessions
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.spring.security.HumanCheckPerformed
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.spring.security.HumanCheckRequest
-
Returns a string representation of this record class.
- toString() - Method in class org.jwcarman.who.spring.security.RecentSignInDecision
- toString() - Method in record class org.jwcarman.who.spring.security.SessionView
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.spring.security.web.WhoMeController.WhoMeResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.spring.security.web.WhoProblem
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.spring.security.WhoCaller.Other
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.spring.security.WhoCaller.Session
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.spring.security.WhoCaller.SessionWithForeignCredential
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.spring.security.WhoCaller.SignedOut
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.spring.security.WhoCaller.Stateless
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.spring.security.WhoPaths
-
Returns the root, as the paths print in logs and messages.
- toString() - Method in record class org.jwcarman.who.spring.security.WhoSession
-
Returns a string representation of this record class.
- toString() - Method in record class org.jwcarman.who.turnstile.TurnstileAnswer
-
Returns a string representation of this record class.
- total() - Method in record class org.jwcarman.who.admin.IdentityPage
-
Returns the value of the
totalrecord component. - touch(UUID, Instant, Instant) - Method in interface org.jwcarman.who.apikey.ApiKeyCredentialRepository
-
Records that a key signed in, unless it already did within the interval: the write happens only when the key was never used or last used before
notSince, so a busy key costs one write per interval. - touch(UUID, Instant, Instant) - Method in class org.jwcarman.who.apikey.JdbcApiKeyCredentialRepository
- touch(UUID, Instant, Instant) - Method in interface org.jwcarman.who.core.repository.SessionRecordRepository
-
Records that a session made a request, unless it is ended or was already seen at or after
notSince. - touch(UUID, Instant, Instant) - Method in class org.jwcarman.who.jdbc.JdbcSessionRecordRepository
- touch(UUID, Instant, Instant) - Method in class org.jwcarman.who.test.InMemorySessionRecordRepository
- trustEmail() - Method in record class org.jwcarman.who.oidc.ProviderSettings
-
Returns the value of the
trustEmailrecord component. - trustEmail() - Method in record class org.jwcarman.who.oidc.SignInRegistration
-
Returns the value of the
trustEmailrecord component. - Turnstile() - Constructor for class org.jwcarman.who.autoconfigure.WhoProperties.Turnstile
-
Creates the settings with their defaults.
- TurnstileAnswer - Record Class in org.jwcarman.who.turnstile
-
Cloudflare's siteverify answer about a token.
- TurnstileAnswer(boolean, Optional, Optional, Optional, Optional, List) - Constructor for record class org.jwcarman.who.turnstile.TurnstileAnswer
-
Rejects nulls, and copies the error codes.
- turnstileHumanCheck(WhoProperties, ObjectProvider, ObjectProvider, ObjectProvider, ObjectProvider) - Method in class org.jwcarman.who.autoconfigure.WhoTurnstileAutoConfiguration
-
The Turnstile check.
- TurnstileHumanCheck - Class in org.jwcarman.who.turnstile
-
Cloudflare Turnstile as who's human check.
- TurnstileHumanCheck(RestClient, URI, String, TurnstileVerifier, boolean) - Constructor for class org.jwcarman.who.turnstile.TurnstileHumanCheck
-
Creates the check.
- TurnstileVerifier - Interface in org.jwcarman.who.turnstile
-
Decides whether Cloudflare's answer about a token passes a request.
- type() - Method in record class org.jwcarman.who.spring.security.web.WhoProblem
-
Returns the value of the
typerecord component. - TYPE_PREFIX - Static variable in class org.jwcarman.who.spring.security.web.WhoProblems
-
The prefix of every problem's
type.
U
- UNKNOWN_ADDRESS - Enum constant in enum class org.jwcarman.who.emaillink.EmailLinkOutcome
-
The text is not an address, or no email credential has this address.
- UNKNOWN_CREDENTIAL - Enum constant in enum class org.jwcarman.who.core.event.SignInFailureReason
-
The credential is not linked to any identity.
- UNKNOWN_KEY - Enum constant in enum class org.jwcarman.who.core.event.SignInFailureReason
-
The API key is unknown.
- UnknownProviderException - Exception Class in org.jwcarman.who.oidc
-
A link named a registration who does not sign in with.
- UnknownProviderException() - Constructor for exception class org.jwcarman.who.oidc.UnknownProviderException
-
Creates the exception.
- UnknownRoleException - Exception Class in org.jwcarman.who.admin
-
A request named a role that does not exist. who's admin endpoints assign and remove only roles the application has made.
- UnknownRoleException() - Constructor for exception class org.jwcarman.who.admin.UnknownRoleException
-
Creates the exception.
- unknownSignIn() - Static method in exception class org.jwcarman.who.spring.security.web.RecentSignInUnavailableException
-
A caller who did not sign in through who, so who cannot tell when they did.
- unlink(String, HttpServletRequest) - Method in class org.jwcarman.who.oidc.LinkedAccountsController
-
Unlinks one of the caller's accounts, unless it is their last way to sign in.
- unlink(UUID) - Method in interface org.jwcarman.who.core.repository.CredentialIdentityRepository
-
Removes the link from the given credential to its identity.
- unlink(UUID) - Method in class org.jwcarman.who.federated.FederatedCredentialService
-
Deletes the credential and its identity link, so the pair stops signing in, then publishes
CredentialRevokedif it was linked to an identity. - unlink(UUID) - Method in class org.jwcarman.who.jdbc.JdbcCredentialIdentityRepository
- updatedAt() - Method in record class org.jwcarman.who.core.domain.Identity
-
Returns the value of the
updatedAtrecord component. - userAgent() - Method in record class org.jwcarman.who.core.domain.SessionRecord
-
Returns the value of the
userAgentrecord component. - userAgent() - Method in record class org.jwcarman.who.spring.security.SessionView
-
Returns the value of the
userAgentrecord component. - uuid() - Static method in class org.jwcarman.who.core.id.Identifiers
-
Generates a new time-based (UUIDv7) identifier.
V
- validFor() - Method in record class org.jwcarman.who.emaillink.EmailAddressConfirmationMessage
-
Returns the value of the
validForrecord component. - validFor() - Method in record class org.jwcarman.who.emaillink.EmailLinkMessage
-
Returns the value of the
validForrecord component. - validFor() - Method in record class org.jwcarman.who.emaillink.InvitationMessage
-
Returns the value of the
validForrecord component. - value() - Method in record class org.jwcarman.who.core.service.Resolution.Resolved
-
Returns the value of the
valuerecord component. - value() - Method in record class org.jwcarman.who.enrollment.EnrollmentToken
-
Returns the value of the
valuerecord component. - value() - Element in annotation interface org.jwcarman.who.spring.security.RequiresPermission
-
The permission string that the authenticated principal must hold.
- valueFor(SignInMethod) - Static method in class org.jwcarman.who.spring.security.web.LastSignInCookie
-
Names a browser sign-in method as the cookie records it.
- valueOf(String) - Static method in enum class org.jwcarman.who.core.domain.IdentityStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jwcarman.who.core.event.CredentialKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jwcarman.who.core.event.SessionEndReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jwcarman.who.core.event.SignInFailureReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jwcarman.who.core.event.SignInMethod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jwcarman.who.emaillink.EmailAddressRequestOutcome
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jwcarman.who.emaillink.EmailLinkOutcome
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jwcarman.who.enrollment.EnrollmentTokenStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jwcarman.who.oidc.SignInRegistration.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jwcarman.who.passkey.PasskeyRegistrationRefusedReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jwcarman.who.spring.security.HumanCheckOutcome
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.jwcarman.who.core.domain.IdentityStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jwcarman.who.core.event.CredentialKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jwcarman.who.core.event.SessionEndReason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jwcarman.who.core.event.SignInFailureReason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jwcarman.who.core.event.SignInMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jwcarman.who.emaillink.EmailAddressRequestOutcome
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jwcarman.who.emaillink.EmailLinkOutcome
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jwcarman.who.enrollment.EnrollmentTokenStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jwcarman.who.oidc.SignInRegistration.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jwcarman.who.passkey.PasskeyRegistrationRefusedReason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jwcarman.who.spring.security.HumanCheckOutcome
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERIFIED_EMAIL - Static variable in class org.jwcarman.who.oidc.WhoOAuth2UserService
-
The attribute that carries GitHub's primary, verified email.
- verifiedEmail() - Method in record class org.jwcarman.who.core.signup.SignUpRequest
-
Returns the value of the
verifiedEmailrecord component. - verifiedEmail() - Method in record class org.jwcarman.who.oidc.PendingSignUp
-
Returns the value of the
verifiedEmailrecord component. - verifiedEmail() - Method in record class org.jwcarman.who.oidc.ProviderAccount
-
Returns the value of the
verifiedEmailrecord component.
W
- WhoAdminAutoConfiguration - Class in org.jwcarman.who.autoconfigure
-
Registers who's admin endpoints when
who-adminis on the classpath, unlesswho.admin.enabled=false. - WhoAdminAutoConfiguration() - Constructor for class org.jwcarman.who.autoconfigure.WhoAdminAutoConfiguration
-
Creates the autoconfiguration; Spring Boot calls it.
- whoAdminGate(WhoSessionSecurityContextRepository, Clock, WhoProperties) - Method in class org.jwcarman.who.autoconfigure.WhoAdminAutoConfiguration
-
The checks every admin endpoint makes first: signed in, the permission, and a recent sign-in for a browser that changes something.
- WhoAdminPermissions - Class in org.jwcarman.who.admin
-
The permissions who's admin endpoints check. who defines them but grants them to no one: an application assigns them to its own roles, as it would any permission, for example with
RbacService.addPermissionToRole(role, WhoAdminPermissions.IDENTITIES_READ). - WhoApiKeyAutoConfiguration - Class in org.jwcarman.who.autoconfigure
-
Registers API key beans when
who-apikeyis on the classpath. - WhoApiKeyAutoConfiguration() - Constructor for class org.jwcarman.who.autoconfigure.WhoApiKeyAutoConfiguration
-
Creates the autoconfiguration; Spring Boot calls it.
- whoApiKeysController(ApiKeyService, WhoSessionSecurityContextRepository, ObjectProvider, Clock, WhoProperties) - Method in class org.jwcarman.who.autoconfigure.WhoApiKeyAutoConfiguration
-
The caller's API keys at
/me/api-keysunderwho.base-path, for a browser session or a bearer token. - WhoApiKeySecurity - Class in org.jwcarman.who.apikey
-
Adds the API key filter to a Spring Security chain.
- WhoApiKeySecurity.ApiKeyConfigurer - Class in org.jwcarman.who.apikey
-
Configurer that places the API key filter in an
HttpSecuritychain. - WhoAuthenticationToken - Class in org.jwcarman.who.spring.security
-
Spring Security authentication token backed by a resolved
WhoPrincipal. - WhoAuthenticationToken(WhoPrincipal) - Constructor for class org.jwcarman.who.spring.security.WhoAuthenticationToken
-
Creates a new authenticated token.
- WhoAuthenticationToken(WhoPrincipal, UUID) - Constructor for class org.jwcarman.who.spring.security.WhoAuthenticationToken
-
Creates a new authenticated token that remembers the credential used to authenticate.
- WhoAuthenticationToken(WhoPrincipal, UUID, SignInMethod) - Constructor for class org.jwcarman.who.spring.security.WhoAuthenticationToken
-
Creates a new authenticated token for a sign-in, so that who's success handler can report how the sign-in was made.
- WhoAuthenticationToken(WhoPrincipal, UUID, SignInMethod, FactorGrantedAuthority) - Constructor for class org.jwcarman.who.spring.security.WhoAuthenticationToken
-
Creates a new authenticated token that carries the factor of the person's sign-in among its authorities, beside the permissions.
- WhoAutoConfiguration - Class in org.jwcarman.who.autoconfigure
-
who's core autoconfiguration:
WhoService, the clock, the event publisher, the schema initializer, and the JDBC and RBAC beans when those modules are on the classpath. - WhoAutoConfiguration() - Constructor for class org.jwcarman.who.autoconfigure.WhoAutoConfiguration
-
Creates the autoconfiguration; Spring Boot calls it.
- WhoCaller - Interface in org.jwcarman.who.spring.security
-
Who signed a request in, as
WhoSessionSecurityContextRepository.caller(HttpServletRequest, Authentication)tells it: by what signed the request in, never by which headers it carries. - WhoCaller.Other - Record Class in org.jwcarman.who.spring.security
-
A who sign-in that no browser session loaded and that is neither a bearer token nor an API key, such as one placed in the security context by the application or a test.
- WhoCaller.Session - Record Class in org.jwcarman.who.spring.security
-
A browser session signed the request in, and the request presents no API key or bearer token beside the session cookie.
- WhoCaller.SessionWithForeignCredential - Record Class in org.jwcarman.who.spring.security
-
A browser session signed the request in, but the request also presents an API key or a bearer token, which was ignored because the session had already signed it in.
- WhoCaller.SignedOut - Record Class in org.jwcarman.who.spring.security
-
No who sign-in: the request is anonymous, or signed in by something that is not who's.
- WhoCaller.Stateless - Record Class in org.jwcarman.who.spring.security
-
A bearer token or an API key signed the request in; no browser session did.
- whoClock() - Method in class org.jwcarman.who.autoconfigure.WhoAutoConfiguration
-
The clock who reads the current time from (sign-in times, link expiry).
- WhoConfigurationException - Exception Class in org.jwcarman.who.autoconfigure
-
Thrown at startup when a who module is on the classpath but a setting it cannot work without is missing or unusable.
- WhoConfigurationException(String, String, String) - Constructor for exception class org.jwcarman.who.autoconfigure.WhoConfigurationException
-
Creates the exception.
- WhoConfigurationFailureAnalyzer - Class in org.jwcarman.who.autoconfigure
-
Reports a
WhoConfigurationExceptionthe way Spring Boot reports its own configuration failures, so the startup output says which property is wrong and what to set. - WhoConfigurationFailureAnalyzer() - Constructor for class org.jwcarman.who.autoconfigure.WhoConfigurationFailureAnalyzer
-
Creates the analyzer; Spring Boot calls it, listed in
spring.factories. - whoDataSourceScriptDatabaseInitializer(DataSource, WhoProperties) - Method in class org.jwcarman.who.autoconfigure.WhoAutoConfiguration
-
Initializes Who's bundled DDL schemas against the configured
DataSource. - WhoDataSourceScriptDatabaseInitializer - Class in org.jwcarman.who.autoconfigure
-
Initializes Who module database schemas by running each module's bundled DDL script against the configured
DataSource. - WhoDataSourceScriptDatabaseInitializer(DataSource, DatabaseInitializationMode) - Constructor for class org.jwcarman.who.autoconfigure.WhoDataSourceScriptDatabaseInitializer
-
Creates a new initializer.
- WhoEmail - Interface in org.jwcarman.who.core.email
-
An email who sends, before it is rendered.
- whoEmailAddressesController(EmailAddressChanges, EmailCredentialService, LastCredentialGuard, WhoSessionSecurityContextRepository, Executor, ObjectProvider, Clock, WhoProperties) - Method in class org.jwcarman.who.autoconfigure.WhoEmailLinkAutoConfiguration
-
/who/me/email-addresses: a signed-in person lists, adds, changes and removes addresses. - WhoEmailAutoConfiguration - Class in org.jwcarman.who.autoconfigure
-
Wires who's one email seam: a
WhoEmailRenderer(who-email's Mustache renderer unless the application has its own), aWhoEmailSender(who-email-smtp's unless the application has its own), andWhoEmailswhen both exist. - WhoEmailAutoConfiguration() - Constructor for class org.jwcarman.who.autoconfigure.WhoEmailAutoConfiguration
-
Creates the autoconfiguration; Spring Boot calls it.
- WhoEmailLinkAutoConfiguration - Class in org.jwcarman.who.autoconfigure
-
Turns email-link sign-in on when
who-email-linkis on the classpath;who.email-link.enabled=falseturns it off. - WhoEmailLinkAutoConfiguration() - Constructor for class org.jwcarman.who.autoconfigure.WhoEmailLinkAutoConfiguration
-
Creates the autoconfiguration; Spring Boot calls it.
- whoEmailLinkExecutor(ObjectProvider) - Method in class org.jwcarman.who.autoconfigure.WhoEmailLinkAutoConfiguration
-
Sends sign-in emails off the request thread, so a known and an unknown address answer alike.
- WhoEmailLinkMetrics - Class in org.jwcarman.who.autoconfigure
-
Counts sign-in email requests as "who.sign-in.emails", tagged
outcome. - WhoEmailLinkMetrics(MeterRegistry) - Constructor for class org.jwcarman.who.autoconfigure.WhoEmailLinkMetrics
-
Creates the listener.
- WhoEmailMessages - Record Class in org.jwcarman.who.email
-
A feature's bundle of default email messages, such as its subjects under
who.email.<template>.subject. - WhoEmailMessages(String) - Constructor for record class org.jwcarman.who.email.WhoEmailMessages
-
Checks the basename.
- WhoEmailModelContributor - Interface in org.jwcarman.who.email
-
Adds an application's own values to an email's template model, under the name
extra: for example the recipient's display name, as{{extra.displayName}}. - WhoEmailRenderer - Interface in org.jwcarman.who.core.email
-
Turns a
WhoEmailinto anOutgoingEmail: its subject, text and optional HTML. - WhoEmailRuntimeHints - Class in org.jwcarman.who.email.aot
-
Native-image hints for an application's email templates at the default
who.email.templateslocation,classpath:/templates/who/email/. - WhoEmailRuntimeHints() - Constructor for class org.jwcarman.who.email.aot.WhoEmailRuntimeHints
-
Creates the registrar; Spring calls it, listed in
aot.factories. - whoEmails(WhoEmailRenderer, WhoEmailSender, WhoProperties) - Method in class org.jwcarman.who.autoconfigure.WhoEmailAutoConfiguration
-
The seam, when there is a renderer and a sender.
- WhoEmails - Class in org.jwcarman.who.core.email
-
Renders and sends who's emails.
- WhoEmails(WhoEmailRenderer, WhoEmailSender, Supplier) - Constructor for class org.jwcarman.who.core.email.WhoEmails
-
Creates the seam.
- WhoEmailSender - Interface in org.jwcarman.who.core.email
-
Delivers a rendered email: SMTP, or a provider such as SES.
- WhoEmailTemplates - Record Class in org.jwcarman.who.email
-
A library's email templates and subjects.
- WhoEmailTemplates(String, String) - Constructor for record class org.jwcarman.who.email.WhoEmailTemplates
-
Checks the location.
- WhoEnrollmentAutoConfiguration - Class in org.jwcarman.who.autoconfigure
-
Registers enrollment beans when
who-enrollmentis on the classpath. - WhoEnrollmentAutoConfiguration() - Constructor for class org.jwcarman.who.autoconfigure.WhoEnrollmentAutoConfiguration
-
Creates the autoconfiguration; Spring Boot calls it.
- whoEnrollmentService(EnrollmentTokenRepository, IdentityRepository, CredentialIdentityRepository, WhoProperties, WhoEventPublisher, Clock) - Method in class org.jwcarman.who.autoconfigure.WhoEnrollmentAutoConfiguration
-
Issues enrollment tokens and redeems them, linking a credential to the invited identity.
- WhoEnrollmentService - Class in org.jwcarman.who.enrollment
-
Service for managing enrollment tokens that link credentials to identities.
- WhoEnrollmentService(EnrollmentTokenRepository, IdentityRepository, CredentialIdentityRepository, Duration) - Constructor for class org.jwcarman.who.enrollment.WhoEnrollmentService
-
Creates a service that publishes no events.
- WhoEnrollmentService(EnrollmentTokenRepository, IdentityRepository, CredentialIdentityRepository, Duration, WhoEventPublisher, Clock) - Constructor for class org.jwcarman.who.enrollment.WhoEnrollmentService
-
Creates a service that publishes an event for each token and credential change.
- WhoErrorCode - Interface in org.jwcarman.who.spring.security.web
-
A failure who hands to the application, named by a stable code.
- WhoErrorResolver - Class in org.jwcarman.who.spring.security.web
-
who's place in Spring MVC's exception handling; put it first among the resolvers (who's autoconfiguration does, through
extendHandlerExceptionResolvers). - WhoErrorResolver(WhoPaths) - Constructor for class org.jwcarman.who.spring.security.web.WhoErrorResolver
-
Creates the resolver.
- WhoEvent - Interface in org.jwcarman.who.core.event
-
A security-relevant occurrence inside who, published through
WhoEventPublisher. - whoEventPublisher(ApplicationEventPublisher) - Method in class org.jwcarman.who.autoconfigure.WhoAutoConfiguration
-
Publishes who's events as Spring application events, after the surrounding transaction commits.
- WhoEventPublisher - Interface in org.jwcarman.who.core.event
-
Publishes
WhoEvents to whatever listener mechanism the host application uses. - WhoException - Exception Class in org.jwcarman.who.core.exception
-
Base class for all Who framework exceptions.
- WhoException(String, Object...) - Constructor for exception class org.jwcarman.who.core.exception.WhoException
-
Creates a new exception with a formatted message.
- WhoExceptionHandoff - Class in org.jwcarman.who.spring.security.web
-
Answers an exception raised outside Spring MVC (in a security filter, failure handler or entry point).
- WhoExceptionHandoff(WhoPaths, WhoExceptionHandoff.Resolver) - Constructor for class org.jwcarman.who.spring.security.web.WhoExceptionHandoff
-
Creates the handoff.
- WhoExceptionHandoff.Resolver - Interface in org.jwcarman.who.spring.security.web
-
Resolves an exception the way the application resolves its controllers' exceptions.
- WhoFederatedAutoConfiguration - Class in org.jwcarman.who.autoconfigure
-
Registers the
(issuer, subject)credential's repository and service whenwho-federatedis on the classpath, whichwho-jwtbrings. - WhoFederatedAutoConfiguration() - Constructor for class org.jwcarman.who.autoconfigure.WhoFederatedAutoConfiguration
-
Creates the autoconfiguration; Spring Boot calls it.
- WhoHumanCheck - Interface in org.jwcarman.who.spring.security
-
Decides whether a request to one of who's public, costly endpoints comes from a person rather than a script: a bot check such as Cloudflare Turnstile. who checks
POST /who/email/sendandPOST /who/email/sign-inwhen the application has a bean of this type, and checks nothing without one. - WhoHumanCheckMetrics - Class in org.jwcarman.who.autoconfigure
- WhoHumanCheckMetrics(MeterRegistry) - Constructor for class org.jwcarman.who.autoconfigure.WhoHumanCheckMetrics
-
Creates the listener.
- whoIdentitiesController(IdentityRepository, WhoService, RbacService, ObjectProvider, ObjectProvider, LastAdminGuard, AdminGate, ObjectProvider) - Method in class org.jwcarman.who.autoconfigure.WhoAdminAutoConfiguration
-
The identity admin endpoints at
/identitiesunderwho.base-path. - whoJwtAuthenticationConverter(FederatedCredentialRepository, WhoService, WhoEventPublisher, Clock) - Method in class org.jwcarman.who.autoconfigure.WhoJwtAutoConfiguration
-
The converter that signs JWTs in, publishing the sign-in events.
- WhoJwtAuthenticationConverter - Class in org.jwcarman.who.jwt
-
Converts a Spring Security
Jwt(already validated by the OAuth2 resource server) into aWhoAuthenticationTokenby resolving the JWT's issuer/subject pair to aWhoPrincipal. - WhoJwtAuthenticationConverter(FederatedCredentialRepository, WhoService) - Constructor for class org.jwcarman.who.jwt.WhoJwtAuthenticationConverter
-
Creates a new converter that publishes no events.
- WhoJwtAuthenticationConverter(FederatedCredentialRepository, WhoService, WhoEventPublisher, Clock) - Constructor for class org.jwcarman.who.jwt.WhoJwtAuthenticationConverter
-
Creates a new converter.
- WhoJwtAutoConfiguration - Class in org.jwcarman.who.autoconfigure
-
Registers JWT beans when
who-jwtis on the classpath. - WhoJwtAutoConfiguration() - Constructor for class org.jwcarman.who.autoconfigure.WhoJwtAutoConfiguration
-
Creates the autoconfiguration; Spring Boot calls it.
- whoLastAdminGuard(JdbcClient, PlatformTransactionManager, PermissionsResolver) - Method in class org.jwcarman.who.autoconfigure.WhoAdminAutoConfiguration
-
Keeps the admin endpoints from leaving no active identity that may manage identities.
- whoLinkedAccountsController(SignInRegistrations, FederatedCredentialService, LastCredentialGuard, WhoSessionSecurityContextRepository, Clock, WhoProperties) - Method in class org.jwcarman.who.autoconfigure.WhoOidcAutoConfiguration
-
GET /who/me/accountsandDELETE /who/me/accounts/{id}: the caller's linked provider accounts, listed by any signed-in caller and unlinked from a browser session. - WhoMappingCheck - Class in org.jwcarman.who.spring.security.web
-
Fails startup when who's controllers would not answer where who's sign-in filters, logout, public paths and error handling expect them: at
WhoPaths.of(String). - WhoMappingCheck(WhoPaths, ObjectProvider, String) - Constructor for class org.jwcarman.who.spring.security.web.WhoMappingCheck
-
Creates the check.
- WhoMeController - Class in org.jwcarman.who.spring.security.web
-
who's one endpoint of its own:
GET /who/metells an app who is signed in. - WhoMeController(WhoSessionSecurityContextRepository, RecentSignInAuthorizationManager, ObjectProvider) - Constructor for class org.jwcarman.who.spring.security.web.WhoMeController
-
Creates the controller.
- WhoMeController.WhoMeResponse - Record Class in org.jwcarman.who.spring.security.web
-
The signed-in identity.
- WhoMeResponse(UUID, Set, String, Instant, Map) - Constructor for record class org.jwcarman.who.spring.security.web.WhoMeController.WhoMeResponse
-
Creates an instance of a
WhoMeResponserecord class. - whoMetrics(MeterRegistry) - Method in class org.jwcarman.who.autoconfigure.WhoMetricsAutoConfiguration
-
Counts who's own events.
- WhoMetrics - Class in org.jwcarman.who.autoconfigure
-
Counts who's events as Micrometer meters: "who.sign-ins", "who.sign-outs", "who.sessions.ended", "who.credentials.added" and "who.credentials.revoked".
- WhoMetrics(MeterRegistry) - Constructor for class org.jwcarman.who.autoconfigure.WhoMetrics
-
Creates the listener.
- WhoMetricsAutoConfiguration - Class in org.jwcarman.who.autoconfigure
-
Counts who's events as Micrometer meters when the application has a
MeterRegistry(for example, with Spring Boot Actuator). - WhoMetricsAutoConfiguration() - Constructor for class org.jwcarman.who.autoconfigure.WhoMetricsAutoConfiguration
-
Creates the autoconfiguration; Spring Boot calls it.
- WhoMockMvcBrowser - Class in org.jwcarman.who.test
-
A
MockMvcclient that behaves like a single-page app in a browser against a chain built withWhoWebSecurity.passwordless(). - WhoMockMvcBrowser(MockMvc) - Constructor for class org.jwcarman.who.test.WhoMockMvcBrowser
-
Creates a browser with no session and no cookies.
- WhoOAuth2UserService - Class in org.jwcarman.who.oidc
-
Loads the provider's user with Spring Security's
DefaultOAuth2UserService, and for GitHub adds the primary, verified email from/user/emails, which only this step can read: it has the access token. - WhoOAuth2UserService(Function) - Constructor for class org.jwcarman.who.oidc.WhoOAuth2UserService
-
Creates the service.
- WhoObservations - Class in org.jwcarman.who.core.observation
-
Runs who's own work inside a Micrometer
Observationtagged with its outcome, so that a failing observation handler never changes who's answer. - WhoOidcAutoConfiguration - Class in org.jwcarman.who.autoconfigure
-
Registers provider sign-in (Google, GitHub, any OpenID Connect provider) when
who-oidcis on the classpath. - WhoOidcAutoConfiguration() - Constructor for class org.jwcarman.who.autoconfigure.WhoOidcAutoConfiguration
-
Creates the autoconfiguration; Spring Boot calls it.
- whoOneTimeTokenService(Clock, EmailLinkSettings) - Method in class org.jwcarman.who.autoconfigure.WhoEmailLinkAutoConfiguration
-
Makes the one-time tokens behind links and codes, valid for
who.email-link.token-ttl. - WhoOneTimeTokenService - Class in org.jwcarman.who.emaillink
-
Spring Security
OneTimeTokenServicefor email links. - WhoOneTimeTokenService(Clock, Duration) - Constructor for class org.jwcarman.who.emaillink.WhoOneTimeTokenService
-
Creates a new service.
- WhoPasskeyAuthenticationProvider - Class in org.jwcarman.who.passkey
-
Signs in with a passkey: verifies the assertion through the relying party, maps the verified credential to who's credential id, and resolves it to an active identity.
- WhoPasskeyAuthenticationProvider(WebAuthnRelyingPartyOperations, JdbcWhoPasskeyCredentialRepository, WhoService) - Constructor for class org.jwcarman.who.passkey.WhoPasskeyAuthenticationProvider
-
Creates a provider that publishes no events.
- WhoPasskeyAuthenticationProvider(WebAuthnRelyingPartyOperations, JdbcWhoPasskeyCredentialRepository, WhoService, WhoEventPublisher, Clock) - Constructor for class org.jwcarman.who.passkey.WhoPasskeyAuthenticationProvider
-
Creates the provider.
- WhoPasskeyAutoConfiguration - Class in org.jwcarman.who.autoconfigure
-
Registers passkey beans when
who-passkeyis on the classpath and the application opts in by settingwho.passkey.rp-id. - WhoPasskeyAutoConfiguration() - Constructor for class org.jwcarman.who.autoconfigure.WhoPasskeyAutoConfiguration
-
Creates the autoconfiguration; Spring Boot calls it.
- whoPasskeyCredentialRepository(JdbcClient, CredentialIdentityRepository, WhoEventPublisher, Clock) - Method in class org.jwcarman.who.autoconfigure.WhoPasskeyAutoConfiguration
-
Who's passkey records.
- whoPasskeysController(WhoSessionSecurityContextRepository, PasskeyService, LastCredentialGuard, Clock, PasskeySettings) - Method in class org.jwcarman.who.autoconfigure.WhoPasskeyAutoConfiguration
-
GET /who/me/passkeysandDELETE /who/me/passkeys/{credentialId}: the caller's passkeys, listed and removed from a browser session. - whoPasskeyUserRepository(JdbcClient, CredentialIdentityRepository, WhoEventPublisher, Clock) - Method in class org.jwcarman.who.autoconfigure.WhoPasskeyAutoConfiguration
-
Who's WebAuthn user entities.
- whoPaths(WhoProperties) - Method in class org.jwcarman.who.autoconfigure.WhoSpringSecurityAutoConfiguration
-
Where every who endpoint lives:
who.base-path,/whounless configured. - WhoPaths - Record Class in org.jwcarman.who.spring.security
-
Where every who endpoint lives: one root, such as
/who(the default) or/auth, and each endpoint's path below it. - WhoPaths(String) - Constructor for record class org.jwcarman.who.spring.security.WhoPaths
-
Creates the paths under
root. - WhoPrincipal - Record Class in org.jwcarman.who.core.domain
-
Resolved principal placed into the security context.
- WhoPrincipal(Identity, Set) - Constructor for record class org.jwcarman.who.core.domain.WhoPrincipal
-
Validates that no field is null, and copies the permissions.
- WhoProblem - Record Class in org.jwcarman.who.spring.security.web
-
An error under who's base path, as RFC 9457 Problem Details (
application/problem+json). who writes it whatever the application's own error handling does, so who's client reads one shape. - WhoProblem(String, String, int, String, String) - Constructor for record class org.jwcarman.who.spring.security.web.WhoProblem
-
Creates an instance of a
WhoProblemrecord class. - WhoProblemRuntimeHints - Class in org.jwcarman.who.spring.security.aot
-
Native-image reflection for
WhoProblem. who's filters and entry point write it by hand, so no controller method's signature registers it the way Spring registers a returned type. - WhoProblemRuntimeHints() - Constructor for class org.jwcarman.who.spring.security.aot.WhoProblemRuntimeHints
-
Creates the registrar; Spring calls it, listed in
aot.factories. - WhoProblems - Class in org.jwcarman.who.spring.security.web
-
Builds and writes
WhoProblems, who's answer to every error under its base path. - WhoProperties - Class in org.jwcarman.who.autoconfigure
-
Configuration properties for the Who identity framework.
- WhoProperties() - Constructor for class org.jwcarman.who.autoconfigure.WhoProperties
-
Creates who's properties with their defaults; Spring Boot binds
who.*onto them. - WhoProperties.Admin - Class in org.jwcarman.who.autoconfigure
-
Properties for the
who-adminmodule. - WhoProperties.ApiKey - Class in org.jwcarman.who.autoconfigure
-
Properties for the
who-apikeymodule. - WhoProperties.Email - Class in org.jwcarman.who.autoconfigure
-
How who renders and sends its emails (
who-email,who-email-smtpor an application's own sender). - WhoProperties.EmailLink - Class in org.jwcarman.who.autoconfigure
-
Properties for the
who-email-linkmodule. - WhoProperties.Enrollment - Class in org.jwcarman.who.autoconfigure
-
Properties for the
who-enrollmentmodule. - WhoProperties.Jwt - Class in org.jwcarman.who.autoconfigure
-
Properties for the
who-jwtmodule. - WhoProperties.MethodSecurity - Class in org.jwcarman.who.autoconfigure
-
Properties for method security.
- WhoProperties.Oidc - Class in org.jwcarman.who.autoconfigure
-
Properties for sign-in with Google, GitHub or any OpenID Connect provider (
who-oidc). - WhoProperties.Oidc.Provider - Class in org.jwcarman.who.autoconfigure
-
Settings for one client registration.
- WhoProperties.Passkey - Class in org.jwcarman.who.autoconfigure
-
Properties for the
who-passkeymodule. - WhoProperties.Security - Class in org.jwcarman.who.autoconfigure
-
Properties for who's security chain.
- WhoProperties.Security.LastSignInCookie - Class in org.jwcarman.who.autoconfigure
-
Settings for the cookie that remembers which way someone last signed in.
- WhoProperties.Sessions - Class in org.jwcarman.who.autoconfigure
-
who's record of browser sessions, which lets a person see where they are signed in and end a session.
- WhoProperties.Turnstile - Class in org.jwcarman.who.autoconfigure
-
Properties for the
who-turnstilemodule: Cloudflare Turnstile as the human check. - WhoPublicPathContributor - Interface in org.jwcarman.who.spring.security
-
Lets a library or an application add paths a signed-out request may reach, without replacing who's
WhoPublicPaths. - whoPublicPaths(WhoPaths, ObjectProvider, ObjectProvider, ListableBeanFactory, WhoProperties) - Method in class org.jwcarman.who.autoconfigure.WhoSpringSecurityAutoConfiguration
-
The paths a signed-out request may reach: the error page, each sign-in method's endpoints,
who.security.public-pathsand whatWhoPublicPathContributorbeans add. - WhoPublicPaths - Class in org.jwcarman.who.spring.security
-
The paths a signed-out request may reach: Spring Boot's error page,
GET /who/sign-in, every sign-in method's own endpoints, the application'swho.security.public-pathsand whatWhoPublicPathContributorbeans add. who's default security chain permits them; an application that writes its own chain can do the same withrequestMatchers(whoPublicPaths.patterns()).permitAll(). - WhoPublicPaths(WhoPaths, Collection, Collection, Collection) - Constructor for class org.jwcarman.who.spring.security.WhoPublicPaths
-
Collects the paths.
- whoRecentSignIn(WhoProperties, Clock) - Method in class org.jwcarman.who.autoconfigure.WhoSpringSecurityAutoConfiguration
-
Decides whether the caller signed in within
who.security.recent-sign-in: behind@RequiresRecentSignIn, and for URL rules,.access(recentSignIn). - whoRelyingPartyOperations(PasskeySettings, JdbcWhoPasskeyUserRepository, JdbcWhoPasskeyCredentialRepository, PasskeyNameResolver, PasskeyAddedNotifier, WhoEventPublisher, Clock) - Method in class org.jwcarman.who.autoconfigure.WhoPasskeyAutoConfiguration
-
The one relying party: Spring's WebAuthn filters and who's provider verify through it.
- WhoRelyingPartyOperations - Class in org.jwcarman.who.passkey
-
who's relying party: Spring's
Webauthn4JRelyingPartyOperations, configured fromPasskeySettings, with three changes. - WhoRelyingPartyOperations(PasskeySettings, JdbcWhoPasskeyUserRepository, JdbcWhoPasskeyCredentialRepository, PasskeyNameResolver, PasskeyAddedNotifier) - Constructor for class org.jwcarman.who.passkey.WhoRelyingPartyOperations
-
Creates a relying party that publishes no events.
- WhoRelyingPartyOperations(PasskeySettings, JdbcWhoPasskeyUserRepository, JdbcWhoPasskeyCredentialRepository, PasskeyNameResolver, PasskeyAddedNotifier, WhoEventPublisher, Clock) - Constructor for class org.jwcarman.who.passkey.WhoRelyingPartyOperations
-
Creates the relying party.
- whoRolesController(RbacService, AdminGate) - Method in class org.jwcarman.who.autoconfigure.WhoAdminAutoConfiguration
-
GET /rolesunderwho.base-path. - WhoSchemaRuntimeHints - Class in org.jwcarman.who.autoconfigure
-
Native-image hints for
who.initialize-schema. - WhoSchemaRuntimeHints() - Constructor for class org.jwcarman.who.autoconfigure.WhoSchemaRuntimeHints
-
Creates the registrar; Spring calls it, listed in
aot.factories. - WhoSecurity - Class in org.jwcarman.who.spring.security
-
Entry point for mounting who into a Spring Security chain the application writes itself.
- WhoSecurityConfigurer - Class in org.jwcarman.who.spring.security
-
Mounts every who sign-in method in the application context into one chain: when there is a
PasswordlessLoginMethodbean, everythingWhoWebSecurity.passwordless()does for browser sessions; everyStatelessLoginMethodbean, and, when the chain has CSRF protection, an exemption for the requests that one of their credentials signs in; theBrowserEndpointsbeans when there is a browser method, else theStatelessEndpointsbeans; a401for a signed-out request and a403for a denied one, handed to the application's exception handling. - whoSecurityFilterChain(HttpSecurity, WhoPublicPaths, ObjectProvider) - Method in class org.jwcarman.who.autoconfigure.WhoWebSecurityAutoConfiguration
-
The default chain.
- whoService(CredentialIdentityRepository, IdentityRepository, PermissionsResolver, ObjectProvider, WhoEventPublisher, Clock, ObjectProvider) - Method in class org.jwcarman.who.autoconfigure.WhoAutoConfiguration
-
Creates the core
WhoServicethat resolves credentials to principals. - WhoService - Class in org.jwcarman.who.core.service
-
Core service that resolves a
Credentialto aWhoPrincipal. - WhoService(IdentityRepository, CredentialIdentityRepository, PermissionsResolver) - Constructor for class org.jwcarman.who.core.service.WhoService
-
Constructs a
WhoServicewithout credential removers:WhoService.deleteIdentity(UUID)then deletes only links, andWhoService.purgeOrphanedCredentials()deletes nothing. - WhoService(IdentityRepository, CredentialIdentityRepository, PermissionsResolver, List) - Constructor for class org.jwcarman.who.core.service.WhoService
-
Constructs a
WhoServicewith its collaborators. - WhoService(IdentityRepository, CredentialIdentityRepository, PermissionsResolver, List, WhoEventPublisher, Clock) - Constructor for class org.jwcarman.who.core.service.WhoService
-
Constructs a
WhoServicewith its collaborators, publishing security events. - WhoService(IdentityRepository, CredentialIdentityRepository, PermissionsResolver, List, WhoEventPublisher, Clock, ObservationRegistry) - Constructor for class org.jwcarman.who.core.service.WhoService
-
Constructs a
WhoServicethat publishes security events and observes each credential resolution as "who.principal.resolve". - WhoSession - Record Class in org.jwcarman.who.spring.security
-
What a browser session remembers about a signed-in identity: ids only.
- WhoSession(UUID, UUID, Instant) - Constructor for record class org.jwcarman.who.spring.security.WhoSession
-
A session that does not say how the person signed in.
- WhoSession(UUID, UUID, Instant, SignInMethod) - Constructor for record class org.jwcarman.who.spring.security.WhoSession
-
A session with no record behind it, as one saved before who recorded sessions.
- WhoSession(UUID, UUID, Instant, SignInMethod, UUID) - Constructor for record class org.jwcarman.who.spring.security.WhoSession
-
Creates an instance of a
WhoSessionrecord class. - whoSessionEndListener(WhoSessions) - Method in class org.jwcarman.who.autoconfigure.WhoSpringSecurityAutoConfiguration
-
Ends who's record of a session when the servlet container destroys it.
- WhoSessionEndListener - Class in org.jwcarman.who.spring.security
-
Ends who's record of a session when the servlet container destroys it, by invalidation or by timeout, so the list of sessions stays current.
- WhoSessionEndListener(WhoSessions) - Constructor for class org.jwcarman.who.spring.security.WhoSessionEndListener
-
Creates the listener.
- whoSessionEndpoints() - Method in class org.jwcarman.who.autoconfigure.WhoSpringSecurityAutoConfiguration
-
GET /who/me/sessionsandDELETE /who/me/sessions/...: a signed-in person's browser sessions, and ending them. - WhoSessionRuntimeHints - Class in org.jwcarman.who.spring.security.aot
-
Native-image serialization for
WhoSession. - WhoSessionRuntimeHints() - Constructor for class org.jwcarman.who.spring.security.aot.WhoSessionRuntimeHints
-
Creates the registrar; Spring calls it, listed in
aot.factories. - whoSessions(Clock, WhoEventPublisher) - Static method in class org.jwcarman.who.test.InMemorySessionRecordRepository
-
Creates a
WhoSessionsover a fresh in-memory store, with Spring Boot's default 30 minute idle timeout, a 5 minute last-seen interval and no auto-purge. - whoSessions(SessionRecordRepository, WhoEventPublisher, Clock, WhoProperties, Environment, ResourceLoader) - Method in class org.jwcarman.who.autoconfigure.WhoSpringSecurityAutoConfiguration
-
who's record of browser sessions.
- WhoSessions - Class in org.jwcarman.who.core.service
-
who's record of browser sessions: one per sign-in, so a person can see where they are signed in and end a session from elsewhere, and an application can end an identity's sessions.
- WhoSessions(SessionRecordRepository, WhoEventPublisher, Clock, Duration, Duration, int, boolean) - Constructor for class org.jwcarman.who.core.service.WhoSessions
-
Creates the service.
- whoSessionSecurityContextRepository(WhoService, WhoSessions, Clock, WhoEventPublisher, ObjectProvider) - Method in class org.jwcarman.who.autoconfigure.WhoSpringSecurityAutoConfiguration
-
Keeps only a
WhoSession(ids and the sign-in time) in the HTTP session and resolves the principal again on every request, so a deactivated identity or a revoked credential takes effect at once. - WhoSessionSecurityContextRepository - Class in org.jwcarman.who.spring.security
-
Keeps only a
WhoSession(ids) in the HTTP session and re-resolves the principal fromWhoServiceon every request, so a suspended identity, a removed role or a revoked credential takes effect immediately. - WhoSessionSecurityContextRepository(WhoService, WhoSessions, Clock, WhoEventPublisher, RequestMatcher) - Constructor for class org.jwcarman.who.spring.security.WhoSessionSecurityContextRepository
-
Creates the repository.
- WhoSignInFactors - Class in org.jwcarman.who.spring.security
-
The Spring Security factor each way of signing in stands for, stamped with when the person signed in.
- whoSignUpPolicy() - Method in class org.jwcarman.who.autoconfigure.WhoOidcAutoConfiguration
-
The sign-up policy: closed, so nobody signs up until the application says who may.
- WhoSignUpPolicy - Interface in org.jwcarman.who.core.signup
-
Decides whether someone who signs in with a credential who does not know may create an identity.
- WhoSpringSecurityAutoConfiguration - Class in org.jwcarman.who.autoconfigure
-
Wires who into Spring Security when
who-spring-securityis on the classpath: the session repository,GET /who/me, the exception hand-off, and method security so that@RequiresPermissionis enforced (turn it off withwho.method-security.enabled=false). - WhoSpringSecurityAutoConfiguration() - Constructor for class org.jwcarman.who.autoconfigure.WhoSpringSecurityAutoConfiguration
-
Creates the autoconfiguration; Spring Boot calls it.
- WhoStatelessConfigurer - Class in org.jwcarman.who.spring.security
-
Mounts who's stateless sign-in methods, every
StatelessLoginMethodbean (API keys, bearer JWTs), into a chain that never reads or creates a session: the security context lives in the request only, and the request's session is hidden from the whole chain, so a session cookie that another chain made signs nothing in here, and is neither given a new id nor ended. - WhoTestSessions - Class in org.jwcarman.who.test
-
Signed-in HTTP sessions for tests.
- WhoTurnstileAutoConfiguration - Class in org.jwcarman.who.autoconfigure
-
Cloudflare Turnstile as who's human check, on with the
who-turnstilejar. - WhoTurnstileAutoConfiguration() - Constructor for class org.jwcarman.who.autoconfigure.WhoTurnstileAutoConfiguration
-
Creates the autoconfiguration; Spring Boot calls it.
- WhoWebSecurity - Class in org.jwcarman.who.spring.security
-
Entry points for applying who to a Spring Security chain.
- WhoWebSecurityAutoConfiguration - Class in org.jwcarman.who.autoconfigure
-
who's default
SecurityFilterChain, in place of Spring Boot's: every sign-in method on the classpath (WhoSecurity.all()), the public paths open to signed-out requests, CSRF for every request that brings a session, Actuator's health endpoint open as Boot's own chain leaves it, and every other request signed in. - WhoWebSecurityAutoConfiguration() - Constructor for class org.jwcarman.who.autoconfigure.WhoWebSecurityAutoConfiguration
-
Creates the autoconfiguration; Spring Boot calls it.
- window() - Method in class org.jwcarman.who.spring.security.RecentSignInAuthorizationManager
-
Returns how long a sign-in stays recent.
- within() - Element in annotation interface org.jwcarman.who.spring.security.RequiresRecentSignIn
-
How recent the sign-in must be, as a duration such as
5morPT5M; empty, the default, meanswho.security.recent-sign-in. - withStatus(IdentityStatus) - Method in record class org.jwcarman.who.core.domain.Identity
-
Returns a new
Identitywith the given status and an updatedupdatedAttimestamp. - withWindow(Duration) - Method in class org.jwcarman.who.spring.security.RecentSignInAuthorizationManager
-
Returns a manager like this one with a different window.
- write(HttpServletRequest, HttpServletResponse, Exception, HttpStatus) - Static method in class org.jwcarman.who.spring.security.web.WhoProblems
-
Answers
exceptionwith its problem: the status, theWho-Errorheader and the body. - write(HttpServletResponse, String) - Method in class org.jwcarman.who.spring.security.web.LastSignInCookie
-
Sets the cookie on the response.
- WRONG_CODE - Enum constant in enum class org.jwcarman.who.core.event.SignInFailureReason
-
The one-time code did not match.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
WhoSessionSecurityContextRepository.loadDeferredContext(HttpServletRequest)