org.apache.directory.api.ldap.aci
Class ACITuple

java.lang.Object
  extended by org.apache.directory.api.ldap.aci.ACITuple

public class ACITuple
extends Object

A flatten entity which is converted from an ACIItem. The tuples are accepted by ACDF (Access Control Decision Function, 18.8, X.501)

Author:
Apache Directory Project

Constructor Summary
ACITuple(Collection<UserClass> userClasses, org.apache.directory.api.ldap.model.constants.AuthenticationLevel authenticationLevel, Collection<ProtectedItem> protectedItems, Collection<MicroOperation> microOperations, boolean grant, Integer precedence)
          Creates a new instance.
 
Method Summary
 org.apache.directory.api.ldap.model.constants.AuthenticationLevel getAuthenticationLevel()
          Gets the level of authentication required.
 Collection<MicroOperation> getMicroOperations()
          Gets the collection of MicroOperations this tuple relates.
 Integer getPrecedence()
          Gets the precedence of this tuple (0-255).
 Collection<ProtectedItem> getProtectedItems()
          Gets the collection of ProtectedItems this tuple relates.
 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.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ACITuple

public ACITuple(Collection<UserClass> userClasses,
                org.apache.directory.api.ldap.model.constants.AuthenticationLevel authenticationLevel,
                Collection<ProtectedItem> protectedItems,
                Collection<MicroOperation> microOperations,
                boolean grant,
                Integer precedence)
Creates a new instance.

Parameters:
userClasses - the collection of UserClasses this tuple relates to
authenticationLevel - the level of authentication required
protectedItems - the collection of ProtectedItems this tuple relates
microOperations - the collection of MicroOperations this tuple relates
grant - true if and only if this tuple grants an access
precedence - the precedence of this tuple (0-255)
Method Detail

getUserClasses

public Collection<UserClass> getUserClasses()
Gets the collection of UserClasses this tuple relates to.

Returns:
the collection of UserClasses

getAuthenticationLevel

public org.apache.directory.api.ldap.model.constants.AuthenticationLevel getAuthenticationLevel()
Gets the level of authentication required.

Returns:
the authentication level

getProtectedItems

public Collection<ProtectedItem> getProtectedItems()
Gets the collection of ProtectedItems this tuple relates.

Returns:
the collection of ProtectedItems

getMicroOperations

public Collection<MicroOperation> getMicroOperations()
Gets the collection of MicroOperations this tuple relates.

Returns:
the collection of MicroOperations

isGrant

public boolean isGrant()
Gets true if and only if this tuple grants an access.

Returns:
true if and only if this tuple grants an access

getPrecedence

public Integer getPrecedence()
Gets the precedence of this tuple (0-255).

Returns:
the precedence

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.