Package org.apache.james.mailbox.inmemory

Examples of org.apache.james.mailbox.inmemory.InMemoryMailboxManager


        serviceManager.put("localusersrepository",
                m_usersRepository);
       
        InMemoryMailboxSessionMapperFactory factory = new InMemoryMailboxSessionMapperFactory();

        manager = new InMemoryMailboxManager(factory, new Authenticator() {
           
            public boolean isAuthentic(String userid, CharSequence passwd) {
                return m_usersRepository.test(userid, passwd.toString());
            }
        });
View Full Code Here


     *
     * @return a new InMemoryMailboxManager
     */
    private MailboxManager newInMemoryMailboxManager() {
   
        return new InMemoryMailboxManager(
            new InMemoryMailboxSessionMapperFactory(),
            new Authenticator() {
                public boolean isAuthentic(String userid, CharSequence passwd) {
                    return true;
                }
View Full Code Here

TOP

Related Classes of org.apache.james.mailbox.inmemory.InMemoryMailboxManager

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.