Class CookieLoginDto
- java.lang.Object
-
- org.evomaster.client.java.controller.api.dto.CookieLoginDto
-
public class CookieLoginDto extends Object
Information on how to do a login based on username/password, from which we then get a cookie back Created by arcuri82 on 24-Oct-19.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CookieLoginDto.ContentType
static class
CookieLoginDto.HttpVerb
-
Field Summary
Fields Modifier and Type Field Description CookieLoginDto.ContentType
contentType
The encoding type used to specify how the data is sentCookieLoginDto.HttpVerb
httpVerb
The HTTP verb used to send the data.String
loginEndpointUrl
The URL of the endpoint, e.g., "/login"String
password
The password of the user.String
passwordField
The name of the field in the body payload containing the passwordString
username
The id of the userString
usernameField
The name of the field in the body payload containing the username
-
Constructor Summary
Constructors Constructor Description CookieLoginDto()
-
-
-
Field Detail
-
username
public String username
The id of the user
-
password
public String password
The password of the user. This must NOT be hashed.
-
usernameField
public String usernameField
The name of the field in the body payload containing the username
-
passwordField
public String passwordField
The name of the field in the body payload containing the password
-
loginEndpointUrl
public String loginEndpointUrl
The URL of the endpoint, e.g., "/login"
-
httpVerb
public CookieLoginDto.HttpVerb httpVerb
The HTTP verb used to send the data. Usually a "POST".
-
contentType
public CookieLoginDto.ContentType contentType
The encoding type used to specify how the data is sent
-
-