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, verifyPassword
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUserName, setPassword, verifyPassword
public void initialize()
public void setForwarding(boolean forward)
JamesUser
setForwarding
in interface JamesUser
forward
- whether email for this user should be forwardedJamesUser.setForwarding(boolean)
public boolean getForwarding()
JamesUser
getForwarding
in interface JamesUser
JamesUser.getForwarding()
public boolean setForwardingDestination(org.apache.mailet.MailAddress address)
JamesUser
Set destination for forwading mail
TODO: Should we use a MailAddress?
setForwardingDestination
in interface JamesUser
address
- the forwarding address for this userJamesUser.setForwardingDestination(org.apache.mailet.MailAddress)
public org.apache.mailet.MailAddress getForwardingDestination()
JamesUser
getForwardingDestination
in interface JamesUser
JamesUser.getForwardingDestination()
public void setAliasing(boolean alias)
JamesUser
setAliasing
in interface JamesUser
JamesUser.setAliasing(boolean)
public boolean getAliasing()
JamesUser
getAliasing
in interface JamesUser
JamesUser.getAliasing()
public boolean setAlias(String address)
JamesUser
setAlias
in interface JamesUser
JamesUser.setAlias(java.lang.String)
public String getAlias()
JamesUser
getAlias
in interface JamesUser
JamesUser.getAlias()
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.