Class SecurityEvaluator.Util

  • Enclosing interface:
    SecurityEvaluator

    public static class SecurityEvaluator.Util
    extends java.lang.Object
    A collection of utility functions for the SecurityEvaluator implementations.
    • Constructor Detail

      • Util

        public Util()
    • Method Detail

      • asSet

        public static java.util.Set<SecurityEvaluator.Action> asSet​(SecurityEvaluator.Action[] actions)
        Return an array of actions as a set.

        The order of the collection is preserved

        Parameters:
        actions - The actions.
        Returns:
        The set of actions.
      • asSet

        public static java.util.Set<SecurityEvaluator.Action> asSet​(java.util.Collection<SecurityEvaluator.Action> actions)
        Return a collection of actions as a set.

        The order of the collection is preserved

        Parameters:
        actions - The collection of actions.
        Returns:
        The set of actions.