Class LoginBean

java.lang.Object
be.gaudry.model.security.LoginBean

public class LoginBean extends Object
Stores a username and a password needed by an anthentication. Provided by the broldev.core.model project.
Since:
1.0 Oct 18, 2010, broldev.core.model 0.1.17 dependency
Version:
1.0 Oct 18, 2010
Author:
Steph GAUDRY
  • Constructor Details

    • LoginBean

      public LoginBean()
      Builds a LoginBean with null values
    • LoginBean

      public LoginBean(String login, String password)
      Builds a LoginBean with values to set.
      Parameters:
      login -
      password -
  • Method Details

    • getLogin

      public String getLogin()
      String used to identify the user
      Returns:
      the login
    • setLogin

      public void setLogin(String login)
      Parameters:
      login - the login to set
      See Also:
      getLogin()
    • getPassword

      public String getPassword()
      Password associated to the login
      Returns:
      the password
    • setPassword

      public void setPassword(String password)
      Parameters:
      password - the password to set
      See Also:
      getPassword()
    • toString

      public String toString()
      Overrides:
      toString in class Object