Interface DirContextValidator

    • Method Detail

      • validateDirContext

        boolean validateDirContext​(DirContextType contextType,
                                   javax.naming.directory.DirContext dirContext)
        Validates the DirContext. A valid DirContext should be able to answer queries and if applicable write to the directory.
        Parameters:
        contextType - The type of the DirContext, refers to if ContextSource.getReadOnlyContext() or ContextSource.getReadWriteContext() was called to create the DirContext
        dirContext - The DirContext to validate.
        Returns:
        true if the DirContext operated correctly during validation.