Package ch.ivyteam.ivy.security
Enum Class AccessState
- All Implemented Interfaces:
Serializable
,Comparable<AccessState>
,java.lang.constant.Constable
- Since:
- 17.05.2006
- API:
- This is a public API.
-
Enum Constant Summary
Enum ConstantDescriptionThe 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 TypeMethodDescriptionboolean
isDenied()
Is the access state deniedboolean
Is the access state explicitboolean
Is the access state granted
-
Enum Constant Details
-
NOT_GRANTED_OR_DENIED
The security member has neither access granted nor denied.- API:
- This public API is available in Java.
-
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 Java.
-
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 Java.
-
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 Java.
-
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 Java.
-
-
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 Java.
-
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 Java.
-
isExplicit
public boolean isExplicit()Is the access state explicit- Returns:
- true if it is explicit
- API:
- This public API is available in Java.
-