Class LoginWithRsaRequest
- java.lang.Object
-
- com.gentics.contentnode.rest.model.request.LoginWithRsaRequest
-
public class LoginWithRsaRequest extends Object
Login Request containing the user credentials
-
-
Field Summary
Fields Modifier and Type Field Description protected int
expirationTimestamp
The unix timestamp until this RSA token is validprotected String
rsaSignature
RSA signature that confirms the validity of the loginprotected String
salt
A randomly generated saltprotected String
username
User name
-
Constructor Summary
Constructors Constructor Description LoginWithRsaRequest()
Create an empty instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getExpirationTimestamp()
String
getRsaSignature()
String
getSalt()
String
getUsername()
Get the user namevoid
setExpirationTimestamp(int expirationTimestamp)
void
setRsaSignature(String rsaSignature)
void
setSalt(String salt)
void
setUsername(String username)
Set the username
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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
-
-