Package org.springframework.ldap.schema
Class BasicSchemaSpecification
java.lang.Object
org.springframework.ldap.schema.BasicSchemaSpecification
- All Implemented Interfaces:
Specification<LdapAttributes>
BasicSchemaSpecification establishes a minimal set of requirements for object classes.
This basic specification, which does not actually validate against any schema, deems objects valid as long as they meet the following criteria:
- the object has a non-null DN.
- the object contains the naming attribute declared by the DN.
- the object declares an objectClass.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isSatisfiedBy
(LdapAttributes record) Determines if the policy is satisfied by the supplied LdapAttributes object.
-
Constructor Details
-
BasicSchemaSpecification
public BasicSchemaSpecification()
-
-
Method Details
-
isSatisfiedBy
Determines if the policy is satisfied by the supplied LdapAttributes object.- Specified by:
isSatisfiedBy
in interfaceSpecification<LdapAttributes>
- Throws:
NamingException
-