public abstract class ACIItem
extends java.lang.Object
ItemFirstACIItem and UserFirstACIItem as specified X.501
specification.| Modifier and Type | Field and Description |
|---|---|
private AuthenticationLevel |
authenticationLevel
The authentication level.
|
private java.lang.String |
identificationTag
The ACIItemComponet identifier
|
private int |
precedence
The precedence : a number in [0 - 255]
|
| Modifier | Constructor and Description |
|---|---|
protected |
ACIItem(java.lang.String identificationTag,
int precedence,
AuthenticationLevel authenticationLevel)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
AuthenticationLevel |
getAuthenticationLevel()
Gets the level of authentication required to this item.
|
java.lang.String |
getIdentificationTag()
Gets the id string of this item.
|
int |
getPrecedence()
Gets the precedence of this item.
|
protected static java.util.Collection<MicroOperation> |
toMicroOperations(java.util.Collection<GrantAndDenial> grantsAndDenials)
Converts a collection of
GrantAndDenials into a collection of MicroOperations. |
java.lang.String |
toString() |
abstract java.util.Collection<ACITuple> |
toTuples()
Converts this item into a collection of
ACITuples. |
private java.lang.String identificationTag
private int precedence
private AuthenticationLevel authenticationLevel
protected ACIItem(java.lang.String identificationTag,
int precedence,
AuthenticationLevel authenticationLevel)
identificationTag - the id string of this itemprecedence - the precedence of this itemauthenticationLevel - the level of authentication required to this itempublic java.lang.String getIdentificationTag()
public int getPrecedence()
public AuthenticationLevel getAuthenticationLevel()
public abstract java.util.Collection<ACITuple> toTuples()
ACITuples.ACITupleprotected static java.util.Collection<MicroOperation> toMicroOperations(java.util.Collection<GrantAndDenial> grantsAndDenials)
GrantAndDenials into a collection of MicroOperations.grantsAndDenials - the grants and denialsMicroOperationspublic java.lang.String toString()
toString in class java.lang.Object