public abstract class ACIItem extends Object
ItemFirstACIItem and UserFirstACIItem as specified X.501
specification.| Modifier and Type | Field and Description |
|---|---|
private org.apache.directory.api.ldap.model.constants.AuthenticationLevel |
authenticationLevel
The authentication level.
|
private String |
identificationTag
The ACIItemComponet identifier
|
private int |
precedence
The precedence : a number in [0 - 255]
|
| Modifier | Constructor and Description |
|---|---|
protected |
ACIItem(String identificationTag,
int precedence,
org.apache.directory.api.ldap.model.constants.AuthenticationLevel authenticationLevel)
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 to this item.
|
String |
getIdentificationTag()
Gets the id string of this item.
|
int |
getPrecedence()
Gets the precedence of this item.
|
protected static Collection<MicroOperation> |
toMicroOperations(Collection<GrantAndDenial> grantsAndDenials)
Converts a collection of
GrantAndDenials into a collection of MicroOperations. |
String |
toString() |
abstract Collection<ACITuple> |
toTuples()
Converts this item into a collection of
ACITuples. |
private String identificationTag
private int precedence
private org.apache.directory.api.ldap.model.constants.AuthenticationLevel authenticationLevel
protected ACIItem(String identificationTag, int precedence, org.apache.directory.api.ldap.model.constants.AuthenticationLevel authenticationLevel)
identificationTag - the id string of this itemprecedence - the precedence of this itemauthenticationLevel - the level of authentication required to this itempublic String getIdentificationTag()
public int getPrecedence()
public org.apache.directory.api.ldap.model.constants.AuthenticationLevel getAuthenticationLevel()
public abstract Collection<ACITuple> toTuples()
ACITuples.ACITupleprotected static Collection<MicroOperation> toMicroOperations(Collection<GrantAndDenial> grantsAndDenials)
GrantAndDenials into a collection of MicroOperations.grantsAndDenials - the grants and denialsMicroOperationsCopyright © 2003–2021 The Apache Software Foundation. All rights reserved.