public class ServerOptions extends Object
| Constructor and Description |
|---|
ServerOptions(String serviceType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthentication()
Get the authentication type for the secure annotations.
|
Boolean |
getCors()
Get whether W3C CORS is enabled from the test
run properties.
|
int |
getExpectedRequestCount()
Determine the number of client requests to expect for a
given type of authentication scheme.
|
Boolean |
getHttpExceptionHandling()
Get whether HTTP Exception Handling is enabled from the test
run properties.
|
Boolean |
getHttpMethods()
Get whether HTTP Methods are enabled from the test
run properties.
|
Boolean |
getHttpPostContentType()
Get whether HTTP POST Content-Type is enabled from the test
run properties.
|
String |
getIdpUrl()
Get the URL for the Identity Provider SSO resource.
|
String |
getServiceType()
Get the type of server to be emulated.
|
void |
setAuthentication(String auth)
Set the authentication method.
|
void |
setCors(boolean enabled) |
void |
setHttpExceptionHandling(boolean enabled) |
void |
setHttpMethods(boolean enabled) |
void |
setHttpPostContentType(boolean enabled) |
void |
setIdpUrl(String url)
Set the Identity Provider SSO resource URL.
|
public ServerOptions(String serviceType)
public String getAuthentication()
public int getExpectedRequestCount()
public Boolean getCors()
public Boolean getHttpExceptionHandling()
public Boolean getHttpPostContentType()
public Boolean getHttpMethods()
public String getIdpUrl()
public String getServiceType()
public void setAuthentication(String auth)
auth - A string with a valid authentication codepublic void setCors(boolean enabled)
public void setHttpExceptionHandling(boolean enabled)
public void setHttpMethods(boolean enabled)
public void setHttpPostContentType(boolean enabled)
public void setIdpUrl(String url)
url - A string with the URL to the Identity Provider SSO resource.Copyright © 2021 Open Geospatial Consortium. All rights reserved.