public class AclRewriteTests
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Container |
container |
protected SecurityContext |
defaultSecurityContext |
protected java.lang.String |
domainUid |
protected Server |
imapServer |
protected Server |
imapServerNotAssigned |
protected ItemStore |
itemStore |
protected MailboxStore |
mailboxStore |
protected Server |
smtpServer |
protected Container |
tagContainer |
protected java.lang.String |
testUserUid |
protected SecurityContext |
userSecurityContext |
Constructor and Description |
---|
AclRewriteTests() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
void |
before() |
protected Mailbox |
defaultMailbox(java.lang.String name) |
void |
testRewriteAllMailboxesAcl() |
void |
testRewritingAclShouldSetAcls() |
void |
testRewritingAclShouldSucceed() |
void |
testUserOnNonDefaultPartition()
testing users owning a mailbox on a non-default partition.
|
protected MailboxStore mailboxStore
protected ItemStore itemStore
protected SecurityContext defaultSecurityContext
protected SecurityContext userSecurityContext
protected Container container
protected Container tagContainer
protected java.lang.String domainUid
protected Server smtpServer
protected Server imapServer
protected Server imapServerNotAssigned
protected java.lang.String testUserUid
public void before() throws java.lang.Exception
java.lang.Exception
public void testRewriteAllMailboxesAcl() throws java.lang.Exception
java.lang.Exception
public void testRewritingAclShouldSucceed()
public void testRewritingAclShouldSetAcls() throws ServerFault, java.lang.Exception
ServerFault
java.lang.Exception
public void testUserOnNonDefaultPartition() throws java.lang.Exception
java.lang.Exception
public void after() throws java.lang.Exception
java.lang.Exception
protected Mailbox defaultMailbox(java.lang.String name)
Copyright © 2021. All Rights Reserved.