Package mireka.login

Class GlobalUser


  • public class GlobalUser
    extends Object
    represents 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 Detail

      • GlobalUser

        public GlobalUser()
    • 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:
        hashCode in class Object
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Object