Skip navigation links
A B C D E F G H I N O P R S T U 

A

Auth - Annotation Type in io.dropwizard.auth
 
AuthDynamicFeature - Class in io.dropwizard.auth
A DynamicFeature that registers the provided auth filter to resource methods annotated with the RolesAllowed, PermitAll and DenyAll annotations.
AuthDynamicFeature(ContainerRequestFilter) - Constructor for class io.dropwizard.auth.AuthDynamicFeature
 
authenticate(C) - Method in interface io.dropwizard.auth.Authenticator
Given a set of user-provided credentials, return an optional principal.
authenticate(C) - Method in class io.dropwizard.auth.CachingAuthenticator
 
AuthenticationException - Exception in io.dropwizard.auth
An exception thrown to indicate that an Authenticator is unable to check the validity of the given credentials.
AuthenticationException(String) - Constructor for exception io.dropwizard.auth.AuthenticationException
 
AuthenticationException(String, Throwable) - Constructor for exception io.dropwizard.auth.AuthenticationException
 
AuthenticationException(Throwable) - Constructor for exception io.dropwizard.auth.AuthenticationException
 
Authenticator<C,P extends Principal> - Interface in io.dropwizard.auth
An interface for classes which authenticate user-provided credentials and return principal objects.
authenticator - Variable in class io.dropwizard.auth.AuthFilter
 
AuthFilter<C,P extends Principal> - Class in io.dropwizard.auth
 
AuthFilter() - Constructor for class io.dropwizard.auth.AuthFilter
 
AuthFilter.AuthFilterBuilder<C,P extends Principal,T extends AuthFilter<C,P>> - Class in io.dropwizard.auth
Abstract builder for auth filters.
AuthFilterBuilder() - Constructor for class io.dropwizard.auth.AuthFilter.AuthFilterBuilder
 
authorize(P, String) - Method in interface io.dropwizard.auth.Authorizer
Decides if access is granted for the given principal in the given role.
authorize(P, String) - Method in class io.dropwizard.auth.PermitAllAuthorizer
 
authorizer - Variable in class io.dropwizard.auth.AuthFilter
 
Authorizer<P extends Principal> - Interface in io.dropwizard.auth
An interface for classes which authorize principal objects.
AuthValueFactoryProvider<T extends Principal> - Class in io.dropwizard.auth
Value factory provider supporting Principal injection by the Auth annotation.
AuthValueFactoryProvider(MultivaluedParameterExtractorProvider, ServiceLocator, AuthValueFactoryProvider.PrincipalClassProvider<T>) - Constructor for class io.dropwizard.auth.AuthValueFactoryProvider
Principal value factory provider injection constructor.
AuthValueFactoryProvider.Binder<T extends Principal> - Class in io.dropwizard.auth
Injection binder for AuthValueFactoryProvider and AuthInjectionResolver.

B

BasicCredentialAuthFilter<P extends Principal> - Class in io.dropwizard.auth.basic
 
BasicCredentialAuthFilter.Builder<P extends Principal> - Class in io.dropwizard.auth.basic
BasicCredentials - Class in io.dropwizard.auth.basic
A set of user-provided Basic Authentication credentials, consisting of a username and a password.
BasicCredentials(String, String) - Constructor for class io.dropwizard.auth.basic.BasicCredentials
Creates a new BasicCredentials with the given username and password.
Binder(Class<T>) - Constructor for class io.dropwizard.auth.AuthValueFactoryProvider.Binder
 
buildAuthFilter() - Method in class io.dropwizard.auth.AuthFilter.AuthFilterBuilder
Builds an instance of the filter with a provided authenticator, an authorizer, a prefix, and a realm.
Builder() - Constructor for class io.dropwizard.auth.basic.BasicCredentialAuthFilter.Builder
 
Builder() - Constructor for class io.dropwizard.auth.oauth.OAuthCredentialAuthFilter.Builder
 
buildResponse(String, String) - Method in class io.dropwizard.auth.DefaultUnauthorizedHandler
 
buildResponse(String, String) - Method in interface io.dropwizard.auth.UnauthorizedHandler
 

C

CachingAuthenticator<C,P extends Principal> - Class in io.dropwizard.auth
An Authenticator decorator which uses a Guava cache to temporarily cache credentials and their corresponding principals.
CachingAuthenticator(MetricRegistry, Authenticator<C, P>, CacheBuilderSpec) - Constructor for class io.dropwizard.auth.CachingAuthenticator
Creates a new cached authenticator.
CachingAuthenticator(MetricRegistry, Authenticator<C, P>, CacheBuilder<Object, Object>) - Constructor for class io.dropwizard.auth.CachingAuthenticator
Creates a new cached authenticator.
ChainedAuthFilter<C,P extends Principal> - Class in io.dropwizard.auth.chained
Chains together authFilters, short circuits when the first filter successfully authenticates N.B.
ChainedAuthFilter(List<AuthFilter>) - Constructor for class io.dropwizard.auth.chained.ChainedAuthFilter
 
configure(ResourceInfo, FeatureContext) - Method in class io.dropwizard.auth.AuthDynamicFeature
 
configure() - Method in class io.dropwizard.auth.AuthValueFactoryProvider.Binder
 
createValueFactory(Parameter) - Method in class io.dropwizard.auth.AuthValueFactoryProvider
Return a factory for the provided parameter.

D

DefaultUnauthorizedHandler - Class in io.dropwizard.auth
 
DefaultUnauthorizedHandler() - Constructor for class io.dropwizard.auth.DefaultUnauthorizedHandler
 

E

equals(Object) - Method in class io.dropwizard.auth.basic.BasicCredentials
 
equals(Object) - Method in class io.dropwizard.auth.PrincipalImpl
 

F

filter(ContainerRequestContext) - Method in class io.dropwizard.auth.basic.BasicCredentialAuthFilter
 
filter(ContainerRequestContext) - Method in class io.dropwizard.auth.chained.ChainedAuthFilter
 
filter(ContainerRequestContext) - Method in class io.dropwizard.auth.oauth.OAuthCredentialAuthFilter
 

G

getName() - Method in class io.dropwizard.auth.PrincipalImpl
 
getPassword() - Method in class io.dropwizard.auth.basic.BasicCredentials
Returns the credentials' password.
getUsername() - Method in class io.dropwizard.auth.basic.BasicCredentials
Returns the credentials' username.

H

hashCode() - Method in class io.dropwizard.auth.basic.BasicCredentials
 
hashCode() - Method in class io.dropwizard.auth.PrincipalImpl
 

I

invalidate(C) - Method in class io.dropwizard.auth.CachingAuthenticator
Discards any cached principal for the given credentials.
invalidateAll(Iterable<C>) - Method in class io.dropwizard.auth.CachingAuthenticator
Discards any cached principal for the given collection of credentials.
invalidateAll(Predicate<? super C>) - Method in class io.dropwizard.auth.CachingAuthenticator
Discards any cached principal for the collection of credentials satisfying the given predicate.
invalidateAll() - Method in class io.dropwizard.auth.CachingAuthenticator
Discards all cached principals.
io.dropwizard.auth - package io.dropwizard.auth
 
io.dropwizard.auth.basic - package io.dropwizard.auth.basic
 
io.dropwizard.auth.chained - package io.dropwizard.auth.chained
 
io.dropwizard.auth.oauth - package io.dropwizard.auth.oauth
 

N

newInstance() - Method in class io.dropwizard.auth.AuthFilter.AuthFilterBuilder
 
newInstance() - Method in class io.dropwizard.auth.basic.BasicCredentialAuthFilter.Builder
 
newInstance() - Method in class io.dropwizard.auth.oauth.OAuthCredentialAuthFilter.Builder
 

O

OAuthCredentialAuthFilter<P extends Principal> - Class in io.dropwizard.auth.oauth
 
OAuthCredentialAuthFilter.Builder<P extends Principal> - Class in io.dropwizard.auth.oauth

P

PermitAllAuthorizer<P extends Principal> - Class in io.dropwizard.auth
An Authorizer that grants access for any principal in any role.
PermitAllAuthorizer() - Constructor for class io.dropwizard.auth.PermitAllAuthorizer
 
prefix - Variable in class io.dropwizard.auth.AuthFilter
 
PrincipalImpl - Class in io.dropwizard.auth
 
PrincipalImpl(String) - Constructor for class io.dropwizard.auth.PrincipalImpl
 

R

realm - Variable in class io.dropwizard.auth.AuthFilter
 

S

setAuthenticator(Authenticator<C, P>) - Method in class io.dropwizard.auth.AuthFilter.AuthFilterBuilder
Sets the given authenticator
setAuthorizer(Authorizer<P>) - Method in class io.dropwizard.auth.AuthFilter.AuthFilterBuilder
Sets the given authorizer
setPrefix(String) - Method in class io.dropwizard.auth.AuthFilter.AuthFilterBuilder
Sets the given prefix
setRealm(String) - Method in class io.dropwizard.auth.AuthFilter.AuthFilterBuilder
Sets the given realm
setUnauthorizedHandler(UnauthorizedHandler) - Method in class io.dropwizard.auth.AuthFilter.AuthFilterBuilder
Sets the given unauthorized handler
size() - Method in class io.dropwizard.auth.CachingAuthenticator
Returns the number of cached principals.
stats() - Method in class io.dropwizard.auth.CachingAuthenticator
Returns a set of statistics about the cache contents and usage.

T

toString() - Method in class io.dropwizard.auth.basic.BasicCredentials
 

U

unauthorizedHandler - Variable in class io.dropwizard.auth.AuthFilter
 
UnauthorizedHandler - Interface in io.dropwizard.auth
 
A B C D E F G H I N O P R S T U 
Skip navigation links

Copyright © 2016. All rights reserved.