Class LoginWithRsaRequest
java.lang.Object
com.gentics.contentnode.rest.model.request.LoginWithRsaRequest
Login Request containing the user credentials
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getSalt()
Get the user namevoid
setExpirationTimestamp
(int expirationTimestamp) void
setRsaSignature
(String rsaSignature) void
void
setUsername
(String username) Set the username
-
Field Details
-
username
User name -
salt
A randomly generated salt -
expirationTimestamp
protected int expirationTimestampThe unix timestamp until this RSA token is valid -
rsaSignature
RSA signature that confirms the validity of the login
-
-
Constructor Details
-
LoginWithRsaRequest
public LoginWithRsaRequest()Create an empty instance
-
-
Method Details
-
getUsername
Get the user name- Returns:
- user name
-
setUsername
Set the username- Parameters:
username
- The user name
-
getSalt
- Returns:
- the salt
-
setSalt
- 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
- Returns:
- the rsaSignature
-
setRsaSignature
- Parameters:
rsaSignature
- the rsaSignature to set
-