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 AuthenticationLevel
getAuthenticationLevel()
Gets the level of authentication required.Collection<MicroOperation>
getMicroOperations()
Gets the collection ofMicroOperation
s this tuple relates.Integer
getPrecedence()
Gets the precedence of this tuple (0-255).Collection<ProtectedItem>
getProtectedItems()
Gets the collection ofProtectedItem
s this tuple relates.Collection<UserClass>
getUserClasses()
Gets the collection ofUserClass
es this tuple relates to.boolean
isGrant()
Gets true if and only if this tuple grants an access.String
toString()
-
-
-
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 ofUserClass
es this tuple relates toauthenticationLevel
- the level of authentication requiredprotectedItems
- the collection ofProtectedItem
s this tuple relatesmicroOperations
- the collection ofMicroOperation
s 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 ofUserClass
es this tuple relates to.- Returns:
- the collection of
UserClass
es
-
getAuthenticationLevel
public AuthenticationLevel getAuthenticationLevel()
Gets the level of authentication required.- Returns:
- the authentication level
-
getProtectedItems
public Collection<ProtectedItem> getProtectedItems()
Gets the collection ofProtectedItem
s this tuple relates.- Returns:
- the collection of
ProtectedItem
s
-
getMicroOperations
public Collection<MicroOperation> getMicroOperations()
Gets the collection ofMicroOperation
s this tuple relates.- Returns:
- the collection of
MicroOperation
s
-
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
-
-