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 ADynamicFeaturethat registers the provided auth filter to resource methods annotated with theRolesAllowed,PermitAllandDenyAllannotations.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> 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.DefaultUnauthorizedHandler JSONUnauthorizedHandler 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> 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 anAuthenticatoris unable to check the validity of the given credentials. -
Annotation Types Summary Annotation Type Description Auth