public class ACITuple extends Object implements Serializable
ACIItem. The tuples are
accepted by ACDF (Access Control Decision Function, 18.8, X.501)| Constructor and Description |
|---|
ACITuple(Collection<UserClass> userClasses,
AuthenticationLevel authenticationLevel,
Collection<ProtectedItem> protectedItems,
Set<MicroOperation> microOperations,
boolean grant,
int precedence)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
AuthenticationLevel |
getAuthenticationLevel()
Returns the level of authentication required.
|
Set<MicroOperation> |
getMicroOperations()
Returns the set of
MicroOperations this tuple relates. |
int |
getPrecedence()
Returns the precedence of this tuple (0-255).
|
Collection<ProtectedItem> |
getProtectedItems()
Returns the collection of
ProtectedItems this tuple relates. |
Collection<UserClass> |
getUserClasses()
Returns the collection of
UserClasses this tuple relates to. |
boolean |
isGrant()
Returns true if and only if this tuple grants an access.
|
String |
toString() |
public ACITuple(Collection<UserClass> userClasses, AuthenticationLevel authenticationLevel, Collection<ProtectedItem> protectedItems, Set<MicroOperation> microOperations, boolean grant, int precedence)
userClasses - the collection of UserClasses this tuple relates toauthenticationLevel - the level of authentication requiredprotectedItems - the collection of ProtectedItems this tuple relatesmicroOperations - the set 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.public AuthenticationLevel getAuthenticationLevel()
public Collection<ProtectedItem> getProtectedItems()
ProtectedItems this tuple relates.public Set<MicroOperation> getMicroOperations()
MicroOperations this tuple relates.public boolean isGrant()
public int getPrecedence()
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.