Interface DirContextValidator
-
- All Known Implementing Classes:
DefaultDirContextValidator
public interface DirContextValidatorA validator forDirContexts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanvalidateDirContext(DirContextType contextType, javax.naming.directory.DirContext dirContext)Validates theDirContext.
-
-
-
Method Detail
-
validateDirContext
boolean validateDirContext(DirContextType contextType, javax.naming.directory.DirContext dirContext)
Validates theDirContext. A validDirContextshould be able to answer queries and if applicable write to the directory.- Parameters:
contextType- The type of theDirContext, refers to ifContextSource.getReadOnlyContext()orContextSource.getReadWriteContext()was called to create theDirContextdirContext- TheDirContextto validate.- Returns:
trueif theDirContextoperated correctly during validation.
-
-