Interface | Description |
---|---|
Authenticator<C,P extends Principal> |
An interface for classes which authenticate user-provided credentials and return principal
objects.
|
Authorizer<P extends Principal> |
An interface for classes which authorize principal objects.
|
UnauthorizedHandler |
Class | Description |
---|---|
AuthDynamicFeature |
A
DynamicFeature that registers the provided auth filter
to resource methods annotated with the RolesAllowed , PermitAll
and DenyAll annotations. |
AuthFilter<C,P extends Principal> | |
AuthFilter.AuthFilterBuilder<C,P extends Principal,T extends AuthFilter<C,P>> |
Abstract builder for auth filters.
|
AuthValueFactoryProvider<T extends Principal> | |
AuthValueFactoryProvider.Binder<T extends Principal> |
Injection binder for
AuthValueFactoryProvider . |
CachingAuthenticator<C,P extends Principal> |
An
Authenticator decorator which uses a Caffeine cache to temporarily
cache credentials and their corresponding principals. |
CachingAuthorizer<P extends Principal> |
An
Authorizer decorator which uses a Caffeine cache to
temporarily cache principals' role associations. |
DefaultUnauthorizedHandler | |
JSONUnauthorizedHandler | |
PermitAllAuthorizer<P extends Principal> |
An
Authorizer that grants access for any principal in any role. |
PolymorphicAuthDynamicFeature<T extends Principal> |
A
DynamicFeature that registers the provided auth filters
to resource methods annotated with the Auth according to
the type of the annotated method parameter. |
PolymorphicAuthValueFactoryProvider<T extends Principal> | |
PolymorphicAuthValueFactoryProvider.Binder<T extends Principal> |
Injection binder for
PolymorphicAuthValueFactoryProvider . |
PolymorphicAuthValueFactoryProvider.PrincipalClassSetProvider<T extends Principal> | |
PrincipalImpl |
Exception | Description |
---|---|
AuthenticationException |
An exception thrown to indicate that an
Authenticator is unable to check the
validity of the given credentials. |
Annotation Type | Description |
---|---|
Auth |
Copyright © 2021. All rights reserved.