| Modifier and Type | Method and Description |
|---|---|
Authentication |
AuthContext.authenticate(AuthenticationToken authenticationToken)
Attempts to authenticate a user using given
AuthenticationToken. |
Authentication |
AuthContext.authenticate(Message<?,?> message,
String... schemes)
Attempts to authenticate using given
message with the same contract as
AuthContext.authenticate(AuthenticationToken), using Realm registered AuthenticationToken.AuthenticationTokenResolvers
for given message type, if any. |
Authentication |
Authenticator.MessageAuthenticator.authenticate(Message<?,?> message,
String... schemes)
Try to authenticate given
message with the same contract as
Authenticator.authenticate(AuthenticationToken). |
Authentication |
Authenticator.authenticate(T authenticationToken)
Attempts to perform authentication using given
AuthenticationToken. |
boolean |
CredentialsContainer.CredentialsMatcher.credentialsMatch(CredentialsContainer provided,
CredentialsContainer stored)
Check if provided credentials match the given stored credentials
|
Optional<AuthenticationToken> |
AuthenticationToken.AuthenticationTokenResolver.getAuthenticationToken(R request)
Parse given
request message and try to obtain an AuthenticationToken if request is
eligible for this resolver authentication mechanism. |
| Modifier and Type | Class and Description |
|---|---|
class |
DisabledAccountException
Exception for authentication failure: Account is disabled
|
class |
ExpiredCredentialsException
Exception for authentication failure: Credentials are expired
|
class |
InvalidCredentialsException
Exception for authentication failure: Credentials are not valid
|
class |
InvalidTokenException
Exception for authentication failure:
AuthenticationToken is not valid or malformed |
class |
LockedAccountException
Exception for authentication failure: Account is locked
|
class |
UnexpectedAuthenticationException
Exception for a generic authentication failure
|
class |
UnknownAccountException
Exception for authentication failure: Account not found
|
class |
UnsupportedMessageException
Exception for unsupported authentication messages
|
class |
UnsupportedTokenException
Exception for authentication failure:
AuthenticationToken type not supported by current Authenticator |
| Modifier and Type | Method and Description |
|---|---|
Authentication |
AccountAuthenticator.authenticate(AccountCredentialsToken authenticationToken) |
Authentication |
DefaultAuthContext.authenticate(AuthenticationToken authenticationToken) |
Authentication |
DefaultRealm.authenticate(AuthenticationToken authenticationToken) |
Authentication |
DefaultAuthContext.authenticate(Message<?,?> message,
String... schemes) |
Authentication |
DefaultRealm.authenticate(Message<?,?> message,
String... schemes) |
Authentication |
DefaultCallbackAuthenticator.authenticate(T authenticationToken) |
boolean |
DefaultCredentialsMatcher.credentialsMatch(CredentialsContainer provided,
CredentialsContainer stored) |
Optional<AuthenticationToken> |
BasicAuthenticationTokenResolver.getAuthenticationToken(HttpRequest request) |
Optional<AuthenticationToken> |
BearerAuthenticationTokenResolver.getAuthenticationToken(HttpRequest request) |
Optional<AuthenticationToken> |
CallbackAuthenticationTokenResolver.getAuthenticationToken(M request) |
| Modifier and Type | Method and Description |
|---|---|
Authentication.Builder |
JwtTokenParser.parseJwt(JwtConfiguration configuration,
String jwt)
Parse given JWT and obtain it as an
Authentication instance. |
| Modifier and Type | Method and Description |
|---|---|
Authentication |
DefaultJwtAuthenticator.authenticate(BearerAuthenticationToken authenticationToken) |
Authentication.Builder |
DefaultJwtTokenParser.parseJwt(JwtConfiguration configuration,
String jwt) |
| Modifier and Type | Method and Description |
|---|---|
Authentication |
AbstractAuthenticationManagerAuthenticator.authenticate(T authenticationToken) |
Copyright © 2019 The Holon Platform. All rights reserved.