Spring LDAP

org.springframework.ldap.schema
Class DefaultSchemaSpecification

java.lang.Object
  extended by 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

Constructor Summary
DefaultSchemaSpecification()
           
 
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
 

Constructor Detail

DefaultSchemaSpecification

public DefaultSchemaSpecification()
Method Detail

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

Spring LDAP