java.lang.Object
org.eclipse.angus.mail.imap.ACL
- All Implemented Interfaces:
Cloneable
An access control list entry for a particular authentication identifier
(user or group). Associates a set of Rights with the identifier.
See RFC 2086.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ACL
Construct an ACL entry for the given identifier and with no rights.- Parameters:
name
- the identifier name
-
ACL
Construct an ACL entry for the given identifier with the given rights.- Parameters:
name
- the identifier namerights
- the rights
-
-
Method Details
-
getName
Get the identifier name for this ACL entry.- Returns:
- the identifier name
-
setRights
Set the rights associated with this ACL entry.- Parameters:
rights
- the rights
-
getRights
Get the rights associated with this ACL entry. Returns the actual Rights object referenced by this ACL; modifications to the Rights object will effect this ACL.- Returns:
- the rights
-
clone
Clone this ACL entry.- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-