public class HttpManagement extends AbstractPluginAdapter<HttpManagement> implements HttpManagementConfiguration<HttpManagement>, PortManager
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameException| Modifier and Type | Field and Description |
|---|---|
boolean |
_corsAllowCredentials |
String |
_corsAllowHeaders |
Set<String> |
_corsAllowMethods |
String |
_corsAllowOrigins |
static String |
DEFAULT_LOGIN_URL |
static String |
DEFAULT_LOGOUT_URL |
static int |
DEFAULT_TIMEOUT_IN_SECONDS |
static String |
HTTP_BASIC_AUTHENTICATION_ENABLED |
static String |
HTTP_SASL_AUTHENTICATION_ENABLED |
static String |
HTTPS_BASIC_AUTHENTICATION_ENABLED |
static String |
HTTPS_SASL_AUTHENTICATION_ENABLED |
static String |
PLUGIN_TYPE |
static String |
TIME_OUT |
SECURED_STRING_VALUEDEFAULT_COMPRESS_RESPONSES, DEFAULT_DISABLE_UI, DEFAULT_HTTP_MANAGEMENT_ENABLE_CONTENT_AUTHENTICATION, DEFAULT_MAX_UPLOAD_SIZE, DEFAULT_PREFERENCE_OPERATION_TIMEOUT, DEFAULT_SASL_EXCHANGE_EXPIRY, DISABLE_UI_CONTEXT_NAME, HTTP_MANAGEMENT_COMPRESS_RESPONSES, HTTP_MANAGEMENT_ENABLE_CONTENT_AUTHENTICATION, MAX_HTTP_FILE_UPLOAD_SIZE_CONTEXT_NAME, PREFERENCE_OPERTAION_TIMEOUT_CONTEXT_NAME, SASL_EXCHANGE_EXPIRY_CONTEXT_NAMEAWAIT_ATTAINMENT_TIMEOUT, CONTEXT, CREATED_BY, CREATED_TIME, DEFAULT_AWAIT_ATTAINMENT_TIMEOUT, DESCRIPTION, DESIRED_STATE, DURABLE, ID, LAST_UPDATED_BY, LAST_UPDATED_TIME, LIFETIME_POLICY, NAME, OVER_SIZED_ATTRIBUTE_ALTERNATIVE_TEXT, STATE, TYPE| Constructor and Description |
|---|
HttpManagement(Map<String,Object> attributes,
Broker broker) |
getBroker, getChildren, onValidateaddChangeListener, addChildAsync, addFutureCallback, applyToChildren, asObjectRecord, attainState, attributeSet, authorise, authorise, authorise, authoriseCreateChild, awaitChildClassToAttainState, awaitChildClassToAttainState, beforeClose, beforeDelete, changeAttributes, childAdded, childRemoved, close, closeAsync, closeChildren, create, createAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, deleteChildren, deleteNoChecks, doAfter, doAfter, doAfter, doAfter, doAfter, doAfter, doAfterAlways, doAfterAlways, doCreation, doOnConfigThread, doOpening, doResolution, doSync, doSync, doValidation, findConfiguredObject, forceUpdateAllSecureAttributes, getAccessControl, getActualAttributes, getAncestor, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getContext, getContextKeys, getContextValue, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getStatistics, getSubjectWithAddedSystemRights, getSystemPrincipal, getSystemTaskControllerContext, getSystemTaskSubject, getSystemTaskSubject, getTaskExecutor, getType, getTypeClass, getUserPreferences, handleExceptionOnOpen, hasEncrypter, isDurable, isSystemProcess, isSystemSubject, logOperation, managesChildStorage, newToken, notifyStateChanged, onCreate, onDelete, onExceptionInOpen, onResolve, open, openAsync, postResolve, postResolveChildren, postSetAttributes, registerWithParents, removeChangeListener, removeContextVariable, rethrowRuntimeExceptionsOnOpen, runTask, setAttributes, setAttributesAsync, setContextVariable, setEncrypter, setState, setUserPreferences, start, startAsync, stop, toString, updateModel, validateChildDelete, validateOnCreateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddChangeListener, asObjectRecord, authorise, authorise, authorise, close, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getStatistics, getType, getTypeClass, getUserPreferences, hasEncrypter, isDurable, managesChildStorage, newToken, open, openAsync, removeChangeListener, removeContextVariable, setAttributes, setAttributesAsync, setContextVariable, setUserPreferencesgetContextKeys, getContextValue, getContextValuegetTaskExecutorpublic static final int DEFAULT_TIMEOUT_IN_SECONDS
public static final String TIME_OUT
public static final String HTTP_BASIC_AUTHENTICATION_ENABLED
public static final String HTTPS_BASIC_AUTHENTICATION_ENABLED
public static final String HTTP_SASL_AUTHENTICATION_ENABLED
public static final String HTTPS_SASL_AUTHENTICATION_ENABLED
public static final String PLUGIN_TYPE
public static final String DEFAULT_LOGOUT_URL
public static final String DEFAULT_LOGIN_URL
public String _corsAllowOrigins
public String _corsAllowHeaders
public boolean _corsAllowCredentials
protected void onOpen()
onOpen in class AbstractConfiguredObject<HttpManagement>protected com.google.common.util.concurrent.ListenableFuture<Void> onClose()
onClose in class AbstractConfiguredObject<HttpManagement>public int getSessionTimeout()
getSessionTimeout in interface HttpManagementConfiguration<HttpManagement>public String getCorsAllowOrigins()
getCorsAllowOrigins in interface HttpManagementConfiguration<HttpManagement>public Set<String> getCorsAllowMethods()
getCorsAllowMethods in interface HttpManagementConfiguration<HttpManagement>public String getCorsAllowHeaders()
getCorsAllowHeaders in interface HttpManagementConfiguration<HttpManagement>public boolean getCorsAllowCredentials()
getCorsAllowCredentials in interface HttpManagementConfiguration<HttpManagement>public int getBoundPort(HttpPort httpPort)
getBoundPort in interface PortManagerpublic int getNumberOfAcceptors(HttpPort httpPort)
getNumberOfAcceptors in interface PortManagerpublic int getNumberOfSelectors(HttpPort httpPort)
getNumberOfSelectors in interface PortManagerpublic SSLContext getSSLContext(HttpPort httpPort)
getSSLContext in interface PortManagerpublic boolean updateSSLContext(HttpPort httpPort)
updateSSLContext in interface PortManagerpublic boolean isHttpsSaslAuthenticationEnabled()
isHttpsSaslAuthenticationEnabled in interface HttpManagementConfiguration<HttpManagement>public boolean isHttpSaslAuthenticationEnabled()
isHttpSaslAuthenticationEnabled in interface HttpManagementConfiguration<HttpManagement>public boolean isHttpsBasicAuthenticationEnabled()
isHttpsBasicAuthenticationEnabled in interface HttpManagementConfiguration<HttpManagement>public boolean isHttpBasicAuthenticationEnabled()
isHttpBasicAuthenticationEnabled in interface HttpManagementConfiguration<HttpManagement>public boolean isCompressResponses()
isCompressResponses in interface HttpManagementConfiguration<HttpManagement>public AuthenticationProvider getAuthenticationProvider(javax.servlet.http.HttpServletRequest request)
getAuthenticationProvider in interface HttpManagementConfiguration<HttpManagement>public static Set<String> getAllAvailableCorsMethodCombinations()
public HttpPort<?> getPort(javax.servlet.http.HttpServletRequest request)
getPort in interface HttpManagementConfiguration<HttpManagement>protected void validateChange(ConfiguredObject<?> proxyForValidation, Set<String> changedAttributes)
validateChange in class AbstractConfiguredObject<HttpManagement>public long getSaslExchangeExpiry()
getSaslExchangeExpiry in interface HttpManagementConfiguration<HttpManagement>Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.