Class 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 Detail

      • ACITuple

        public ACITuple​(Collection<UserClass> userClasses,
                        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

      • getAuthenticationLevel

        public AuthenticationLevel getAuthenticationLevel()
        Gets the level of authentication required.
        Returns:
        the authentication level
      • 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