Enum Class AccessState

java.lang.Object
java.lang.Enum<AccessState>
ch.ivyteam.ivy.security.AccessState
All Implemented Interfaces:
Serializable, Comparable<AccessState>, java.lang.constant.Constable

public enum AccessState extends Enum<AccessState>
Since:
17.05.2006
API:
This is a public API.
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The security member has not a access denied.
    The security member has not a access.
    The security member has a access granted.
    The security member has a access granted.
    The security member has neither access granted nor denied.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Is the access state denied
    boolean
    Is the access state explicit
    boolean
    Is the access state granted
  • Enum Constant Details

    • NOT_GRANTED_OR_DENIED

      public static final AccessState NOT_GRANTED_OR_DENIED
      The security member has neither access granted nor denied.
      API:
      This public API is available in IvyScript and Java. It has the visibility EXPERT.
    • GRANTED

      public static final AccessState GRANTED
      The security member has a access granted. The access was not explicit granted to the security member but was granted to a role the security member is member of
      API:
      This public API is available in IvyScript and Java. It has the visibility EXPERT.
    • EXPLICIT_GRANTED

      public static final AccessState EXPLICIT_GRANTED
      The security member has a access granted. The access was explicit granted to the user or role
      API:
      This public API is available in IvyScript and Java. It has the visibility EXPERT.
    • DENIED

      public static final AccessState DENIED
      The security member has not a access denied. The access was not explicit denied to the user or the role but was denied to a role the user owns or to a parent role of the role
      API:
      This public API is available in IvyScript and Java. It has the visibility EXPERT.
    • EXPLICIT_DENIED

      public static final AccessState EXPLICIT_DENIED
      The security member has not a access. The access was explicit denied to the user or role
      API:
      This public API is available in IvyScript and Java. It has the visibility EXPERT.
  • Method Details

    • isGranted

      public boolean isGranted()
      Is the access state granted
      Returns:
      true if is granted or explicit granted, otherwise false
      API:
      This public API is available in IvyScript and Java. It has the visibility EXPERT.
    • isDenied

      public boolean isDenied()
      Is the access state denied
      Returns:
      true if is denied or explicit denied, otherwise false
      API:
      This public API is available in IvyScript and Java. It has the visibility EXPERT.
    • isExplicit

      public boolean isExplicit()
      Is the access state explicit
      Returns:
      true if it is explicit
      API:
      This public API is available in IvyScript and Java. It has the visibility EXPERT.