@Singleton public class RoleAuthorizer extends Object implements io.dropwizard.auth.Authorizer<ServiceUserPrincipal>
| Constructor and Description |
|---|
RoleAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authorize(ServiceUserPrincipal userPrincipal,
String role) |
public boolean authorize(ServiceUserPrincipal userPrincipal, String role)
authorize in interface io.dropwizard.auth.Authorizer<ServiceUserPrincipal>Copyright © 2020. All rights reserved.