Package io.dropwizard.auth
-
Interface Summary 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 Summary Class Description AuthDynamicFeature ADynamicFeature
that registers the provided auth filter to resource methods annotated with theRolesAllowed
,PermitAll
andDenyAll
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 forAuthValueFactoryProvider
.CachingAuthenticator<C,P extends Principal> AnAuthenticator
decorator which uses a Caffeine cache to temporarily cache credentials and their corresponding principals.CachingAuthorizer<P extends Principal> AnAuthorizer
decorator which uses aCaffeine
cache to temporarily cache principals' role associations.DefaultUnauthorizedHandler JSONUnauthorizedHandler PermitAllAuthorizer<P extends Principal> AnAuthorizer
that grants access for any principal in any role.PolymorphicAuthDynamicFeature<T extends Principal> ADynamicFeature
that registers the provided auth filters to resource methods annotated with theAuth
according to the type of the annotated method parameter.PolymorphicAuthValueFactoryProvider<T extends Principal> PolymorphicAuthValueFactoryProvider.Binder<T extends Principal> Injection binder forPolymorphicAuthValueFactoryProvider
.PolymorphicAuthValueFactoryProvider.PrincipalClassSetProvider<T extends Principal> PrincipalImpl -
Exception Summary Exception Description AuthenticationException An exception thrown to indicate that anAuthenticator
is unable to check the validity of the given credentials. -
Annotation Types Summary Annotation Type Description Auth