public interface PermissionChecker
Modifier and Type | Method and Description |
---|---|
boolean |
checkPermission(Credentials cred,
String username)
Checks that client has the specified permission.
|
boolean checkPermission(Credentials cred, String username)
cred
- SecurityException
otherwise with specified error message