Package | Description |
---|---|
io.restassured | |
io.restassured.authentication | |
io.restassured.internal | |
io.restassured.internal.filter | |
io.restassured.specification |
Modifier and Type | Method and Description |
---|---|
static AuthenticationScheme |
RestAssured.form(String userName,
String password,
FormAuthConfig config)
Use form authentication with the supplied configuration.
|
Modifier and Type | Method and Description |
---|---|
FormAuthConfig |
FormAuthConfig.and()
Syntactic sugar
|
static FormAuthConfig |
FormAuthConfig.formAuthConfig()
Creates a new empty
FormAuthConfig . |
FormAuthConfig |
FormAuthScheme.getConfig() |
FormAuthConfig |
FormAuthConfig.sendCsrfTokenAsFormParam() |
FormAuthConfig |
FormAuthConfig.sendCsrfTokenAsHeader() |
static FormAuthConfig |
FormAuthConfig.springSecurity() |
FormAuthConfig |
FormAuthConfig.withAutoDetectionOfCsrf()
Enable Cross-site request forgery (csrf) support when using form authentication by automatically trying to find the name and value of the csrf input field.
|
FormAuthConfig |
FormAuthConfig.withCsrfFieldName(String fieldName)
Enable Cross-site request forgery (csrf) support when using form authentication by including the csrf value of the input field with the specified name.
|
FormAuthConfig |
FormAuthConfig.withLoggingEnabled()
Enables logging with log level
LogDetail.ALL of the request made to authenticate using
form authentication. |
FormAuthConfig |
FormAuthConfig.withLoggingEnabled(LogConfig logConfig)
Enables logging with log level
LogDetail.ALL of the request made to authenticate using
form authentication using the specified LogConfig . |
FormAuthConfig |
FormAuthConfig.withLoggingEnabled(LogDetail logDetail)
Enables logging with the supplied logDetail of the request made to authenticate using form authentication.
|
FormAuthConfig |
FormAuthConfig.withLoggingEnabled(LogDetail logDetail,
LogConfig logConfig)
Enables logging with the supplied log detail of the request made to authenticate using form authentication using the
specified
LogConfig . |
Modifier and Type | Method and Description |
---|---|
void |
FormAuthScheme.setConfig(FormAuthConfig value) |
Modifier and Type | Method and Description |
---|---|
RequestSpecification |
AuthenticationSpecificationImpl.form(String userName,
String password,
FormAuthConfig config) |
Modifier and Type | Method and Description |
---|---|
FormAuthConfig |
FormAuthFilter.getFormAuthConfig() |
Modifier and Type | Method and Description |
---|---|
void |
FormAuthFilter.setFormAuthConfig(FormAuthConfig value) |
Modifier and Type | Method and Description |
---|---|
RequestSpecification |
AuthenticationSpecification.form(String userName,
String password,
FormAuthConfig config)
Use form authentication with the supplied configuration.
|
Copyright © 2010–2017. All rights reserved.