Package com.io7m.idstore.server.security

# Class IdSecPolicyDenyAll

java.lang.Object
com.io7m.idstore.server.security.IdSecPolicyDenyAll

All Implemented Interfaces:
  `IdSecPolicyType`

public final class IdSecPolicyDenyAll extends Object implements IdSecPolicyType
A security policy that denies all actions.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `IdSecPolicyResultType`
  `check(IdSecActionType action)`
  Check that a user is allowed to perform an action by the current policy.
  `static IdSecPolicyType`
  `get()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### get

    public static IdSecPolicyType get()
    Returns:
      A reference to this policy

  - ### check

    public IdSecPolicyResultType check(IdSecActionType action)
    Description copied from interface: `IdSecPolicyType`
    Check that a user is allowed to perform an action by the current policy.
    Specified by:
      `check` in interface `IdSecPolicyType`
    Parameters:
      `action` - The action
    Returns:
      A value indicating if the action is permitted