Package com.io7m.idstore.server.security
Interface IdSecPolicyType
- All Known Implementing Classes:
IdSecPolicyDefault
,IdSecPolicyDenyAll
,IdSecPolicyPermitAll
public interface IdSecPolicyType
A security policy.
-
Method Summary
Modifier and TypeMethodDescriptioncheck
(IdSecActionType action) Check that a user is allowed to perform an action by the current policy.
-
Method Details
-
check
Check that a user is allowed to perform an action by the current policy.- Parameters:
action
- The action- Returns:
- A value indicating if the action is permitted
- Throws:
IdSecurityException
- On evaluation errors
-