Modifier and Type | Method and Description |
---|---|
static DeploymentInfo |
Servlets.deployment()
Creates a new servlet deployment info structure
|
Modifier and Type | Method and Description |
---|---|
void |
ServletExtension.handleDeployment(DeploymentInfo deploymentInfo,
ServletContext servletContext) |
Modifier and Type | Method and Description |
---|---|
DeploymentInfo |
DeploymentInfo.addAuthenticationMechanism(String name,
AuthenticationMechanismFactory factory)
Adds an authentication mechanism.
|
DeploymentInfo |
DeploymentInfo.addErrorPage(ErrorPage errorPage) |
DeploymentInfo |
DeploymentInfo.addErrorPages(Collection<ErrorPage> errorPages) |
DeploymentInfo |
DeploymentInfo.addErrorPages(ErrorPage... errorPages) |
DeploymentInfo |
DeploymentInfo.addFilter(FilterInfo filter) |
DeploymentInfo |
DeploymentInfo.addFilters(Collection<FilterInfo> filters) |
DeploymentInfo |
DeploymentInfo.addFilters(FilterInfo... filters) |
DeploymentInfo |
DeploymentInfo.addFilterServletNameMapping(String filterName,
String mapping,
DispatcherType dispatcher) |
DeploymentInfo |
DeploymentInfo.addFilterUrlMapping(String filterName,
String mapping,
DispatcherType dispatcher) |
DeploymentInfo |
DeploymentInfo.addFirstAuthenticationMechanism(String name,
AuthenticationMechanism mechanism)
Adds an authentication mechanism directly to the deployment.
|
DeploymentInfo |
DeploymentInfo.addInitialHandlerChainWrapper(HandlerWrapper wrapper) |
DeploymentInfo |
DeploymentInfo.addInitParameter(String name,
String value) |
DeploymentInfo |
DeploymentInfo.addInnerHandlerChainWrapper(HandlerWrapper wrapper)
Adds an inner handler chain wrapper.
|
DeploymentInfo |
DeploymentInfo.addLastAuthenticationMechanism(String name,
AuthenticationMechanism mechanism)
Adds an authentication mechanism directly to the deployment.
|
DeploymentInfo |
DeploymentInfo.addLifecycleInterceptor(LifecycleInterceptor interceptor) |
DeploymentInfo |
DeploymentInfo.addListener(ListenerInfo listener) |
DeploymentInfo |
DeploymentInfo.addListeners(Collection<ListenerInfo> listeners) |
DeploymentInfo |
DeploymentInfo.addListeners(ListenerInfo... listeners) |
DeploymentInfo |
DeploymentInfo.addLocaleCharsetMapping(String locale,
String charset) |
DeploymentInfo |
DeploymentInfo.addMimeMapping(MimeMapping mimeMappings) |
DeploymentInfo |
DeploymentInfo.addMimeMappings(Collection<MimeMapping> mimeMappings) |
DeploymentInfo |
DeploymentInfo.addMimeMappings(MimeMapping... mimeMappings) |
DeploymentInfo |
DeploymentInfo.addNotificactionReceivers(NotificationReceiver... notificationReceivers) |
DeploymentInfo |
DeploymentInfo.addNotificationReceiver(NotificationReceiver notificationReceiver) |
DeploymentInfo |
DeploymentInfo.addNotificationReceivers(Collection<NotificationReceiver> notificationReceivers) |
DeploymentInfo |
DeploymentInfo.addOuterHandlerChainWrapper(HandlerWrapper wrapper)
Adds an outer handler wrapper.
|
DeploymentInfo |
DeploymentInfo.addPrincipalVsRoleMapping(String principal,
String mapping) |
DeploymentInfo |
DeploymentInfo.addPrincipalVsRoleMappings(String principal,
Collection<String> mappings) |
DeploymentInfo |
DeploymentInfo.addPrincipalVsRoleMappings(String principal,
String... mappings) |
DeploymentInfo |
DeploymentInfo.addSecurityConstraint(SecurityConstraint securityConstraint) |
DeploymentInfo |
DeploymentInfo.addSecurityConstraints(Collection<SecurityConstraint> securityConstraints) |
DeploymentInfo |
DeploymentInfo.addSecurityConstraints(SecurityConstraint... securityConstraints) |
DeploymentInfo |
DeploymentInfo.addSecurityRole(String role) |
DeploymentInfo |
DeploymentInfo.addSecurityRoles(Collection<String> roles) |
DeploymentInfo |
DeploymentInfo.addSecurityRoles(String... roles) |
DeploymentInfo |
DeploymentInfo.addSecurityWrapper(HandlerWrapper wrapper)
Adds a security handler.
|
DeploymentInfo |
DeploymentInfo.addServlet(ServletInfo servlet) |
DeploymentInfo |
DeploymentInfo.addServletContainerInitalizer(ServletContainerInitializerInfo servletContainerInitializer) |
DeploymentInfo |
DeploymentInfo.addServletContainerInitalizers(List<ServletContainerInitializerInfo> servletContainerInitializer) |
DeploymentInfo |
DeploymentInfo.addServletContainerInitalizers(ServletContainerInitializerInfo... servletContainerInitializer) |
DeploymentInfo |
DeploymentInfo.addServletContextAttribute(String name,
Object value) |
DeploymentInfo |
DeploymentInfo.addServletExtension(ServletExtension servletExtension)
Adds an additional servlet extension to the deployment.
|
DeploymentInfo |
DeploymentInfo.addServlets(Collection<ServletInfo> servlets) |
DeploymentInfo |
DeploymentInfo.addServlets(ServletInfo... servlets) |
DeploymentInfo |
DeploymentInfo.addSessionListener(SessionListener sessionListener) |
DeploymentInfo |
DeploymentInfo.addThreadSetupAction(ThreadSetupAction action)
Deprecated.
|
DeploymentInfo |
DeploymentInfo.addThreadSetupAction(ThreadSetupHandler action) |
DeploymentInfo |
DeploymentInfo.addWelcomePage(String welcomePage) |
DeploymentInfo |
DeploymentInfo.addWelcomePages(Collection<String> welcomePages) |
DeploymentInfo |
DeploymentInfo.addWelcomePages(String... welcomePages) |
DeploymentInfo |
DeploymentInfo.clearLoginMethods()
Removes all configured authentication mechanisms from the deployment.
|
DeploymentInfo |
DeploymentInfo.clone() |
DeploymentInfo |
Deployment.getDeploymentInfo() |
DeploymentInfo |
DeploymentInfo.insertFilterServletNameMapping(int pos,
String filterName,
String mapping,
DispatcherType dispatcher) |
DeploymentInfo |
DeploymentInfo.insertFilterUrlMapping(int pos,
String filterName,
String mapping,
DispatcherType dispatcher) |
DeploymentInfo |
DeploymentInfo.setAllowNonStandardWrappers(boolean allowNonStandardWrappers) |
DeploymentInfo |
DeploymentInfo.setAsyncExecutor(Executor asyncExecutor)
Sets the executor that is used to run async tasks.
|
DeploymentInfo |
DeploymentInfo.setAuthenticationMode(AuthenticationMode authenticationMode)
Sets if this deployment should use pro-active authentication and always authenticate if the credentials are present
or constraint driven auth which will only call the authentication mechanisms for protected resources.
|
DeploymentInfo |
DeploymentInfo.setAuthorizationManager(AuthorizationManager authorizationManager) |
DeploymentInfo |
DeploymentInfo.setChangeSessionIdOnLogin(boolean changeSessionIdOnLogin) |
DeploymentInfo |
DeploymentInfo.setCheckOtherSessionManagers(boolean checkOtherSessionManagers)
If this is true then when an existing invalid session id is found all other deployments in the container will have their
session managers checked to see if it represents a valid session.
|
DeploymentInfo |
DeploymentInfo.setClassIntrospecter(ClassIntrospecter classIntrospecter) |
DeploymentInfo |
DeploymentInfo.setClassLoader(ClassLoader classLoader) |
DeploymentInfo |
DeploymentInfo.setConfidentialPortManager(ConfidentialPortManager confidentialPortManager) |
DeploymentInfo |
DeploymentInfo.setContentTypeCacheSize(int contentTypeCacheSize) |
DeploymentInfo |
DeploymentInfo.setContextPath(String contextPath) |
DeploymentInfo |
DeploymentInfo.setCrawlerSessionManagerConfig(CrawlerSessionManagerConfig crawlerSessionManagerConfig) |
DeploymentInfo |
DeploymentInfo.setDefaultCookieVersion(int defaultCookieVersion) |
DeploymentInfo |
DeploymentInfo.setDefaultEncoding(String defaultEncoding)
Sets the default encoding that will be used for servlet responses
|
DeploymentInfo |
DeploymentInfo.setDefaultMultipartConfig(MultipartConfigElement defaultMultipartConfig) |
DeploymentInfo |
DeploymentInfo.setDefaultServletConfig(DefaultServletConfig defaultServletConfig) |
DeploymentInfo |
DeploymentInfo.setDefaultSessionTimeout(int defaultSessionTimeout) |
DeploymentInfo |
DeploymentInfo.setDenyUncoveredHttpMethods(boolean denyUncoveredHttpMethods) |
DeploymentInfo |
DeploymentInfo.setDeploymentName(String deploymentName) |
DeploymentInfo |
DeploymentInfo.setDisableCachingForSecuredPages(boolean disableCachingForSecuredPages) |
DeploymentInfo |
DeploymentInfo.setDisplayName(String displayName) |
DeploymentInfo |
DeploymentInfo.setEagerFilterInit(boolean eagerFilterInit) |
DeploymentInfo |
DeploymentInfo.setEscapeErrorMessage(boolean escapeErrorMessage)
Set if if the message passed to
HttpServletResponse.sendError(int, String) should be escaped. |
DeploymentInfo |
DeploymentInfo.setExceptionHandler(ExceptionHandler exceptionHandler)
Sets the default exception handler for this deployment
|
DeploymentInfo |
DeploymentInfo.setExecutor(Executor executor)
Sets the executor that will be used to run servlet invocations.
|
DeploymentInfo |
DeploymentInfo.setHostName(String hostName) |
DeploymentInfo |
DeploymentInfo.setIdentityManager(IdentityManager identityManager) |
DeploymentInfo |
DeploymentInfo.setIgnoreFlush(boolean ignoreFlush) |
DeploymentInfo |
DeploymentInfo.setInitialSecurityWrapper(HandlerWrapper wrapper)
Sets the initial handler wrapper that will take over responsibility for establishing
a security context that will handle authentication for the request.
|
DeploymentInfo |
DeploymentInfo.setInvalidateSessionOnLogout(boolean invalidateSessionOnLogout) |
DeploymentInfo |
DeploymentInfo.setJaspiAuthenticationMechanism(AuthenticationMechanism jaspiAuthenticationMechanism) |
DeploymentInfo |
DeploymentInfo.setJspConfigDescriptor(JspConfigDescriptor jspConfigDescriptor) |
DeploymentInfo |
DeploymentInfo.setLoginConfig(LoginConfig loginConfig) |
DeploymentInfo |
DeploymentInfo.setMajorVersion(int majorVersion) |
DeploymentInfo |
DeploymentInfo.setMetricsCollector(MetricsCollector metricsCollector) |
DeploymentInfo |
DeploymentInfo.setMinorVersion(int minorVersion) |
DeploymentInfo |
DeploymentInfo.setResourceManager(ResourceManager resourceManager) |
DeploymentInfo |
DeploymentInfo.setSecurityContextFactory(SecurityContextFactory securityContextFactory) |
DeploymentInfo |
DeploymentInfo.setSecurityDisabled(boolean securityDisabled) |
DeploymentInfo |
DeploymentInfo.setSendCustomReasonPhraseOnError(boolean sendCustomReasonPhraseOnError)
If this is true then the message parameter of
HttpServletResponse.sendError(int, String) and
HttpServletResponse.setStatus(int, String) will be used as the HTTP reason phrase in
the response. |
DeploymentInfo |
DeploymentInfo.setServerName(String serverName) |
DeploymentInfo |
DeploymentInfo.setServletContextAttributeBackingMap(ConcurrentMap<String,Object> servletContextAttributeBackingMap)
Sets the map that will be used by the ServletContext implementation to store attributes.
|
DeploymentInfo |
DeploymentInfo.setServletSessionConfig(ServletSessionConfig servletSessionConfig) |
DeploymentInfo |
DeploymentInfo.setServletStackTraces(ServletStackTraces servletStackTraces) |
DeploymentInfo |
DeploymentInfo.setSessionConfigWrapper(SessionConfigWrapper sessionConfigWrapper) |
DeploymentInfo |
DeploymentInfo.setSessionIdGenerator(SessionIdGenerator sessionIdGenerator) |
DeploymentInfo |
DeploymentInfo.setSessionManagerFactory(SessionManagerFactory sessionManagerFactory) |
DeploymentInfo |
DeploymentInfo.setSessionPersistenceManager(SessionPersistenceManager sessionPersistenceManager) |
DeploymentInfo |
DeploymentInfo.setTempDir(File tempDir) |
DeploymentInfo |
DeploymentInfo.setTempDir(Path tempDir) |
DeploymentInfo |
DeploymentInfo.setUrlEncoding(String urlEncoding)
Sets the URL encoding.
|
DeploymentInfo |
DeploymentInfo.setUseCachedAuthenticationMechanism(boolean useCachedAuthenticationMechanism)
If this is set to false the the cached authenticated session mechanism won't be installed.
|
Modifier and Type | Method and Description |
---|---|
DeploymentManager |
ServletContainer.addDeployment(DeploymentInfo deployment) |
void |
ServletContainer.removeDeployment(DeploymentInfo deploymentInfo) |
Modifier and Type | Method and Description |
---|---|
DeploymentInfo |
DeploymentImpl.getDeploymentInfo() |
Modifier and Type | Method and Description |
---|---|
DeploymentManager |
ServletContainerImpl.addDeployment(DeploymentInfo deployment) |
void |
DeploymentManagerImpl.handleDeploymentSessionConfig(DeploymentInfo deploymentInfo,
ServletContextImpl servletContext) |
void |
ServletContainerImpl.removeDeployment(DeploymentInfo deploymentInfo) |
Constructor and Description |
---|
DeploymentImpl(DeploymentManager deploymentManager,
DeploymentInfo deploymentInfo,
ServletContainer servletContainer) |
DeploymentManagerImpl(DeploymentInfo deployment,
ServletContainer servletContainer) |
Modifier and Type | Method and Description |
---|---|
static SecurityPathMatches.Builder |
SecurityPathMatches.builder(DeploymentInfo deploymentInfo) |
Modifier and Type | Method and Description |
---|---|
void |
PicketLinkAuthenticatorServletExtension.handleDeployment(DeploymentInfo deploymentInfo,
ServletContext servletContext) |
Modifier and Type | Method and Description |
---|---|
void |
IDPServletExtension.handleDeployment(DeploymentInfo deploymentInfo,
ServletContext servletContext) |
Modifier and Type | Method and Description |
---|---|
void |
SPServletExtension.handleDeployment(DeploymentInfo deploymentInfo,
ServletContext servletContext) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.