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
MicroOperation s this tuple relates. |
int |
getPrecedence()
Returns the precedence of this tuple (0-255).
|
Collection<ProtectedItem> |
getProtectedItems()
Returns the collection of
ProtectedItem s this tuple relates. |
Collection<UserClass> |
getUserClasses()
Returns the collection of
UserClass es 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 UserClass
es this tuple relates toauthenticationLevel
- the level of authentication requiredprotectedItems
- the collection of ProtectedItem
s this tuple relatesmicroOperations
- the set of MicroOperation
s this tuple relatesgrant
- true if and only if this tuple grants an accessprecedence
- the precedence of this tuple (0-255)public Collection<UserClass> getUserClasses()
UserClass
es this tuple relates to.public AuthenticationLevel getAuthenticationLevel()
public Collection<ProtectedItem> getProtectedItems()
ProtectedItem
s this tuple relates.public Set<MicroOperation> getMicroOperations()
MicroOperation
s this tuple relates.public boolean isGrant()
public int getPrecedence()
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.