Package | Description |
---|---|
io.dropwizard.auth |
Modifier and Type | Class and Description |
---|---|
class |
CachingAuthenticator<C,P extends Principal>
An
Authenticator decorator which uses a Caffeine cache to temporarily
cache credentials and their corresponding principals. |
Modifier and Type | Field and Description |
---|---|
protected Authenticator<C,P> |
AuthFilter.authenticator |
Modifier and Type | Method and Description |
---|---|
AuthFilter.AuthFilterBuilder<C,P,T> |
AuthFilter.AuthFilterBuilder.setAuthenticator(Authenticator<C,P> authenticator)
Sets the given authenticator
|
Constructor and Description |
---|
CachingAuthenticator(com.codahale.metrics.MetricRegistry metricRegistry,
Authenticator<C,P> authenticator,
com.github.benmanes.caffeine.cache.Caffeine<Object,Object> builder)
Creates a new cached authenticator.
|
CachingAuthenticator(com.codahale.metrics.MetricRegistry metricRegistry,
Authenticator<C,P> authenticator,
com.github.benmanes.caffeine.cache.CaffeineSpec cacheSpec)
Creates a new cached authenticator.
|
Copyright © 2019. All rights reserved.