DefaultUser@Deprecated public class DefaultJamesUser extends DefaultUser implements JamesUser
| Constructor and Description | 
|---|
| DefaultJamesUser(String name,
                String alg)Deprecated.  | 
| DefaultJamesUser(String name,
                String passwordHash,
                String hashAlg)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAlias()Deprecated.  Get local address to which mail should be delivered. | 
| boolean | getAliasing()Deprecated.  Return true if emails should be delivered locally to an alias. | 
| boolean | getForwarding()Deprecated.  Return true if mail for this user should be forwarded | 
| org.apache.mailet.MailAddress | getForwardingDestination()Deprecated.  Return the destination to which email should be forwarded | 
| void | initialize()Deprecated.  Initializes default values for local fields. | 
| boolean | setAlias(String address)Deprecated.  Set local address to which email should be delivered. | 
| void | setAliasing(boolean alias)Deprecated.  Indicate if mail received for this user should be delivered locally to a
 different address. | 
| void | setForwarding(boolean forward)Deprecated.  Indicate if mail for this user should be forwarded to some other mail
 server. | 
| boolean | setForwardingDestination(org.apache.mailet.MailAddress address)Deprecated.  
 Set destination for forwading mail | 
getHashAlgorithm, getHashedPassword, getUserName, setPassword, verifyPasswordclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUserName, setPassword, verifyPasswordpublic void initialize()
public void setForwarding(boolean forward)
JamesUsersetForwarding in interface JamesUserforward - whether email for this user should be forwardedJamesUser.setForwarding(boolean)public boolean getForwarding()
JamesUsergetForwarding in interface JamesUserJamesUser.getForwarding()public boolean setForwardingDestination(org.apache.mailet.MailAddress address)
JamesUserSet destination for forwading mail
TODO: Should we use a MailAddress?
setForwardingDestination in interface JamesUseraddress - the forwarding address for this userJamesUser.setForwardingDestination(org.apache.mailet.MailAddress)public org.apache.mailet.MailAddress getForwardingDestination()
JamesUsergetForwardingDestination in interface JamesUserJamesUser.getForwardingDestination()public void setAliasing(boolean alias)
JamesUsersetAliasing in interface JamesUserJamesUser.setAliasing(boolean)public boolean getAliasing()
JamesUsergetAliasing in interface JamesUserJamesUser.getAliasing()public boolean setAlias(String address)
JamesUsersetAlias in interface JamesUserJamesUser.setAlias(java.lang.String)public String getAlias()
JamesUsergetAlias in interface JamesUserJamesUser.getAlias()Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.