Interface Assertion

    • Method Detail

      • assertCandidate

        boolean assertCandidate​(Entry entry)
                         throws NamingException
        Checks to see if a candidate is valid by asserting an arbitrary predicate against the candidate. Where available entry will be provided however there is no guarantee. The entry's attributes are only provided if they were previously accessed. All assertions should handle cases where the entry argument is null.
        Parameters:
        entry - the entry if available
        Returns:
        true if the candidate satisfies the predicate, false otherwise
        Throws:
        NamingException - if an error occurs while asserting the predicate