public interface ServiceUsingPermission
Modifier and Type | Method and Description |
---|---|
boolean |
checkPermission(String method)
Checks if the current user is allowed to execute the provided method
|
boolean checkPermission(String method) throws SecurityException
method
- method nameSecurityException
- if the user is not allowed to execute this method