public class GlobalMailboxSessionJCRRepository extends MailboxSessionJCRRepository
Session. It will use one user and password for all| Constructor and Description |
|---|
GlobalMailboxSessionJCRRepository(javax.jcr.Repository repository,
String workspace,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.Session |
login(MailboxSession session)
Login in the
Repository with the global configured user and password |
getRepository, getWorkspace, login, logoutpublic javax.jcr.Session login(MailboxSession session) throws javax.jcr.RepositoryException
Repository with the global configured user and passwordlogin in class MailboxSessionJCRRepositoryjavax.jcr.RepositoryExceptionCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.