|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
interface AuthorizationService
Method Summary | |
---|---|
void
|
checkRole(java.lang.String role, java.lang.String message, java.security.Permission permission)
Make sure that the current executing principal has the provided role |
java.lang.String
|
getExecutingPrincipal()
@return the executing principal (who is executing the code) |
Method Detail |
---|
void checkRole(java.lang.String role, java.lang.String message, java.security.Permission permission)
message
- the (optional) message to provide to the exceptionpermission
- the (optional) permission to provide to the exception
java.lang.String getExecutingPrincipal()
Groovy Documentation