Package com.io7m.idstore.server.security
Class IdSecPolicyDenyAll
java.lang.Object
com.io7m.idstore.server.security.IdSecPolicyDenyAll
- All Implemented Interfaces:
IdSecPolicyType
A security policy that denies all actions.
-
Method Summary
Modifier and TypeMethodDescriptioncheck
(IdSecActionType action) Check that a user is allowed to perform an action by the current policy.static IdSecPolicyType
get()
-
Method Details
-
get
- Returns:
- A reference to this policy
-
check
Description copied from interface:IdSecPolicyType
Check that a user is allowed to perform an action by the current policy.- Specified by:
check
in interfaceIdSecPolicyType
- Parameters:
action
- The action- Returns:
- A value indicating if the action is permitted
-