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

java.lang.Object
  extended byorg.apache.directory.shared.ldap.aci.ACITuple
All Implemented Interfaces:
java.io.Serializable

public class ACITuple
extends java.lang.Object
implements java.io.Serializable

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

Version:
$Rev: 379008 $, $Date: 2006-02-20 04:35:07 +0100 (Mon, 20 Feb 2006) $
Author:
The Apache Directory Project
See Also:
Serialized Form

Constructor Summary
ACITuple(java.util.Collection userClasses, AuthenticationLevel authenticationLevel, java.util.Collection protectedItems, java.util.Set microOperations, boolean grant, int precedence)
          Creates a new instance.
 
Method Summary
 AuthenticationLevel getAuthenticationLevel()
          Returns the level of authentication required.
 java.util.Set getMicroOperations()
          Returns the set of MicroOperations this tuple relates.
 int getPrecedence()
          Returns the precedence of this tuple (0-255).
 java.util.Collection getProtectedItems()
          Returns the collection of ProtectedItems this tuple relates.
 java.util.Collection getUserClasses()
          Returns the collection of UserClasses this tuple relates to.
 boolean isGrant()
          Returns true if and only if this tuple grants an access.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ACITuple

public ACITuple(java.util.Collection userClasses,
                AuthenticationLevel authenticationLevel,
                java.util.Collection protectedItems,
                java.util.Set microOperations,
                boolean grant,
                int 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 set 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 java.util.Collection getUserClasses()
Returns the collection of UserClasses this tuple relates to.


getAuthenticationLevel

public AuthenticationLevel getAuthenticationLevel()
Returns the level of authentication required.


getProtectedItems

public java.util.Collection getProtectedItems()
Returns the collection of ProtectedItems this tuple relates.


getMicroOperations

public java.util.Set getMicroOperations()
Returns the set of MicroOperations this tuple relates.


isGrant

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


getPrecedence

public int getPrecedence()
Returns the precedence of this tuple (0-255).


toString

public java.lang.String toString()


Copyright © 2003-2006 . All Rights Reserved.