public interface AuthorizationInterceptor extends ServiceInterceptor
Modifier and Type | Method and Description |
---|---|
AuthorizationInterceptor |
addAuthorization(Authorization authorization)
Add a single authority to the authorities set.
|
static AuthorizationInterceptor |
create(AuthorizationProvider authorizationProvider) |
AuthorizationInterceptor |
setAuthorizations(Set<Authorization> authorizations)
Set the required authorities for the service, once a JWT is validated it will be
queried for these authorities.
|
intercept
static AuthorizationInterceptor create(AuthorizationProvider authorizationProvider)
AuthorizationInterceptor setAuthorizations(Set<Authorization> authorizations)
authorizations
- set of authoritiesAuthorizationInterceptor addAuthorization(Authorization authorization)
authorization
- authorityCopyright © 2023 Eclipse. All rights reserved.