Class UserCredentials

java.lang.Object
com.ebasetech.xi.services.auth.UserCredentials
All Implemented Interfaces:
java.io.Serializable

public class UserCredentials
extends java.lang.Object
implements java.io.Serializable
UserCredentials object that contains a username and password.
See Also:
RESTfulService#readBasicAuthenticationCredentials(), Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    UserCredentials()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getPassword()
    Returns the password
    java.lang.String getUsername()
    Returns the username
    void setPassword​(java.lang.String password)
    Set the password
    void setUsername​(java.lang.String username)
    Set the username

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UserCredentials

      public UserCredentials()
  • Method Details

    • getUsername

      public java.lang.String getUsername()
      Returns the username
    • setUsername

      public void setUsername​(java.lang.String username)
      Set the username
      Parameters:
      username - to set
    • getPassword

      public java.lang.String getPassword()
      Returns the password
    • setPassword

      public void setPassword​(java.lang.String password)
      Set the password
      Parameters:
      password - to set