Class Credentials

java.lang.Object
com.genologics.ri.researcher.Credentials
All Implemented Interfaces:
Serializable

public class Credentials extends Object implements Serializable
The credentials element contains information about a researcher's access to the client software interface. It is used only when a researcher is given access to the system. It is not used when a researcher's information is being stored for contact purposes only.
See Also:
  • Field Details

    • username

      protected String username
    • password

      protected String password
    • accountLocked

      protected Boolean accountLocked
    • roles

      protected List<Role> roles
  • Constructor Details

    • Credentials

      public Credentials()
  • Method Details

    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String value)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String value)
    • isAccountLocked

      public Boolean isAccountLocked()
    • setAccountLocked

      public void setAccountLocked(Boolean value)
    • getRoles

      public List<Role> getRoles()
    • addRole

      public Role addRole(Role role)
    • addRole

      public Role addRole(String name)