Class LoginWithRsaRequest

java.lang.Object
com.gentics.contentnode.rest.model.request.LoginWithRsaRequest

public class LoginWithRsaRequest extends Object
Login Request containing the user credentials
  • Field Details

    • username

      protected String username
      User name
    • salt

      protected String salt
      A randomly generated salt
    • expirationTimestamp

      protected int expirationTimestamp
      The unix timestamp until this RSA token is valid
    • rsaSignature

      protected String rsaSignature
      RSA signature that confirms the validity of the login
  • Constructor Details

    • LoginWithRsaRequest

      public LoginWithRsaRequest()
      Create an empty instance
  • Method Details

    • getUsername

      public String getUsername()
      Get the user name
      Returns:
      user name
    • setUsername

      public void setUsername(String username)
      Set the username
      Parameters:
      username - The user name
    • getSalt

      public String getSalt()
      Returns:
      the salt
    • setSalt

      public void setSalt(String salt)
      Parameters:
      salt - the salt to set
    • getExpirationTimestamp

      public int getExpirationTimestamp()
      Returns:
      the expirationTimestamp
    • setExpirationTimestamp

      public void setExpirationTimestamp(int expirationTimestamp)
      Parameters:
      expirationTimestamp - the expirationTimestamp to set
    • getRsaSignature

      public String getRsaSignature()
      Returns:
      the rsaSignature
    • setRsaSignature

      public void setRsaSignature(String rsaSignature)
      Parameters:
      rsaSignature - the rsaSignature to set