# Interface IdSecPolicyType

All Known Implementing Classes:
  `IdSecPolicyDefault, IdSecPolicyDenyAll, IdSecPolicyPermitAll`

public interface IdSecPolicyType
A security policy.

- ## 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.

- ## Method Details

  - ### check

    IdSecPolicyResultType check(IdSecActionType action) throws IdSecurityException
    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