Class PrivilegeCheckResult

java.lang.Object
org.gridgain.internal.rbac.privileges.PrivilegeCheckResult

public final class PrivilegeCheckResult extends Object
Container for privilege check result.
  • Method Details

    • allowed

      public static PrivilegeCheckResult allowed()
      Creates a result that represents "Has all tested privileges".
    • denied

      public static PrivilegeCheckResult denied(Set<Privilege> negativePrivileges)
      Creates a result that represents "Some of tested privileges are missing".
    • missedPrivileges

      public Set<Privilege> missedPrivileges()
    • isAllowed

      public boolean isAllowed()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object