Package | Description |
---|---|
org.apache.james.mailbox | |
org.apache.james.mailbox.acl | |
org.apache.james.mailbox.model | |
org.apache.james.mailbox.store |
Modifier and Type | Method and Description |
---|---|
MailboxACL.MailboxACLRights[] |
MessageManager.listRigths(MailboxACL.MailboxACLEntryKey identifier,
MailboxSession session)
Computes a result suitable for the LISTRIGHTS IMAP command.
|
void |
MessageManager.setRights(MailboxACL.MailboxACLEntryKey identifier,
MailboxACL.EditMode editMode,
MailboxACL.MailboxACLRights mailboxAclRights)
TODO setRights.
|
Modifier and Type | Method and Description |
---|---|
MailboxACL |
UnionMailboxACLResolver.applyGlobalACL(MailboxACL resourceACL,
boolean resourceOwnerIsGroup) |
MailboxACL |
MailboxACLResolver.applyGlobalACL(MailboxACL resourceACL,
boolean resourceOwnerIsGroup)
Applies global ACL to the given
resourceACL . |
boolean |
UnionMailboxACLResolver.hasRight(String requestUser,
GroupMembershipResolver groupMembershipResolver,
MailboxACL.MailboxACLRight right,
MailboxACL resourceACL,
String resourceOwner,
boolean resourceOwnerIsGroup) |
boolean |
MailboxACLResolver.hasRight(String requestUser,
GroupMembershipResolver groupMembershipResolver,
MailboxACL.MailboxACLRight right,
MailboxACL resourceACL,
String resourceOwner,
boolean resourceOwnerIsGroup)
Tells whether the given user has the given right granted on the basis of
the given resourceACL.
|
boolean |
UnionMailboxACLResolver.isReadWrite(MailboxACL.MailboxACLRights mailboxACLRights,
javax.mail.Flags sharedFlags) |
boolean |
MailboxACLResolver.isReadWrite(MailboxACL.MailboxACLRights mailboxACLRights,
javax.mail.Flags sharedFlags)
Maps the given
mailboxACLRights to READ-WRITE and READ-ONLY
response codes. |
MailboxACL.MailboxACLRights[] |
UnionMailboxACLResolver.listRights(MailboxACL.MailboxACLEntryKey queryKey,
GroupMembershipResolver groupMembershipResolver,
String resourceOwner,
boolean resourceOwnerIsGroup)
The key point of this implementation is that it resolves everything what
can be resolved.
|
MailboxACL.MailboxACLRights[] |
MailboxACLResolver.listRights(MailboxACL.MailboxACLEntryKey key,
GroupMembershipResolver groupMembershipResolver,
String resourceOwner,
boolean resourceOwnerIsGroup)
Computes a result suitable for the LISTRIGHTS IMAP command.
|
MailboxACL.MailboxACLRights |
UnionMailboxACLResolver.resolveRights(String requestUser,
GroupMembershipResolver groupMembershipResolver,
MailboxACL resourceACL,
String resourceOwner,
boolean resourceOwnerIsGroup) |
MailboxACL.MailboxACLRights |
MailboxACLResolver.resolveRights(String requestUser,
GroupMembershipResolver groupMembershipResolver,
MailboxACL resourceACL,
String resourceOwner,
boolean resourceOwnerIsGroup)
Computes the rights which apply to the given user and resource.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleMailboxACL.Rfc4314Rights.contains(char flag) |
boolean |
MailboxACL.MailboxACLRights.contains(MailboxACL.MailboxACLRight right)
Tells whether this contains the given right.
|
boolean |
SimpleMailboxACL.Rfc4314Rights.contains(MailboxACL.MailboxACLRight right) |
MailboxACL |
MailboxACL.except(MailboxACL.MailboxACLEntryKey key,
MailboxACL.MailboxACLRights toRemove)
TODO except.
|
MailboxACL |
SimpleMailboxACL.except(MailboxACL.MailboxACLEntryKey key,
MailboxACL.MailboxACLRights mailboxACLRights) |
MailboxACL.MailboxACLRights |
MailboxACL.MailboxACLRights.except(MailboxACL.MailboxACLRights toRemove)
Performs the set theoretic operation of relative complement of
toRemove MailboxACLRights in this MailboxACLRights.
|
MailboxACL.MailboxACLRights |
SimpleMailboxACL.Rfc4314Rights.except(MailboxACL.MailboxACLRights toRemove) |
MailboxACL |
MailboxACL.except(MailboxACL toRemove)
Performs the set theoretic operation of relative complement of toRemove
MailboxACL in this MailboxACL . |
MailboxACL |
SimpleMailboxACL.except(MailboxACL other) |
MailboxACL |
MailboxACL.replace(MailboxACL.MailboxACLEntryKey key,
MailboxACL.MailboxACLRights toAdd)
Replaces the entry corresponding to the given
key with
toAdd link MailboxACLRights}. |
MailboxACL |
SimpleMailboxACL.replace(MailboxACL.MailboxACLEntryKey key,
MailboxACL.MailboxACLRights replacement) |
MailboxACL |
MailboxACL.union(MailboxACL.MailboxACLEntryKey key,
MailboxACL.MailboxACLRights toAdd)
TODO union.
|
MailboxACL |
SimpleMailboxACL.union(MailboxACL.MailboxACLEntryKey key,
MailboxACL.MailboxACLRights mailboxACLRights) |
MailboxACL.MailboxACLRights |
MailboxACL.MailboxACLRights.union(MailboxACL.MailboxACLRights toAdd)
Performs the set theoretic operation of union of this
MailboxACLRights and toAdd MailboxACLRights.
|
MailboxACL.MailboxACLRights |
SimpleMailboxACL.Rfc4314Rights.union(MailboxACL.MailboxACLRights toAdd) |
MailboxACL |
MailboxACL.union(MailboxACL toAdd)
Performs the set theoretic operation of union of this
MailboxACL
and toAdd MailboxACL . |
MailboxACL |
SimpleMailboxACL.union(MailboxACL other) |
Constructor and Description |
---|
SimpleMailboxACL.Rfc4314Rights(int value) |
SimpleMailboxACL.Rfc4314Rights(MailboxACL.MailboxACLRight right) |
SimpleMailboxACL.Rfc4314Rights(String serializedRfc4314Rights) |
SimpleMailboxACL.SimpleMailboxACLEntry(String key,
String value) |
SimpleMailboxACL(Properties props)
Creates a new instance of SimpleMailboxACL from
Properties . |
Modifier and Type | Method and Description |
---|---|
protected MailboxACL |
StoreMessageManager.getResolvedMailboxACL(MailboxSession mailboxSession)
Applies the global ACL (if there are any) to the mailbox ACL.
|
boolean |
StoreMessageManager.hasRight(MailboxACL.MailboxACLRight right,
MailboxSession session) |
MailboxACL.MailboxACLRights[] |
StoreMessageManager.listRigths(MailboxACL.MailboxACLEntryKey key,
MailboxSession session) |
void |
StoreMessageManager.setRights(MailboxACL.MailboxACLEntryKey mailboxACLEntryKey,
MailboxACL.EditMode editMode,
MailboxACL.MailboxACLRights mailboxAclRights) |
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.