| Package | Description |
|---|---|
| com.sap.cloud.security.test |
| Modifier and Type | Field and Description |
|---|---|
protected ApplicationServerOptions |
SecurityTest.applicationServerOptions |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationServerOptions |
ApplicationServerOptions.forService(Service service)
Creates an instance of ApplicationServerOptions.
|
static ApplicationServerOptions |
ApplicationServerOptions.forXsuaaService(String appId,
String clientId)
Creates an instance of ApplicationServerOptions.
|
ApplicationServerOptions |
ApplicationServerOptions.usePort(int port)
Use this method to configure a custom port on which the application server
will listen to.
|
ApplicationServerOptions |
ApplicationServerOptions.useTokenAuthenticator(TokenAuthenticator tokenAuthenticator)
Use this method to configure a custom
TokenAuthenticator that will be
used in the application server to authenticate the user via tokens retrieved
in the authorization header. |
| Modifier and Type | Method and Description |
|---|---|
SecurityTestRule |
SecurityTestRule.useApplicationServer(ApplicationServerOptions applicationServerOptions)
Specifies an embedded jetty as servlet server.
|
SecurityTest |
SecurityTest.useApplicationServer(ApplicationServerOptions applicationServerOptions)
Specifies an embedded jetty as servlet server.
|
Copyright © 2020. All rights reserved.