public static interface AuthBundle.AuthorizationBuilder<C extends io.dropwizard.Configuration>
| Modifier and Type | Method and Description |
|---|---|
AuthBundle.AuthBuilder<C> |
withAnnotatedAuthorization()
Configures the bundle to require valid tokens for all endpoints that are annotated with
@PermitAll. |
AuthBundle.AuthBuilder<C> |
withExternalAuthorization()
Configures the bundle to validate tokens but also permit requests without Authorization
header.
|
AuthBundle.AuthBuilder<C> withAnnotatedAuthorization()
@PermitAll.AuthBundle.AuthBuilder<C> withExternalAuthorization()
OpaBundle.