Package ch.ivyteam.ivy.security
Enum AccessState
- java.lang.Object
-
- java.lang.Enum<AccessState>
-
- ch.ivyteam.ivy.security.AccessState
-
- All Implemented Interfaces:
Serializable,Comparable<AccessState>
public enum AccessState extends Enum<AccessState>
- Since:
- 17.05.2006
- API:
- This is a public API.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DENIEDThe security member has not a access denied.EXPLICIT_DENIEDThe security member has not a access.EXPLICIT_GRANTEDThe security member has a access granted.GRANTEDThe security member has a access granted.NOT_GRANTED_OR_DENIEDThe security member has neither access granted nor denied.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisDenied()Is the access state deniedbooleanisExplicit()Is the access state explicitbooleanisGranted()Is the access state granted
-
-
-
Enum Constant Detail
-
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 Detail
-
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.
-
-