| Package | Description |
|---|---|
| com.sap.cloud.security.test |
| Modifier and Type | Method and Description |
|---|---|
SecurityTestRule |
SecurityTestRule.addApplicationServlet(Class<? extends javax.servlet.Servlet> servletClass,
String path)
Adds a servlet to the servlet server.
|
SecurityTestRule |
SecurityTestRule.addApplicationServlet(org.eclipse.jetty.servlet.ServletHolder servletHolder,
String path)
Adds a servlet to the servlet server.
|
SecurityTestRule |
SecurityTestRule.addApplicationServletFilter(Class<? extends javax.servlet.Filter> filterClass)
Adds a filter to the servlet server.
|
static SecurityTestRule |
SecurityTestRule.getInstance(Service service)
Creates an instance of the test rule for the given service.
|
SecurityTestRule |
SecurityTestRule.setKeys(String publicKeyPath,
String privateKeyPath)
Overwrites the private/public key pair to be used.
|
SecurityTestRule |
SecurityTestRule.setPort(int port)
Overwrites the port on which the identity service mock server runs
(WireMock).
|
SecurityTestRule |
SecurityTestRule.useApplicationServer()
Specifies an embedded jetty as servlet server.
|
SecurityTestRule |
SecurityTestRule.useApplicationServer(ApplicationServerOptions applicationServerOptions)
Specifies an embedded jetty as servlet server.
|
Copyright © 2020. All rights reserved.