Package org.apache.james.user.jcr

Examples of org.apache.james.user.jcr.JCRUsersRepository


    private static final String JACKRABBIT_HOME = "target/jackrabbit";
    private RepositoryImpl repository;
       
    protected UsersRepository getUsersRepository() throws Exception {
        JCRUsersRepository repos = new JCRUsersRepository();
        repos.setRepository(repository);
        DefaultConfigurationBuilder config = new DefaultConfigurationBuilder();
        config.addProperty("username", "admin");
        config.addProperty("password", "test");
        repos.configure(config);
        repos.setLog(new SimpleLog("MockLog"));
        return repos;
    }
View Full Code Here

TOP

Related Classes of org.apache.james.user.jcr.JCRUsersRepository

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.