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

A

addChainedProvider(AuthFactory<?, T>) - Method in class io.dropwizard.auth.ChainedAuthFactory
Add an auth provider into the chain.
Auth - Annotation Type in io.dropwizard.auth
This annotation is used to inject authenticated principal objects into protected JAX-RS resource methods.
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> - Interface in io.dropwizard.auth
An interface for classes which authenticate user-provided credentials and return principal objects.
authenticator() - Method in class io.dropwizard.auth.AuthFactory
 
authenticator() - Method in class io.dropwizard.auth.ChainedAuthFactory
 
AuthFactory<C,P> - Class in io.dropwizard.auth
 
AuthFactory(Authenticator<C, P>) - Constructor for class io.dropwizard.auth.AuthFactory
 

B

BasicAuthFactory<T> - Class in io.dropwizard.auth.basic
A Jersey provider for Basic HTTP authentication.
BasicAuthFactory(Authenticator<BasicCredentials, T>, String, Class<T>) - Constructor for class io.dropwizard.auth.basic.BasicAuthFactory
 
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(AuthFactory<T, U>) - Static method in class io.dropwizard.auth.AuthFactory
 
buildResponse(String, String) - Method in class io.dropwizard.auth.DefaultUnauthorizedHandler
 
buildResponse(String, String) - Method in interface io.dropwizard.auth.UnauthorizedHandler
 

C

CachingAuthenticator<C,P> - 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.
ChainedAuthFactory<T> - Class in io.dropwizard.auth
A Jersey provider that chains various authentication providers like OAuthFactory and BasicAuthFactory.
ChainedAuthFactory() - Constructor for class io.dropwizard.auth.ChainedAuthFactory
 
ChainedAuthFactory(AuthFactory<?, T>...) - Constructor for class io.dropwizard.auth.ChainedAuthFactory
 
ChainedAuthFactory(List<AuthFactory<?, T>>) - Constructor for class io.dropwizard.auth.ChainedAuthFactory
 
clone(boolean) - Method in class io.dropwizard.auth.AuthFactory
 
clone(boolean) - Method in class io.dropwizard.auth.basic.BasicAuthFactory
 
clone(boolean) - Method in class io.dropwizard.auth.ChainedAuthFactory
 
clone(boolean) - Method in class io.dropwizard.auth.oauth.OAuthFactory
 

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
 

G

getGeneratedClass() - Method in class io.dropwizard.auth.AuthFactory
 
getGeneratedClass() - Method in class io.dropwizard.auth.basic.BasicAuthFactory
 
getGeneratedClass() - Method in class io.dropwizard.auth.ChainedAuthFactory
 
getGeneratedClass() - Method in class io.dropwizard.auth.oauth.OAuthFactory
 
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
 

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.oauth - package io.dropwizard.auth.oauth
 

O

OAuthFactory<T> - Class in io.dropwizard.auth.oauth
A Jersey provider for OAuth2 bearer tokens.
OAuthFactory(Authenticator<String, T>, String, Class<T>) - Constructor for class io.dropwizard.auth.oauth.OAuthFactory
 

P

prefix(String) - Method in class io.dropwizard.auth.basic.BasicAuthFactory
 
prefix(String) - Method in class io.dropwizard.auth.oauth.OAuthFactory
 
provide() - Method in class io.dropwizard.auth.basic.BasicAuthFactory
 
provide() - Method in class io.dropwizard.auth.ChainedAuthFactory
 
provide() - Method in class io.dropwizard.auth.oauth.OAuthFactory
 

R

removeChainedProvider(AuthFactory<?, T>) - Method in class io.dropwizard.auth.ChainedAuthFactory
Removes an auth provider from the chain.
responseBuilder(UnauthorizedHandler) - Method in class io.dropwizard.auth.basic.BasicAuthFactory
 
responseBuilder(UnauthorizedHandler) - Method in class io.dropwizard.auth.oauth.OAuthFactory
 

S

setRequest(HttpServletRequest) - Method in class io.dropwizard.auth.AuthFactory
 
setRequest(HttpServletRequest) - Method in class io.dropwizard.auth.basic.BasicAuthFactory
 
setRequest(HttpServletRequest) - Method in class io.dropwizard.auth.ChainedAuthFactory
 
setRequest(HttpServletRequest) - Method in class io.dropwizard.auth.oauth.OAuthFactory
 
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 - Interface in io.dropwizard.auth
 
A B C D E G H I O P R S T U 
Skip navigation links

Copyright © 2015. All rights reserved.