public interface DirContextValidator
DirContext
s.Modifier and Type | Method and Description |
---|---|
boolean |
validateDirContext(DirContextType contextType,
DirContext dirContext)
Validates the
DirContext . |
boolean validateDirContext(DirContextType contextType, DirContext dirContext)
DirContext
. A valid DirContext
should be able
to answer queries and if applicable write to the directory.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.true
if the DirContext
operated correctly during validation.