public interface HttpInterfaceCommonPolicy
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllowedOrigins()
Get the list of origins that the server should accept requests from, if none set then all forms of cross origin resource sharing are disabled.
|
org.xnio.OptionMap |
getConnectorOptions()
Get the connector options based on the current configuration.
|
String |
getHttpAuthenticationFactory()
Get the name of the HTTP authentication factory to use to secure the interface for normal HTTP requests.
|
String |
getSaslAuthenticationFactory()
Get the name of the SASL authentication factory to use to secure the interface where HTTP upgrade is used.
|
String |
getSecurityRealm()
Get the name of the security realm to secure the HTTP interface, or
null if one has not been defined. |
String |
getSSLContext()
Get the name of the SSLContext to use to enable SSL for this management interface.
|
boolean |
isConsoleEnabled()
Is the management console enabled, is set to
false the console should not be made available. |
boolean |
isHttpUpgradeEnabled()
Is upgrading to a Remoting connection over the HTTP interface enabled.
|
String getHttpAuthenticationFactory()
String getSSLContext()
String getSaslAuthenticationFactory()
String getSecurityRealm()
null if one has not been defined.boolean isConsoleEnabled()
false the console should not be made available.true if the management console should be made available, false otherwise.boolean isHttpUpgradeEnabled()
true if HTTP Upgrade to the native protocol is enabled, false otherwise.org.xnio.OptionMap getConnectorOptions()
List<String> getAllowedOrigins()
List or null both signal that cross origin resource sharing should be disabled.Copyright © 2017 JBoss by Red Hat. All rights reserved.