# Class IdSecPolicyPermitAll

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

All Implemented Interfaces:
  `IdSecPolicyType`

public final class IdSecPolicyPermitAll extends Object implements IdSecPolicyType
A security policy that permits 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 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