Class MailboxAccessControl

java.lang.Object
org.deltava.security.command.AccessControl
org.deltava.security.command.MailboxAccessControl
All Implemented Interfaces:
Serializable

public class MailboxAccessControl extends AccessControl
An Access Controller for mailbox profiles.
Since:
1.0
Version:
7.0
Author:
Luke
See Also:
  • Constructor Details

    • MailboxAccessControl

      public MailboxAccessControl(SecurityContext ctx, IMAPConfiguration cfg)
      Initializes the Access Controller.
      Parameters:
      ctx - the command context
      cfg - the IMAP configuration bean
  • Method Details

    • validate

      public void validate()
      Calculates access rights.
      Specified by:
      validate in class AccessControl
    • getCanCreate

      public boolean getCanCreate()
      Returns if the user can create a new mailbox profile.
      Returns:
      TRUE if a profile can be created, otherwise FALSE
    • getCanEdit

      public boolean getCanEdit()
      Returns if the user can edit the mailbox profile.
      Returns:
      TRUE if the profile can be edited, otherwise FALSE
    • getCanDelete

      public boolean getCanDelete()
      Returns if the user can delete the mailbox profile.
      Returns:
      TRUE if the profile can be deleted, otherwise FALSE