1 17 package org.apache.ldap.server.schema.bootstrap; 18 19 20 import javax.naming.NamingException ; 21 22 23 32 public class NisMatchingRuleProducer extends AbstractBootstrapProducer 33 { 34 public NisMatchingRuleProducer() 35 { 36 super( ProducerTypeEnum.MATCHING_RULE_PRODUCER ); 37 } 38 39 40 44 45 48 public void produce( BootstrapRegistries registries, ProducerCallback cb ) 49 throws NamingException 50 { 51 BootstrapMatchingRule mrule; 52 53 58 59 mrule = new BootstrapMatchingRule( "1.3.6.1.4.1.4203.1.2.1", registries ); 60 mrule.setNames( new String [] { "caseExactIA5SubstringsMatch" } ); 61 mrule.setSyntaxOid( "1.3.6.1.4.1.1466.115.121.1.26" ); 62 cb.schemaObjectProduced( this, mrule.getOid(), mrule ); 63 } 64 } 65 | Popular Tags |