Class PasswordAuthRequest

java.lang.Object
com.mapr.login.common.PasswordAuthRequest

public class PasswordAuthRequest extends Object
  • Constructor Details

    • PasswordAuthRequest

      public PasswordAuthRequest()
  • Method Details

    • getUserName

      public String getUserName()
    • getPassWord

      public String getPassWord()
    • setUserName

      public void setUserName(String userName)
    • setPassWord

      public void setPassWord(String passWord)
    • getTicketDurInSecs

      public Long getTicketDurInSecs()
    • setTicketDurInSecs

      public void setTicketDurInSecs(Long ticketDurInSecs)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toJSON

      public static String toJSON(PasswordAuthRequest req) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • fromJSON

      public static PasswordAuthRequest fromJSON(String json) throws IOException
      Throws:
      IOException