Package pl.edu.icm.unity.engine.api
Interface AuthorizationManagement
-
public interface AuthorizationManagement
API for authorization management.- Author:
- P.Piernik
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkReadCapability(boolean selfAccess, String group)
boolean
hasAdminAccess()
Checks if caller has admin access
-
-
-
Method Detail
-
hasAdminAccess
boolean hasAdminAccess() throws AuthorizationException
Checks if caller has admin access- Returns:
- Throws:
AuthorizationException
-
checkReadCapability
void checkReadCapability(boolean selfAccess, String group) throws AuthorizationException
- Throws:
AuthorizationException
-
-