org.springframework.ldap.schema
Class DefaultSchemaSpecification
java.lang.Object
org.springframework.ldap.schema.DefaultSchemaSpecification
- All Implemented Interfaces:
- Specification<LdapAttributes>
public class DefaultSchemaSpecification
- extends Object
- implements Specification<LdapAttributes>
DefaultSchemaSpecification does not validate objects at all - it simply returns true.
This specification is intended for cases where validation of the parsed entries is not
required.
- Author:
- Keith Barlow
Method Summary |
boolean |
isSatisfiedBy(LdapAttributes record)
Determines if the policy is satisfied by the supplied LdapAttributes object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSchemaSpecification
public DefaultSchemaSpecification()
isSatisfiedBy
public boolean isSatisfiedBy(LdapAttributes record)
throws NamingException
- Determines if the policy is satisfied by the supplied LdapAttributes object.
- Specified by:
isSatisfiedBy
in interface Specification<LdapAttributes>
- Throws:
NamingException