Class RestCukesSecSteps

java.lang.Object
org.chenile.cucumber.security.rest.RestCukesSecSteps

@ActiveProfiles("unittest") @AutoConfigureMockMvc public class RestCukesSecSteps extends Object
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.
  • Field Details

  • Constructor Details

    • RestCukesSecSteps

      public RestCukesSecSteps()
  • Method Details

    • before

      public void before()
    • i_construct_an_authorized_REST_request_in_realm_for_user_and_password

      @When("I construct a REST request with authorization header in realm {string} for user {string} and password {string}") public void i_construct_an_authorized_REST_request_in_realm_for_user_and_password(String realm, String user, String password)