Package io.dropwizard.auth
package io.dropwizard.auth
-
ClassDescriptionA
DynamicFeaturethat registers the provided auth filter to resource methods annotated with theRolesAllowed,PermitAllandDenyAllannotations.An exception thrown to indicate that anAuthenticatoris unable to check the validity of the given credentials.Authenticator<C,P extends Principal> An interface for classes which authenticate user-provided credentials and return principal objects.AuthFilter<C,P extends Principal> AuthFilter.AuthFilterBuilder<C,P extends Principal, T extends AuthFilter<C, P>> Abstract builder for auth filters.AuthorizationContext<P extends Principal>Authorizer<P extends Principal>An interface for classes which authorize principal objects.AuthValueFactoryProvider<T extends Principal>AuthValueFactoryProvider.Binder<T extends Principal>Injection binder forAuthValueFactoryProvider.CachingAuthenticator<C,P extends Principal> AnAuthenticatordecorator which uses a Caffeine cache to temporarily cache credentials and their corresponding principals.CachingAuthorizer<P extends Principal>AnAuthorizerdecorator which uses aCaffeinecache to temporarily cache principals' role associations.DefaultAuthorizationContext<P extends Principal>The default implementation ofAuthorizationContext, which uses aPrincipal, a role and aContainerRequestContextto temporarily cache principals' role associations.PermitAllAuthorizer<P extends Principal>AnAuthorizerthat grants access for any principal in any role.PolymorphicAuthDynamicFeature<T extends Principal>ADynamicFeaturethat registers the provided auth filters to resource methods annotated with theAuthaccording to the type of the annotated method parameter.PolymorphicAuthValueFactoryProvider<T extends Principal>Injection binder forPolymorphicAuthValueFactoryProvider.