Package | Description |
---|---|
com.example.helloworld.auth | |
io.dropwizard.auth |
Modifier and Type | Class and Description |
---|---|
class |
ExampleAuthorizer |
Modifier and Type | Class and Description |
---|---|
class |
CachingAuthorizer<P extends Principal>
An
Authorizer decorator which uses a Caffeine cache to
temporarily cache principals' role associations. |
class |
PermitAllAuthorizer<P extends Principal>
An
Authorizer that grants access for any principal in any role. |
Modifier and Type | Field and Description |
---|---|
protected Authorizer<P> |
AuthFilter.authorizer |
Modifier and Type | Method and Description |
---|---|
AuthFilter.AuthFilterBuilder<C,P,T> |
AuthFilter.AuthFilterBuilder.setAuthorizer(Authorizer<P> authorizer)
Sets the given authorizer
|
Constructor and Description |
---|
CachingAuthorizer(com.codahale.metrics.MetricRegistry metricRegistry,
Authorizer<P> authorizer,
com.github.benmanes.caffeine.cache.Caffeine<Object,Object> builder)
Creates a new cached authorizer.
|
CachingAuthorizer(com.codahale.metrics.MetricRegistry metricRegistry,
Authorizer<P> authorizer,
com.github.benmanes.caffeine.cache.Caffeine<Object,Object> builder,
Supplier<com.github.benmanes.caffeine.cache.stats.StatsCounter> supplier)
Creates a new cached authorizer.
|
CachingAuthorizer(com.codahale.metrics.MetricRegistry metricRegistry,
Authorizer<P> authorizer,
com.github.benmanes.caffeine.cache.CaffeineSpec cacheSpec)
Creates a new cached authorizer.
|
Copyright © 2011. All rights reserved.