Uses of Interface
io.restassured.module.mockmvc.specification.MockMvcAuthenticationScheme
Packages that use MockMvcAuthenticationScheme
Package
Description
-
Uses of MockMvcAuthenticationScheme in io.restassured.module.mockmvc
Fields in io.restassured.module.mockmvc declared as MockMvcAuthenticationSchemeModifier and TypeFieldDescriptionstatic MockMvcAuthenticationSchemeRestAssuredMockMvc.authenticationDefines a global authentication scheme that'll be used for all requests (if not overridden).Methods in io.restassured.module.mockmvc that return MockMvcAuthenticationSchemeModifier and TypeMethodDescriptionstatic MockMvcAuthenticationSchemeRestAssuredMockMvc.authentication(Object authentication) Authenticate using the supplied authentication instance (org.springframework.security.core.Authenticationfrom Spring Security).static MockMvcAuthenticationSchemeAuthenticate using the given principal.static MockMvcAuthenticationSchemeAuthenticate using the given principal.static MockMvcAuthenticationSchemeRestAssuredMockMvc.principalWithCredentials(Object principal, Object credentials, String... authorities) Authenticate using the given principal and credentials.static MockMvcAuthenticationSchemeRestAssuredMockMvc.with(org.springframework.test.web.servlet.request.RequestPostProcessor requestPostProcessor, org.springframework.test.web.servlet.request.RequestPostProcessor... additionalRequestPostProcessor) Authenticate using aRequestPostProcessor. -
Uses of MockMvcAuthenticationScheme in io.restassured.module.mockmvc.internal
Constructors in io.restassured.module.mockmvc.internal with parameters of type MockMvcAuthenticationSchemeModifierConstructorDescriptionMockMvcRequestSpecificationImpl(MockMvcFactory mockMvcFactory, RestAssuredMockMvcConfig config, List<org.springframework.test.web.servlet.ResultHandler> resultHandlers, List<org.springframework.test.web.servlet.request.RequestPostProcessor> requestPostProcessors, String basePath, MockMvcRequestSpecification requestSpecification, io.restassured.specification.ResponseSpecification responseSpecification, MockMvcAuthenticationScheme authentication) -
Uses of MockMvcAuthenticationScheme in io.restassured.module.mockmvc.specification
Methods in io.restassured.module.mockmvc.specification with parameters of type MockMvcAuthenticationSchemeModifier and TypeMethodDescriptionMockMvcRequestSpecBuilder.setAuth(MockMvcAuthenticationScheme auth) If you need to specify some credentials when performing a request.