Class RestCukesSecSteps
java.lang.Object
org.chenile.cucumber.security.rest.RestCukesSecSteps
Cucumber steps to facilitate injection of security tokens into the MVC request header.
See the methods below for the precise Gherkin language that has been created.
See the methods below for the precise Gherkin language that has been created.
-
Field Summary
Modifier and TypeFieldDescriptionprivate KeycloakConnectionDetails
(package private) CukesContext
private MockMvc
protected final ObjectMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
before()
void
i_construct_an_authorized_REST_request_in_realm_for_user_and_password
(String realm, String user, String password)
-
Field Details
-
mvc
-
connectionDetails
-
objectMapper
-
context
CukesContext context
-
-
Constructor Details
-
RestCukesSecSteps
public RestCukesSecSteps()
-
-
Method Details
-
before
public void before() -
i_construct_an_authorized_REST_request_in_realm_for_user_and_password
-