P - the type of principalspublic interface Authorizer<P extends Principal>
| Modifier and Type | Method and Description |
|---|---|
boolean |
authorize(P principal,
String role)
Decides if access is granted for the given principal in the given role.
|
Copyright © 2017. All rights reserved.