Class KerberosAuthRequest

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

public class KerberosAuthRequest extends Object
  • Constructor Details

    • KerberosAuthRequest

      public KerberosAuthRequest()
    • KerberosAuthRequest

      public KerberosAuthRequest(String token)
  • Method Details

    • getToken

      public String getToken()
    • setToken

      public void setToken(String token)
    • getTicketDurInSecs

      public Long getTicketDurInSecs()
    • setTicketDurInSecs

      public void setTicketDurInSecs(Long ticketDurInSecs)
    • toString

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

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

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