public class ACITuple extends Object
ACIItem. The tuples are
accepted by ACDF (Access Control Decision Function, 18.8, X.501)| Modifier and Type | Field and Description |
|---|---|
private org.apache.directory.api.ldap.model.constants.AuthenticationLevel |
authenticationLevel
The level of authentication required
|
private boolean |
grant
Tells if this tuple grant some access
|
private Set<MicroOperation> |
microOperations
The set of
MicroOperations this tuple relates |
private Integer |
precedence
The precedence for this tuple
|
private Collection<ProtectedItem> |
protectedItems
The collection of
ProtectedItems this tuple relates |
private Collection<UserClass> |
userClasses
The collection of
UserClasses this tuple relates to |
| Constructor and Description |
|---|
ACITuple(Collection<UserClass> userClasses,
org.apache.directory.api.ldap.model.constants.AuthenticationLevel authenticationLevel,
Collection<ProtectedItem> protectedItems,
Collection<MicroOperation> microOperations,
boolean grant,
Integer precedence)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.directory.api.ldap.model.constants.AuthenticationLevel |
getAuthenticationLevel()
Gets the level of authentication required.
|
Collection<MicroOperation> |
getMicroOperations()
Gets the collection of
MicroOperations this tuple relates. |
Integer |
getPrecedence()
Gets the precedence of this tuple (0-255).
|
Collection<ProtectedItem> |
getProtectedItems()
Gets the collection of
ProtectedItems this tuple relates. |
Collection<UserClass> |
getUserClasses()
Gets the collection of
UserClasses this tuple relates to. |
boolean |
isGrant()
Gets true if and only if this tuple grants an access.
|
String |
toString() |
private final Collection<UserClass> userClasses
UserClasses this tuple relates toprivate final org.apache.directory.api.ldap.model.constants.AuthenticationLevel authenticationLevel
private final Collection<ProtectedItem> protectedItems
ProtectedItems this tuple relatesprivate final Set<MicroOperation> microOperations
MicroOperations this tuple relatesprivate final boolean grant
private final Integer precedence
public ACITuple(Collection<UserClass> userClasses, org.apache.directory.api.ldap.model.constants.AuthenticationLevel authenticationLevel, Collection<ProtectedItem> protectedItems, Collection<MicroOperation> microOperations, boolean grant, Integer precedence)
userClasses - the collection of UserClasses this tuple relates toauthenticationLevel - the level of authentication requiredprotectedItems - the collection of ProtectedItems this tuple relatesmicroOperations - the collection of MicroOperations this tuple relatesgrant - true if and only if this tuple grants an accessprecedence - the precedence of this tuple (0-255)public Collection<UserClass> getUserClasses()
UserClasses this tuple relates to.UserClassespublic org.apache.directory.api.ldap.model.constants.AuthenticationLevel getAuthenticationLevel()
public Collection<ProtectedItem> getProtectedItems()
ProtectedItems this tuple relates.ProtectedItemspublic Collection<MicroOperation> getMicroOperations()
MicroOperations this tuple relates.MicroOperationspublic boolean isGrant()
public Integer getPrecedence()
Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.