public class ACITuple
extends java.lang.Object
ACIItem. The tuples are
accepted by ACDF (Access Control Decision Function, 18.8, X.501)| Modifier and Type | Field and Description |
|---|---|
private AuthenticationLevel |
authenticationLevel
The level of authentication required
|
private boolean |
grant
Tells if this tuple grant some access
|
private java.util.Set<MicroOperation> |
microOperations
The set of
MicroOperations this tuple relates |
private java.lang.Integer |
precedence
The precedence for this tuple
|
private java.util.Collection<ProtectedItem> |
protectedItems
The collection of
ProtectedItems this tuple relates |
private java.util.Collection<UserClass> |
userClasses
The collection of
UserClasses this tuple relates to |
| Constructor and Description |
|---|
ACITuple(java.util.Collection<UserClass> userClasses,
AuthenticationLevel authenticationLevel,
java.util.Collection<ProtectedItem> protectedItems,
java.util.Collection<MicroOperation> microOperations,
boolean grant,
java.lang.Integer precedence)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
AuthenticationLevel |
getAuthenticationLevel()
Gets the level of authentication required.
|
java.util.Collection<MicroOperation> |
getMicroOperations()
Gets the collection of
MicroOperations this tuple relates. |
java.lang.Integer |
getPrecedence()
Gets the precedence of this tuple (0-255).
|
java.util.Collection<ProtectedItem> |
getProtectedItems()
Gets the collection of
ProtectedItems this tuple relates. |
java.util.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.
|
java.lang.String |
toString() |
private final java.util.Collection<UserClass> userClasses
UserClasses this tuple relates toprivate final AuthenticationLevel authenticationLevel
private final java.util.Collection<ProtectedItem> protectedItems
ProtectedItems this tuple relatesprivate final java.util.Set<MicroOperation> microOperations
MicroOperations this tuple relatesprivate final boolean grant
private final java.lang.Integer precedence
public ACITuple(java.util.Collection<UserClass> userClasses, AuthenticationLevel authenticationLevel, java.util.Collection<ProtectedItem> protectedItems, java.util.Collection<MicroOperation> microOperations, boolean grant, java.lang.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 java.util.Collection<UserClass> getUserClasses()
UserClasses this tuple relates to.UserClassespublic AuthenticationLevel getAuthenticationLevel()
public java.util.Collection<ProtectedItem> getProtectedItems()
ProtectedItems this tuple relates.ProtectedItemspublic java.util.Collection<MicroOperation> getMicroOperations()
MicroOperations this tuple relates.MicroOperationspublic boolean isGrant()
public java.lang.Integer getPrecedence()
public java.lang.String toString()
toString in class java.lang.Object