Interface AllowableActions

All Superinterfaces:
Iterable<AllowableAction>
All Known Implementing Classes:
AllowableActionSet, AuthorityMatchingAllowableActions, AuthorityMatchingAllowableActions.AuthenticationAuthorityMatchingAllowableActions, AuthorityMatchingAllowableActions.CollectionAuthorityMatchingAllowableActions, AuthorityMatchingAllowableActions.SecurityPrincipalAuthorityMatchingAllowableActions

public interface AllowableActions extends Iterable<AllowableAction>
Represents an entire set of AllowableActions that can be performed on an item. An implementation is usually a contextual, possibly stateful object depending on the current security principal and the item being worked on.
Author:
Arne Vandamme
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if a certain action is allowed by verifying it is present in the collection.

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator
  • Method Details

    • contains

      boolean contains(AllowableAction action)
      Checks if a certain action is allowed by verifying it is present in the collection.
      Parameters:
      action - that should be checked
      Returns:
      true if the action is allowed