Examples of addReplAttributes()


Examples of org.apache.directory.server.config.beans.ReplConsumerBean.addReplAttributes()

        consumerBean.setReplSearchScope( SearchScope.SUBTREE.getLdapUrlValue() );
        consumerBean.setReplUserDn( "uid=admin,ou=system" );
        consumerBean.setReplUserPassword( "secret".getBytes() );
        consumerBean.setReplRefreshInterval( 60 * 1000 );
        consumerBean.setReplRefreshNPersist( true );
        consumerBean.addReplAttributes( SchemaConstants.ALL_USER_ATTRIBUTES );
        consumerBean.setSearchBaseDn( "dc=example,dc=com" );

        return consumerBean;
    }

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.