Re: [PR] [optimization] Removed unused code [tomcat]
rmaucher commented on PR #833: URL: https://github.com/apache/tomcat/pull/833#issuecomment-2755690885 The purpose of the code is to check the configuration. For clarity, I would like to keep it that way. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [PR] [optimization] Removed unused code [tomcat]
rmaucher closed pull request #833: [optimization] Removed unused code URL: https://github.com/apache/tomcat/pull/833 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [PR] Changed string comparison - need to use equals() instead of == or != [tomcat]
rmaucher closed pull request #834: Changed string comparison - need to use equals() instead of == or != URL: https://github.com/apache/tomcat/pull/834 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[PR] [optimization] Removed unused code [tomcat]
dk2k opened a new pull request, #833: URL: https://github.com/apache/tomcat/pull/833 the result of call Pattern.compile() isn't used. Variable int flags is redundant as a result -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [PR] Changed string comparison - need to use equals() instead of == or != [tomcat]
dk2k commented on PR #834: URL: https://github.com/apache/tomcat/pull/834#issuecomment-2755612999 @rmaucher Purpose like what? == comparison is OK when both strings are interned, and I don't think it's the case. And it's safe to use equals() for interned strings anyway -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[PR] Changed string concatenations to chained calls of append() [tomcat]
dk2k opened a new pull request, #835: URL: https://github.com/apache/tomcat/pull/835 Justification: each string concatenation becomes an anonimous stringbuilder, from which toString() result is used. It's about performance. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [PR] Changed string comparison - need to use equals() instead of == or != [tomcat]
markt-asf commented on PR #834: URL: https://github.com/apache/tomcat/pull/834#issuecomment-2755623844 There should be an explanation for each of those in the spot bugs exclusion file. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[PR] Changed string comparison - need to use equals() instead of == or != [tomcat]
dk2k opened a new pull request, #834: URL: https://github.com/apache/tomcat/pull/834 (no comment) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [PR] Changed string comparison - need to use equals() instead of == or != [tomcat]
rmaucher commented on PR #834: URL: https://github.com/apache/tomcat/pull/834#issuecomment-2755594755 This is most likely on purpose. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [PR] Expanding Parallel Deployment section of Tomcat Docs [tomcat]
markt-asf closed pull request #832: Expanding Parallel Deployment section of Tomcat Docs URL: https://github.com/apache/tomcat/pull/832 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [PR] Expanding Parallel Deployment section of Tomcat Docs [tomcat]
markt-asf commented on PR #832: URL: https://github.com/apache/tomcat/pull/832#issuecomment-2753632042 Nothing to do on your part. Thanks for the work you put into this. I've added a new runtime attribute section to the configuration documentation that documents the request and servlet context attributes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
(tomcat) 01/02: Deprecate unused code
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git commit 3265f22c60a9abd531dc66d57b6d1a5de9b0348a Author: Mark Thomas AuthorDate: Wed Mar 26 08:53:37 2025 + Deprecate unused code --- java/org/apache/catalina/Globals.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java/org/apache/catalina/Globals.java b/java/org/apache/catalina/Globals.java index 07321120cf..b48665ba9b 100644 --- a/java/org/apache/catalina/Globals.java +++ b/java/org/apache/catalina/Globals.java @@ -149,7 +149,10 @@ public final class Globals { /** * The subject under which the AccessControlContext is running. + * + * @deprecated Will be removed from Tomcat 11 onwards. */ +@Deprecated public static final String SUBJECT_ATTR = "javax.security.auth.subject"; - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
(tomcat) 02/02: Remove reference to deprecated code
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git commit 58cc087c20634a4e109d149981a63e18e64e99e9 Author: Mark Thomas AuthorDate: Wed Mar 26 08:53:49 2025 + Remove reference to deprecated code --- java/org/apache/catalina/session/Constants.java | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/java/org/apache/catalina/session/Constants.java b/java/org/apache/catalina/session/Constants.java index fcaa7f746e..8ebc578ce8 100644 --- a/java/org/apache/catalina/session/Constants.java +++ b/java/org/apache/catalina/session/Constants.java @@ -18,7 +18,6 @@ package org.apache.catalina.session; import java.util.Set; -import org.apache.catalina.Globals; import org.apache.catalina.valves.CrawlerSessionManagerValve; /** @@ -26,14 +25,11 @@ import org.apache.catalina.valves.CrawlerSessionManagerValve; * * @author Craig R. McClanahan */ - public class Constants { /** * Set of session attribute names used internally by Tomcat that should always be removed from the session before it * is persisted, replicated or equivalent. */ -public static final Set excludedAttributeNames = -Set.of(Globals.SUBJECT_ATTR, CrawlerSessionManagerValve.class.getName()); - +public static final Set excludedAttributeNames = Set.of(CrawlerSessionManagerValve.class.getName()); } - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
(tomcat) branch main updated (d4086a2967 -> 58cc087c20)
This is an automated email from the ASF dual-hosted git repository. markt pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git from d4086a2967 Document the runtime attributes available to web applications. new 3265f22c60 Deprecate unused code new 58cc087c20 Remove reference to deprecated code The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: java/org/apache/catalina/Globals.java | 3 +++ java/org/apache/catalina/session/Constants.java | 6 +- 2 files changed, 4 insertions(+), 5 deletions(-) - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 69631] New: java.nio.channels.WritePendingException when using https-openssl-nio2 and virtual threads
https://bz.apache.org/bugzilla/show_bug.cgi?id=69631 Bug ID: 69631 Summary: java.nio.channels.WritePendingException when using https-openssl-nio2 and virtual threads Product: Tomcat 11 Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: Connectors Assignee: dev@tomcat.apache.org Reporter: sephir...@sephiroth-j.de Target Milestone: --- When HTTPS is used in combination with Http11Nio2Protocol via OpenSSL and useVirtualThreads is set to true, occasional exceptions are observed only with the stacktrace and without a timestamp (a logger does not seem to be used). ``` Exception in thread "https-openssl-nio2-8443-virt-11363" java.nio.channels.WritePendingException at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:352) at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:399) at org.apache.tomcat.util.net.SecureNio2Channel$4.completed(SecureNio2Channel.java:1278) at org.apache.tomcat.util.net.SecureNio2Channel$4.completed(SecureNio2Channel.java:1272) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at java.base/java.lang.VirtualThread.run(VirtualThread.java:329) ``` Our configuration is as follows ``` ``` Version of Java ``` openjdk version "21.0.6" 2025-01-21 LTS OpenJDK Runtime Environment Zulu21.40+17-CA (build 21.0.6+7-LTS) OpenJDK 64-Bit Server VM Zulu21.40+17-CA (build 21.0.6+7-LTS, mixed mode, sharing) ``` Other versions: - APR 1.7.5 - OpenSSL 3.4.1 - TC-Native 2.0.8 - Tomcat 11.0.5 -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
(tomcat) branch 10.1.x updated: Add simple Java Compiler for JSP
This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/10.1.x by this push: new 5ff35e2bef Add simple Java Compiler for JSP 5ff35e2bef is described below commit 5ff35e2befe8363493e51456d53a257ed28110c1 Author: remm AuthorDate: Wed Mar 26 11:32:58 2025 +0100 Add simple Java Compiler for JSP Supports exploded webapps. Uses JDT code for error processing. --- java/org/apache/jasper/compiler/JavaCompiler.java | 108 ++ res/checkstyle/org-import-control.xml | 1 + webapps/docs/changelog.xml| 5 + 3 files changed, 114 insertions(+) diff --git a/java/org/apache/jasper/compiler/JavaCompiler.java b/java/org/apache/jasper/compiler/JavaCompiler.java new file mode 100644 index 00..2cc6d48c5c --- /dev/null +++ b/java/org/apache/jasper/compiler/JavaCompiler.java @@ -0,0 +1,108 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.jasper.compiler; + +import java.io.File; +import java.io.IOException; +import java.nio.charset.Charset; +import java.util.ArrayList; +import java.util.List; +import java.util.Locale; +import java.util.Map; + +import javax.tools.Diagnostic; +import javax.tools.DiagnosticCollector; +import javax.tools.JavaFileObject; +import javax.tools.StandardJavaFileManager; +import javax.tools.ToolProvider; + +import org.apache.jasper.JasperException; +import org.apache.juli.logging.Log; +import org.apache.juli.logging.LogFactory; + +/** + * Main JSP compiler class. This class uses the Java Compiler API for compiling. + */ +public class JavaCompiler extends Compiler { + +private final Log log = LogFactory.getLog(JavaCompiler.class); // must not be static + +@Override +protected void generateClass(Map smaps) throws JasperException, IOException { + +long t1 = 0; +if (log.isDebugEnabled()) { +t1 = System.currentTimeMillis(); +} + +javax.tools.JavaCompiler compiler = ToolProvider.getSystemJavaCompiler(); +DiagnosticCollector diagnostics = new DiagnosticCollector<>(); +StandardJavaFileManager fileManager = +compiler.getStandardFileManager(diagnostics, null, Charset.forName(ctxt.getOptions().getJavaEncoding())); +Iterable compilationUnits = +fileManager.getJavaFileObjectsFromFiles(List.of(new File(ctxt.getServletJavaFileName(; +// Perform Java compilation using the appropriate options +List compilerOptions = +List.of("-classpath", ctxt.getClassPath(), "-source", ctxt.getOptions().getCompilerSourceVM(), +"-target", ctxt.getOptions().getCompilerTargetVM()); +Boolean result = +compiler.getTask(null, fileManager, diagnostics, compilerOptions, null, compilationUnits).call(); + +List problemList = new ArrayList<>(); +if (!result.booleanValue()) { +for (Diagnostic diagnostic : diagnostics.getDiagnostics()) { +if (diagnostic.getKind() == Diagnostic.Kind.ERROR) { +try { + problemList.add(ErrorDispatcher.createJavacError(diagnostic.getSource().getName(), pageNodes, +new StringBuilder(diagnostic.getMessage(Locale.getDefault())), +(int) diagnostic.getLineNumber(), ctxt)); +} catch (JasperException e) { + log.error(Localizer.getMessage("jsp.error.compilation.jdtProblemError"), e); +} +} +} +} + +if (!ctxt.keepGenerated()) { +File javaFile = new File(ctxt.getServletJavaFileName()); +if (!javaFile.delete()) { +throw new JasperException(Localizer.getMessage("jsp.warning.compiler.javafile.delete.fail", javaFile)); +} +} + +if (!problemList.isEmpty()) { +JavacErrorDetail[] jeds = problemList.toArray(new JavacErrorDetail[0]); +errDispatcher.javacError(jed
(tomcat) branch 11.0.x updated: Add simple Java Compiler for JSP
This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 11.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/11.0.x by this push: new 79241fdb9b Add simple Java Compiler for JSP 79241fdb9b is described below commit 79241fdb9baf2769664302f78609c950c772ed0d Author: remm AuthorDate: Wed Mar 26 11:32:58 2025 +0100 Add simple Java Compiler for JSP Supports exploded webapps. Uses JDT code for error processing. --- java/org/apache/jasper/compiler/JavaCompiler.java | 108 ++ res/checkstyle/org-import-control.xml | 1 + webapps/docs/changelog.xml| 5 + 3 files changed, 114 insertions(+) diff --git a/java/org/apache/jasper/compiler/JavaCompiler.java b/java/org/apache/jasper/compiler/JavaCompiler.java new file mode 100644 index 00..2cc6d48c5c --- /dev/null +++ b/java/org/apache/jasper/compiler/JavaCompiler.java @@ -0,0 +1,108 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.jasper.compiler; + +import java.io.File; +import java.io.IOException; +import java.nio.charset.Charset; +import java.util.ArrayList; +import java.util.List; +import java.util.Locale; +import java.util.Map; + +import javax.tools.Diagnostic; +import javax.tools.DiagnosticCollector; +import javax.tools.JavaFileObject; +import javax.tools.StandardJavaFileManager; +import javax.tools.ToolProvider; + +import org.apache.jasper.JasperException; +import org.apache.juli.logging.Log; +import org.apache.juli.logging.LogFactory; + +/** + * Main JSP compiler class. This class uses the Java Compiler API for compiling. + */ +public class JavaCompiler extends Compiler { + +private final Log log = LogFactory.getLog(JavaCompiler.class); // must not be static + +@Override +protected void generateClass(Map smaps) throws JasperException, IOException { + +long t1 = 0; +if (log.isDebugEnabled()) { +t1 = System.currentTimeMillis(); +} + +javax.tools.JavaCompiler compiler = ToolProvider.getSystemJavaCompiler(); +DiagnosticCollector diagnostics = new DiagnosticCollector<>(); +StandardJavaFileManager fileManager = +compiler.getStandardFileManager(diagnostics, null, Charset.forName(ctxt.getOptions().getJavaEncoding())); +Iterable compilationUnits = +fileManager.getJavaFileObjectsFromFiles(List.of(new File(ctxt.getServletJavaFileName(; +// Perform Java compilation using the appropriate options +List compilerOptions = +List.of("-classpath", ctxt.getClassPath(), "-source", ctxt.getOptions().getCompilerSourceVM(), +"-target", ctxt.getOptions().getCompilerTargetVM()); +Boolean result = +compiler.getTask(null, fileManager, diagnostics, compilerOptions, null, compilationUnits).call(); + +List problemList = new ArrayList<>(); +if (!result.booleanValue()) { +for (Diagnostic diagnostic : diagnostics.getDiagnostics()) { +if (diagnostic.getKind() == Diagnostic.Kind.ERROR) { +try { + problemList.add(ErrorDispatcher.createJavacError(diagnostic.getSource().getName(), pageNodes, +new StringBuilder(diagnostic.getMessage(Locale.getDefault())), +(int) diagnostic.getLineNumber(), ctxt)); +} catch (JasperException e) { + log.error(Localizer.getMessage("jsp.error.compilation.jdtProblemError"), e); +} +} +} +} + +if (!ctxt.keepGenerated()) { +File javaFile = new File(ctxt.getServletJavaFileName()); +if (!javaFile.delete()) { +throw new JasperException(Localizer.getMessage("jsp.warning.compiler.javafile.delete.fail", javaFile)); +} +} + +if (!problemList.isEmpty()) { +JavacErrorDetail[] jeds = problemList.toArray(new JavacErrorDetail[0]); +errDispatcher.javacError(jed
(tomcat) branch 11.0.x updated: Document the runtime attributes available to web applications.
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 11.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/11.0.x by this push: new f2223e2509 Document the runtime attributes available to web applications. f2223e2509 is described below commit f2223e2509cf0dbf7320ee3134e1a4e1fc7db74c Author: Mark Thomas AuthorDate: Wed Mar 26 08:32:11 2025 + Document the runtime attributes available to web applications. Based on #832 by usmazat. --- webapps/docs/changelog.xml | 5 + webapps/docs/config/context.xml| 8 +- webapps/docs/config/project.xml| 1 + webapps/docs/config/runtime-attributes.xml | 180 + 4 files changed, 193 insertions(+), 1 deletion(-) diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index de0a9ca6fc..042e9c82b5 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -192,6 +192,11 @@ Documentation. Add a link to the Log4j documentation that describes how to use Log4j rather than JULI for Tomcat's internal logging. (markt) + +Documentation. Document the runtime attributes available to web +applications via the Request or the ServletContext. Based on pull +request 832 by usmazat. (markt) + diff --git a/webapps/docs/config/context.xml b/webapps/docs/config/context.xml index a2fad26af6..99100f684e 100644 --- a/webapps/docs/config/context.xml +++ b/webapps/docs/config/context.xml @@ -175,7 +175,13 @@ recommended that zero padding is used so that foo##002.war is treated as an earlier version than foo##011.war. - + To get the current webapp version number in a servlet you should use + org.apache.catalina.webappVersion + attribute, like this: + String webappVersion = + (String)request.getServletContext().getAttribute("org.apache.catalina.webappVersion"); + + If you want to deploy a WAR file or a directory using a context path that is not related to the base file name then one of the following options must be used to prevent double-deployment: diff --git a/webapps/docs/config/project.xml b/webapps/docs/config/project.xml index 2ad249bb2d..802a60f88f 100644 --- a/webapps/docs/config/project.xml +++ b/webapps/docs/config/project.xml @@ -89,6 +89,7 @@ + diff --git a/webapps/docs/config/runtime-attributes.xml b/webapps/docs/config/runtime-attributes.xml new file mode 100644 index 00..4c3ab79adb --- /dev/null +++ b/webapps/docs/config/runtime-attributes.xml @@ -0,0 +1,180 @@ + + + +]> + + + &project; + + +Runtime attributes + + + + + + + + + + + The following attributes are made available to web applications at runtime. + Many of these attributes provide access to Tomcat internals. Attributes that + expose Tomcat internals may be explicitly requested by name but are often + deliberately not included when requesting a list of available attributes. + + + + Request attributes are made available to web applications via a call to + ServletRequest.getAttribute(String). + + + The Servlet specification defined attribute for the name of the cipher + suite being used on an SSL connection. + + + The Servlet specification defined attribute for the key size being used + on an SSL connection. + + + The Servlet specification defined attribute for the name of the + security protocol (e.g. TLSv1.3) being used on a secured connection. + + + The Servlet specification defined attribute for the session ID being + used for an SSL connection. + + + A Tomcat specific extension to the Servlet specification that provides + the session manager being used for an SSL connection. + + + The Servlet specification defined attribute for the array of + X509Certificate objects representing the certificate chain presented by + our client, if any. + + + Does the processing chain (Servlet, Filters, Valves) for the current + request support asynchronous processing? Each component in the chain must + support asynchronous processing for this to be true. + + + The name of the target Servlet for the current named dispatch, if + any. + + + The current jakarta.servlet.DispatcherType for the + request. + + + The current path (Servlet Info + Path Info) to which the request has + been dispatched. + + + The request attribute that is set to the value of + Boolean.TRUE if the RemoteIpFilter determines that this + request was submitted via a secure channel. + + + The GSS credential for the currently authenticated user if they have + successfully authenticated using SPNEGO authentication. + + + The request att
[Bug 69632] Cozy Home Spheres
https://bz.apache.org/bugzilla/show_bug.cgi?id=69632 nekon changed: What|Removed |Added URL||https://www.weddingbee.com/ ||members/nekon/ OS||All -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 69632] New: Cozy Home Spheres
https://bz.apache.org/bugzilla/show_bug.cgi?id=69632 Bug ID: 69632 Summary: Cozy Home Spheres Product: Tomcat Native Version: unspecified Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Library Assignee: dev@tomcat.apache.org Reporter: neko.shem...@thedaring.org Target Milestone: --- Are you passionate about home improvement tips and tricks? Cozy Home Spheres invites contributors to share valuable insights on home renovation, interior design, and DIY projects. Join us in creating a community of home improvement enthusiasts! -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org