Package org.apache.ldap.server.schema

Examples of org.apache.ldap.server.schema.ConcreteNameComponentNormalizer



    public void init( InterceptorContext ctx ) throws NamingException
    {
        AttributeTypeRegistry atr = ctx.getGlobalRegistries().getAttributeTypeRegistry();
        dnParser = new DnParser( new ConcreteNameComponentNormalizer( atr ) );
    }
View Full Code Here


        /*
        ( 2.5.13.1 NAME 'distinguishedNameMatch'
          SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
          */
         comparator = new DnComparator( new ConcreteNameComponentNormalizer(
                 registries.getAttributeTypeRegistry() ) );
         cb.schemaObjectProduced( this, "2.5.13.1", comparator );

         /*
        ( 2.5.13.2 NAME 'caseIgnoreMatch'
View Full Code Here

        ( 2.5.13.1 NAME 'distinguishedNameMatch'
          SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
         */
        normalizer = new CachingNormalizer( new DnNormalizer(
                new ConcreteNameComponentNormalizer(
                        registries.getAttributeTypeRegistry() ) ) ) ;
        cb.schemaObjectProduced( this, "2.5.13.1", normalizer );

        /*
        ( 1.3.6.1.4.1.1466.109.114.2 NAME 'caseIgnoreIA5Match'
View Full Code Here

        /*
        ( 2.5.13.1 NAME 'distinguishedNameMatch'
          SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
          */
         comparator = new DnComparator( new ConcreteNameComponentNormalizer(
                 registries.getAttributeTypeRegistry() ) );
         cb.schemaObjectProduced( this, "2.5.13.1", comparator );

         /*
        ( 2.5.13.2 NAME 'caseIgnoreMatch'
View Full Code Here

        ( 2.5.13.1 NAME 'distinguishedNameMatch'
          SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
         */
        normalizer = new CachingNormalizer( new DnNormalizer(
                new ConcreteNameComponentNormalizer(
                        registries.getAttributeTypeRegistry() ) ) ) ;
        cb.schemaObjectProduced( this, "2.5.13.1", normalizer );

        /*
        ( 1.3.6.1.4.1.1466.109.114.2 NAME 'caseIgnoreIA5Match'
View Full Code Here

    {
        super.init( factoryCfg, cfg );
        tupleCache = new TupleCache( factoryCfg );
        groupCache = new GroupCache( factoryCfg );
        attrRegistry = factoryCfg.getGlobalRegistries().getAttributeTypeRegistry();
        aciParser = new ACIItemParser( new ConcreteNameComponentNormalizer( attrRegistry ) );
        engine = new ACDFEngine( factoryCfg.getGlobalRegistries().getOidRegistry(), attrRegistry );
        chain = factoryCfg.getInterceptorChain();
        enabled = factoryCfg.getStartupConfiguration().isAccessControlEnabled();
    }
View Full Code Here

        /** dedicated normalizing parser for this search - cheaper than synchronization */
        final DnParser parser;

        public AuthorizationFilter() throws NamingException
        {
            parser = new DnParser( new ConcreteNameComponentNormalizer( attrRegistry ) );
        }
View Full Code Here

     * @param factoryCfg the context factory configuration for the server
     */
    public TupleCache( DirectoryServiceConfiguration factoryCfg ) throws NamingException
    {
        this.nexus = factoryCfg.getPartitionNexus();
        aciParser = new ACIItemParser( new ConcreteNameComponentNormalizer(
                factoryCfg.getGlobalRegistries().getAttributeTypeRegistry() ) );
        env = ( Hashtable ) factoryCfg.getEnvironment().clone();
        initialize();
    }
View Full Code Here


    public void init( DirectoryServiceConfiguration factoryCfg, InterceptorConfiguration cfg ) throws NamingException
    {
        AttributeTypeRegistry atr = factoryCfg.getGlobalRegistries().getAttributeTypeRegistry();
        dnParser = new DnParser( new ConcreteNameComponentNormalizer( atr ) );

        // disable this static module if basic access control mechanisms are enabled
        enabled = ! factoryCfg.getStartupConfiguration().isAccessControlEnabled();
    }
View Full Code Here

     */
    public GroupCache( DirectoryServiceConfiguration factoryCfg ) throws NamingException
    {
        this.nexus = factoryCfg.getPartitionNexus();
        this.env = ( Hashtable ) factoryCfg.getEnvironment().clone();
        this.parser = new DnParser( new ConcreteNameComponentNormalizer(
                factoryCfg.getGlobalRegistries().getAttributeTypeRegistry() ) );
        initialize();
    }
View Full Code Here

TOP

Related Classes of org.apache.ldap.server.schema.ConcreteNameComponentNormalizer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.