Package mireka.login
Class GlobalUser
- Object
-
- mireka.login.GlobalUser
-
public class GlobalUser extends Objectrepresents a user, who is a valid recipient in all (local) domains in the form of USERNAME@LOCAL_DOMAIN, and who uses a password for login. For example if there is such a user named john, then the recipient addresses john@example.com and john@example.net both will be accepted.
-
-
Constructor Summary
Constructors Constructor Description GlobalUser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetPassword()UsernamegetUsernameObject()inthashCode()voidsetPassword(String password)voidsetUsername(String username)
-
-
-
Method Detail
-
getUsernameObject
public Username getUsernameObject()
- Category:
- GETSET
-
setUsername
public void setUsername(String username)
- Category:
- GETSET
-
getPassword
public String getPassword()
- Category:
- GETSET
-
setPassword
public void setPassword(String password)
- Category:
- GETSET
-
hashCode
public int hashCode()
- Overrides:
hashCodein classObject
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classObject
-
-