org.springframework.ldap.schema
Class BasicSchemaSpecification
java.lang.Object
  
org.springframework.ldap.schema.BasicSchemaSpecification
- All Implemented Interfaces: 
 - Specification<LdapAttributes>
 
public class BasicSchemaSpecification
- extends Object
- implements 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.
 
 
- 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 | 
 
BasicSchemaSpecification
public BasicSchemaSpecification()
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
 
 
Copyright © 2005-2010 The Spring LDAP Framework. All Rights Reserved.