Class ACITuple
- java.lang.Object
-
- org.apache.directory.api.ldap.aci.ACITuple
-
public class ACITuple extends Object
A flatten entity which is converted from anACIItem. The tuples are accepted by ACDF (Access Control Decision Function, 18.8, X.501)- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description ACITuple(Collection<UserClass> userClasses, AuthenticationLevel authenticationLevel, Collection<ProtectedItem> protectedItems, Collection<MicroOperation> microOperations, boolean grant, Integer precedence)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationLevelgetAuthenticationLevel()Gets the level of authentication required.Collection<MicroOperation>getMicroOperations()Gets the collection ofMicroOperations this tuple relates.IntegergetPrecedence()Gets the precedence of this tuple (0-255).Collection<ProtectedItem>getProtectedItems()Gets the collection ofProtectedItems this tuple relates.Collection<UserClass>getUserClasses()Gets the collection ofUserClasses this tuple relates to.booleanisGrant()Gets true if and only if this tuple grants an access.StringtoString()
-
-
-
Constructor Detail
-
ACITuple
public ACITuple(Collection<UserClass> userClasses, AuthenticationLevel authenticationLevel, Collection<ProtectedItem> protectedItems, Collection<MicroOperation> microOperations, boolean grant, Integer precedence)
Creates a new instance.- Parameters:
userClasses- the collection ofUserClasses this tuple relates toauthenticationLevel- the level of authentication requiredprotectedItems- the collection ofProtectedItems this tuple relatesmicroOperations- the collection ofMicroOperations this tuple relatesgrant- true if and only if this tuple grants an accessprecedence- the precedence of this tuple (0-255)
-
-
Method Detail
-
getUserClasses
public Collection<UserClass> getUserClasses()
Gets the collection ofUserClasses this tuple relates to.- Returns:
- the collection of
UserClasses
-
getAuthenticationLevel
public AuthenticationLevel getAuthenticationLevel()
Gets the level of authentication required.- Returns:
- the authentication level
-
getProtectedItems
public Collection<ProtectedItem> getProtectedItems()
Gets the collection ofProtectedItems this tuple relates.- Returns:
- the collection of
ProtectedItems
-
getMicroOperations
public Collection<MicroOperation> getMicroOperations()
Gets the collection ofMicroOperations this tuple relates.- Returns:
- the collection of
MicroOperations
-
isGrant
public boolean isGrant()
Gets true if and only if this tuple grants an access.- Returns:
- true if and only if this tuple grants an access
-
getPrecedence
public Integer getPrecedence()
Gets the precedence of this tuple (0-255).- Returns:
- the precedence
-
-