|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.james.userrepository.DefaultUser org.apache.james.userrepository.DefaultJamesUser
public class DefaultJamesUser
Implementation of User Interface.
Constructor Summary | |
---|---|
DefaultJamesUser(java.lang.String name,
java.lang.String alg)
|
|
DefaultJamesUser(java.lang.String name,
java.lang.String passwordHash,
java.lang.String hashAlg)
|
Method Summary | |
---|---|
java.lang.String |
getAlias()
Get the user id for which this id is an alias. |
boolean |
getAliasing()
Get whether this user id is an alias. |
boolean |
getForwarding()
Get whether mail to this user is to be forwarded to another email address. |
MailAddress |
getForwardingDestination()
Get the destination address to which mail to this user will be forwarded. |
void |
initialize()
|
boolean |
setAlias(java.lang.String address)
Set the user id for which this id is an alias. |
void |
setAliasing(boolean alias)
Set whether this user id is an alias. |
void |
setForwarding(boolean forward)
Set whether mail to this user is to be forwarded to another email address |
boolean |
setForwardingDestination(MailAddress address)
Set the destination address to which mail to this user will be forwarded. |
Methods inherited from class org.apache.james.userrepository.DefaultUser |
---|
getHashAlgorithm, getHashedPassword, getUserName, setPassword, verifyPassword |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.james.services.JamesUser |
---|
setPassword |
Methods inherited from interface org.apache.james.services.User |
---|
getUserName, verifyPassword |
Constructor Detail |
---|
public DefaultJamesUser(java.lang.String name, java.lang.String alg)
public DefaultJamesUser(java.lang.String name, java.lang.String passwordHash, java.lang.String hashAlg)
Method Detail |
---|
public void initialize()
initialize
in interface org.apache.avalon.framework.activity.Initializable
Initializable.initialize()
public void setForwarding(boolean forward)
setForwarding
in interface JamesUser
forward
- whether mail is forwardedpublic boolean getForwarding()
getForwarding
in interface JamesUser
public boolean setForwardingDestination(MailAddress address)
setForwardingDestination
in interface JamesUser
address
- the forward-to addresspublic MailAddress getForwardingDestination()
getForwardingDestination
in interface JamesUser
public void setAliasing(boolean alias)
setAliasing
in interface JamesUser
alias
- whether this id is an aliaspublic boolean getAliasing()
getAliasing
in interface JamesUser
public boolean setAlias(java.lang.String address)
setAlias
in interface JamesUser
address
- the user id for which this id is an alias
public java.lang.String getAlias()
getAlias
in interface JamesUser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |