(tomcat) branch main updated: Drop cut and paste javadocs

2024-05-07 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
 new 27c8fd1d9b Drop cut and paste javadocs
27c8fd1d9b is described below

commit 27c8fd1d9b4db71293924c4dfb4dbc0627bb5169
Author: remm 
AuthorDate: Tue May 7 10:37:19 2024 +0200

Drop cut and paste javadocs

And some cleanups.
---
 java/org/apache/naming/AbstractRef.java|   7 -
 java/org/apache/naming/NameParserImpl.java |  10 -
 java/org/apache/naming/NamingContext.java  | 319 
 .../naming/NamingContextBindingsEnumeration.java   |   9 -
 .../apache/naming/NamingContextEnumeration.java|   9 -
 java/org/apache/naming/SelectorContext.java| 329 -
 java/org/apache/naming/factory/BeanFactory.java|   5 +
 .../naming/factory/DataSourceLinkFactory.java  |   5 -
 java/org/apache/naming/factory/FactoryBase.java|   5 -
 java/org/apache/naming/factory/LookupFactory.java  |   5 +
 .../apache/naming/factory/MailSessionFactory.java  |  14 -
 java/org/apache/naming/factory/OpenEjbFactory.java |   5 +
 .../apache/naming/factory/ResourceLinkFactory.java |   8 +-
 .../apache/naming/java/javaURLContextFactory.java  |  13 +-
 14 files changed, 33 insertions(+), 710 deletions(-)

diff --git a/java/org/apache/naming/AbstractRef.java 
b/java/org/apache/naming/AbstractRef.java
index e9a657b784..a01ec9b212 100644
--- a/java/org/apache/naming/AbstractRef.java
+++ b/java/org/apache/naming/AbstractRef.java
@@ -37,10 +37,6 @@ public abstract class AbstractRef extends Reference {
 }
 
 
-/**
- * Retrieves the class name of the factory of the object to which this
- * reference refers.
- */
 @Override
 public final String getFactoryClassName() {
 String factory = super.getFactoryClassName();
@@ -60,9 +56,6 @@ public abstract class AbstractRef extends Reference {
 protected abstract String getDefaultFactoryClassName();
 
 
-/**
- * Return a String rendering of this object.
- */
 @Override
 public final String toString() {
 StringBuilder sb = new StringBuilder(this.getClass().getSimpleName());
diff --git a/java/org/apache/naming/NameParserImpl.java 
b/java/org/apache/naming/NameParserImpl.java
index 9b6e4d38fe..f2650da31c 100644
--- a/java/org/apache/naming/NameParserImpl.java
+++ b/java/org/apache/naming/NameParserImpl.java
@@ -30,19 +30,9 @@ public class NameParserImpl
 implements NameParser {
 
 
-// - Instance Variables
-
-
 // - NameParser Methods
 
 
-/**
- * Parses a name into its components.
- *
- * @param name The non-null string name to parse
- * @return A non-null parsed form of the name using the naming convention
- * of this parser.
- */
 @Override
 public Name parse(String name)
 throws NamingException {
diff --git a/java/org/apache/naming/NamingContext.java 
b/java/org/apache/naming/NamingContext.java
index 2cae5f14d7..33b3f4caec 100644
--- a/java/org/apache/naming/NamingContext.java
+++ b/java/org/apache/naming/NamingContext.java
@@ -142,16 +142,6 @@ public class NamingContext implements Context {
 
 //  Context Methods
 
-/**
- * Retrieves the named object. If name is empty, returns a new instance
- * of this context (which represents the same naming context as this
- * context, but its environment may be modified independently and it may
- * be accessed concurrently).
- *
- * @param name the name of the object to look up
- * @return the object bound to name
- * @exception NamingException if a naming exception is encountered
- */
 @Override
 public Object lookup(Name name)
 throws NamingException {
@@ -159,13 +149,6 @@ public class NamingContext implements Context {
 }
 
 
-/**
- * Retrieves the named object.
- *
- * @param name the name of the object to look up
- * @return the object bound to name
- * @exception NamingException if a naming exception is encountered
- */
 @Override
 public Object lookup(String name)
 throws NamingException {
@@ -173,18 +156,6 @@ public class NamingContext implements Context {
 }
 
 
-/**
- * Binds a name to an object. All intermediate contexts and the target
- * context (that named by all but terminal atomic component of the name)
- * must already exist.
- *
- * @param name the name to bind; may not be empty
- * @param obj the object to bind; possibly null
- * @exception NameAlreadyBoundException if name is already bound
- * @exception javax.naming.directory.InvalidAttributesException if object
- * did not supply all mandator

(tomcat) branch 10.1.x updated: Drop cut and paste javadocs

2024-05-07 Thread remm
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 7d05ac5170 Drop cut and paste javadocs
7d05ac5170 is described below

commit 7d05ac5170152bf5f681419a5656296f8b1c52ed
Author: remm 
AuthorDate: Tue May 7 10:37:19 2024 +0200

Drop cut and paste javadocs

And some cleanups.
---
 java/org/apache/naming/AbstractRef.java|   7 -
 java/org/apache/naming/NameParserImpl.java |  10 -
 java/org/apache/naming/NamingContext.java  | 319 
 .../naming/NamingContextBindingsEnumeration.java   |   9 -
 .../apache/naming/NamingContextEnumeration.java|   9 -
 java/org/apache/naming/SelectorContext.java| 329 -
 java/org/apache/naming/factory/BeanFactory.java|   5 +
 .../naming/factory/DataSourceLinkFactory.java  |   5 -
 java/org/apache/naming/factory/FactoryBase.java|   5 -
 java/org/apache/naming/factory/LookupFactory.java  |   5 +
 .../apache/naming/factory/MailSessionFactory.java  |  14 -
 java/org/apache/naming/factory/OpenEjbFactory.java |   5 +
 .../apache/naming/factory/ResourceLinkFactory.java |   8 +-
 .../apache/naming/java/javaURLContextFactory.java  |  13 +-
 14 files changed, 33 insertions(+), 710 deletions(-)

diff --git a/java/org/apache/naming/AbstractRef.java 
b/java/org/apache/naming/AbstractRef.java
index e9a657b784..a01ec9b212 100644
--- a/java/org/apache/naming/AbstractRef.java
+++ b/java/org/apache/naming/AbstractRef.java
@@ -37,10 +37,6 @@ public abstract class AbstractRef extends Reference {
 }
 
 
-/**
- * Retrieves the class name of the factory of the object to which this
- * reference refers.
- */
 @Override
 public final String getFactoryClassName() {
 String factory = super.getFactoryClassName();
@@ -60,9 +56,6 @@ public abstract class AbstractRef extends Reference {
 protected abstract String getDefaultFactoryClassName();
 
 
-/**
- * Return a String rendering of this object.
- */
 @Override
 public final String toString() {
 StringBuilder sb = new StringBuilder(this.getClass().getSimpleName());
diff --git a/java/org/apache/naming/NameParserImpl.java 
b/java/org/apache/naming/NameParserImpl.java
index 9b6e4d38fe..f2650da31c 100644
--- a/java/org/apache/naming/NameParserImpl.java
+++ b/java/org/apache/naming/NameParserImpl.java
@@ -30,19 +30,9 @@ public class NameParserImpl
 implements NameParser {
 
 
-// - Instance Variables
-
-
 // - NameParser Methods
 
 
-/**
- * Parses a name into its components.
- *
- * @param name The non-null string name to parse
- * @return A non-null parsed form of the name using the naming convention
- * of this parser.
- */
 @Override
 public Name parse(String name)
 throws NamingException {
diff --git a/java/org/apache/naming/NamingContext.java 
b/java/org/apache/naming/NamingContext.java
index 2cae5f14d7..33b3f4caec 100644
--- a/java/org/apache/naming/NamingContext.java
+++ b/java/org/apache/naming/NamingContext.java
@@ -142,16 +142,6 @@ public class NamingContext implements Context {
 
 //  Context Methods
 
-/**
- * Retrieves the named object. If name is empty, returns a new instance
- * of this context (which represents the same naming context as this
- * context, but its environment may be modified independently and it may
- * be accessed concurrently).
- *
- * @param name the name of the object to look up
- * @return the object bound to name
- * @exception NamingException if a naming exception is encountered
- */
 @Override
 public Object lookup(Name name)
 throws NamingException {
@@ -159,13 +149,6 @@ public class NamingContext implements Context {
 }
 
 
-/**
- * Retrieves the named object.
- *
- * @param name the name of the object to look up
- * @return the object bound to name
- * @exception NamingException if a naming exception is encountered
- */
 @Override
 public Object lookup(String name)
 throws NamingException {
@@ -173,18 +156,6 @@ public class NamingContext implements Context {
 }
 
 
-/**
- * Binds a name to an object. All intermediate contexts and the target
- * context (that named by all but terminal atomic component of the name)
- * must already exist.
- *
- * @param name the name to bind; may not be empty
- * @param obj the object to bind; possibly null
- * @exception NameAlreadyBoundException if name is already bound
- * @exception javax.naming.directory.InvalidAttributesException if object
- * did not supply all mand

(tomcat) branch 9.0.x updated: Drop cut and paste javadocs

2024-05-07 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 92d4169905 Drop cut and paste javadocs
92d4169905 is described below

commit 92d416990531d14666b32ae953b83b20459a54a4
Author: remm 
AuthorDate: Tue May 7 10:37:19 2024 +0200

Drop cut and paste javadocs

And some cleanups.
---
 java/org/apache/naming/AbstractRef.java|   7 -
 java/org/apache/naming/NameParserImpl.java |  10 -
 java/org/apache/naming/NamingContext.java  | 319 
 .../naming/NamingContextBindingsEnumeration.java   |   9 -
 .../apache/naming/NamingContextEnumeration.java|   9 -
 java/org/apache/naming/SelectorContext.java| 329 -
 java/org/apache/naming/factory/BeanFactory.java|   5 +
 .../naming/factory/DataSourceLinkFactory.java  |   5 -
 java/org/apache/naming/factory/FactoryBase.java|   5 -
 java/org/apache/naming/factory/LookupFactory.java  |   5 +
 .../apache/naming/factory/MailSessionFactory.java  |  14 -
 java/org/apache/naming/factory/OpenEjbFactory.java |   5 +
 .../apache/naming/factory/ResourceLinkFactory.java |   8 +-
 .../apache/naming/java/javaURLContextFactory.java  |  13 +-
 14 files changed, 33 insertions(+), 710 deletions(-)

diff --git a/java/org/apache/naming/AbstractRef.java 
b/java/org/apache/naming/AbstractRef.java
index e9a657b784..a01ec9b212 100644
--- a/java/org/apache/naming/AbstractRef.java
+++ b/java/org/apache/naming/AbstractRef.java
@@ -37,10 +37,6 @@ public abstract class AbstractRef extends Reference {
 }
 
 
-/**
- * Retrieves the class name of the factory of the object to which this
- * reference refers.
- */
 @Override
 public final String getFactoryClassName() {
 String factory = super.getFactoryClassName();
@@ -60,9 +56,6 @@ public abstract class AbstractRef extends Reference {
 protected abstract String getDefaultFactoryClassName();
 
 
-/**
- * Return a String rendering of this object.
- */
 @Override
 public final String toString() {
 StringBuilder sb = new StringBuilder(this.getClass().getSimpleName());
diff --git a/java/org/apache/naming/NameParserImpl.java 
b/java/org/apache/naming/NameParserImpl.java
index 9b6e4d38fe..f2650da31c 100644
--- a/java/org/apache/naming/NameParserImpl.java
+++ b/java/org/apache/naming/NameParserImpl.java
@@ -30,19 +30,9 @@ public class NameParserImpl
 implements NameParser {
 
 
-// - Instance Variables
-
-
 // - NameParser Methods
 
 
-/**
- * Parses a name into its components.
- *
- * @param name The non-null string name to parse
- * @return A non-null parsed form of the name using the naming convention
- * of this parser.
- */
 @Override
 public Name parse(String name)
 throws NamingException {
diff --git a/java/org/apache/naming/NamingContext.java 
b/java/org/apache/naming/NamingContext.java
index 2cae5f14d7..33b3f4caec 100644
--- a/java/org/apache/naming/NamingContext.java
+++ b/java/org/apache/naming/NamingContext.java
@@ -142,16 +142,6 @@ public class NamingContext implements Context {
 
 //  Context Methods
 
-/**
- * Retrieves the named object. If name is empty, returns a new instance
- * of this context (which represents the same naming context as this
- * context, but its environment may be modified independently and it may
- * be accessed concurrently).
- *
- * @param name the name of the object to look up
- * @return the object bound to name
- * @exception NamingException if a naming exception is encountered
- */
 @Override
 public Object lookup(Name name)
 throws NamingException {
@@ -159,13 +149,6 @@ public class NamingContext implements Context {
 }
 
 
-/**
- * Retrieves the named object.
- *
- * @param name the name of the object to look up
- * @return the object bound to name
- * @exception NamingException if a naming exception is encountered
- */
 @Override
 public Object lookup(String name)
 throws NamingException {
@@ -173,18 +156,6 @@ public class NamingContext implements Context {
 }
 
 
-/**
- * Binds a name to an object. All intermediate contexts and the target
- * context (that named by all but terminal atomic component of the name)
- * must already exist.
- *
- * @param name the name to bind; may not be empty
- * @param obj the object to bind; possibly null
- * @exception NameAlreadyBoundException if name is already bound
- * @exception javax.naming.directory.InvalidAttributesException if object
- * did not supply all mandat

Re: [VOTE] Release Apache Tomcat 9.0.89

2024-05-07 Thread jean-frederic clere

On 5/3/24 22:37, Rémy Maucherat wrote:

[X] +1, Stable - go ahead and release as 9.0.89


--
Cheers

Jean-Frederic


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [VOTE] Release Apache Tomcat 11.0.0-M20

2024-05-07 Thread Mark Thomas

On 03/05/2024 17:22, Mark Thomas wrote:


The proposed 11.0.0-M20 release is:
[ ] -1 Broken - do not release
[X] +1 Alpha  - go ahead and release as 11.0.0-M20


Tests pass on Linux, Windows, MacOS (Intel) and MacOS (M1).

Release is reproducible across platforms (Windows / Linux).

Mark

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [VOTE] Release Apache Tomcat 9.0.89

2024-05-07 Thread Mark Thomas

On 03/05/2024 21:37, Rémy Maucherat wrote:


The proposed 9.0.89 release is:
[ ] -1, Broken - do not release
[ ] +1, Stable - go ahead and release as 9.0.89


Tests pass on Linux, Windows, MacOS (Intel) and MacOS (M1).

Release is reproducible across platforms (Windows / Linux).

Mark

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[VOTE][RESULT] Release Apache Tomcat 9.0.89

2024-05-07 Thread Rémy Maucherat
The following votes were cast:

Binding:
+1: isapir, rjung, remm, jfclere
+0: markt

No other votes were cast.

The vote therefore passes.

Thanks to everyone who contributed to this release.

Rémy

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r69015 - /dev/tomcat/tomcat-9/v9.0.89/ /release/tomcat/tomcat-9/v9.0.89/

2024-05-07 Thread remm
Author: remm
Date: Tue May  7 17:54:51 2024
New Revision: 69015

Log:
Release Apache Tomcat 9.0.89

Added:
release/tomcat/tomcat-9/v9.0.89/
  - copied from r69014, dev/tomcat/tomcat-9/v9.0.89/
Removed:
dev/tomcat/tomcat-9/v9.0.89/


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1917557 - in /tomcat/site/trunk/docs/tomcat-9.0-doc: ./ annotationapi/ annotationapi/javax/annotation/ annotationapi/javax/annotation/security/ annotationapi/javax/annotation/sql/ api/ ap

2024-05-07 Thread remm
Author: remm
Date: Tue May  7 18:11:39 2024
New Revision: 1917557

URL: http://svn.apache.org/viewvc?rev=1917557&view=rev
Log:
Javadoc update for 9.0.89


[This commit notification would consist of 90 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1917558 - in /tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser: HttpHeaderParser.HeaderDataSource.html HttpHeaderParser.HeaderParsePosition.html HttpHeaderPars

2024-05-07 Thread remm
Author: remm
Date: Tue May  7 18:16:23 2024
New Revision: 1917558

URL: http://svn.apache.org/viewvc?rev=1917558&view=rev
Log:
Javadoc update for 9.0.89

Added:

tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderDataSource.html

tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderParsePosition.html

tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderParseStatus.html

tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.html

Added: 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderDataSource.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderDataSource.html?rev=1917558&view=auto
==
--- 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderDataSource.html
 (added)
+++ 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderDataSource.html
 Tue May  7 18:16:23 2024
@@ -0,0 +1,164 @@
+
+
+
+
+HttpHeaderParser.HeaderDataSource (Apache Tomcat 9.0.89 API 
Documentation)
+
+
+
+
+
+
+
+
+
+
+
+
+var evenRowColor = "even-row-color";
+var oddRowColor = "odd-row-color";
+var tableTab = "table-tab";
+var activeTableTab = "active-table-tab";
+var pathtoroot = "../../../../../../";
+loadScripts(document, 'script');
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+Skip navigation links
+Apache Tomcat® 9.0.89
+
+Overview
+Package
+Class
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+
+Summary: 
+Nested | 
+Field | 
+Constr | 
+Method
+
+
+Detail: 
+Field | 
+Constr | 
+Method
+
+
+SEARCH:
+
+
+
+
+
+
+
+
+
+
+
+Package org.apache.tomcat.util.http.parser
+Interface HttpHeaderParser.HeaderDataSource
+
+
+
+All Known Implementing Classes:
+ChunkedInputFilter
+
+
+Enclosing class:
+HttpHeaderParser
+
+
+public static interface 
HttpHeaderParser.HeaderDataSource
+
+
+
+
+
+
+Method Summary
+
+All 
MethodsInstance MethodsAbstract 
Methods
+
+
+Modifier and Type
+Method
+Description
+boolean
+fillHeaderBuffer()
+
+Read more data into the header buffer.
+
+https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html"; 
title="class or interface in java.nio" 
class="external-link">ByteBuffer
+getHeaderByteBuffer()
+
+Obtain a reference to the buffer containing the header 
data.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+fillHeaderBuffer
+boolean fillHeaderBuffer()
+  throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html"; 
title="class or interface in java.io" 
class="external-link">IOException
+Read more data into the header buffer. The implementation 
is expected to determine if blocking or not
+ blocking IO should be used.
+
+Returns:
+true if more data was added to the buffer, otherwise 
false
+Throws:
+https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html"; 
title="class or interface in java.io" 
class="external-link">IOException - If an I/O error occurred while 
obtaining more header data
+
+
+
+
+
+getHeaderByteBuffer
+https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html"; 
title="class or interface in java.nio" 
class="external-link">ByteBuffer getHeaderByteBuffer()
+Obtain a reference to the buffer containing the header 
data.
+
+Returns:
+The buffer containing the header data
+
+
+
+
+
+
+
+
+
+
+
+
+Copyright © 2000-2024 Apache Software 
Foundation.  Apache Tomcat, Tomcat, Apache, 
the Apache Tomcat logo and the Apache logo are either registered trademarks 
  or trademarks of the Apache Software Foundation.
+
+
+
+
+

Added: 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderParsePosition.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderParsePosition.html?rev=1917558&view=auto
==
--- 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderParsePosition.html
 (added)
+++ 
tomcat/site/trunk/docs/tomcat-9.0-doc/api/org/apache/tomcat/util/http/parser/HttpHeaderParser.HeaderParsePosition.html
 Tue May  7 18:16:23 2024
@@ -0,0 +1,285 @@
+
+
+
+
+HttpHeaderParser.HeaderParsePosition (Apache Tomcat 9.0.89 API 
Documentation)
+
+
+
+
+
+
+
+
+
+
+
+
+var evenRowColor = "even-row-color";
+var oddRowColor = "odd-row-color";
+var tableTab = "table-tab";
+var activeTableTab = "active-table-tab";
+var pathtoroot = "../../../../../../";
+loadScripts(document, 'script');
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+Skip navigation links
+Apache Tomcat

Re: Passing down arbitrary auth attributes down to Realm#authenticate()

2024-05-07 Thread Mark Thomas

On 07/05/2024 19:06, Michael Osipov wrote:

Folks,

I am working on a custom Authenticator and Realm where I need to pass 
down a custom value to Realm#authenticate(), more specially a value 
obtained from javax.security.auth.Subject#getPrivateCredentials(). 
Currently, there is no such facility in the interface. Any idea how to 
pass this down w/o touching the interface and w/o thread-local values? 
The only thing I can think of is a custom realm interface, but that 
means every realm needs to implement it...


Cast to your custom Realm in your custom Authenticator and then call any 
method you like? It sounds like the Realm and Authenticator are coupled 
together anyway.


Mark

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1917559 - in /tomcat/site/trunk: ./ docs/ xdocs/

2024-05-07 Thread remm
Author: remm
Date: Tue May  7 18:28:05 2024
New Revision: 1917559

URL: http://svn.apache.org/viewvc?rev=1917559&view=rev
Log:
Site update for 9.0.89

Modified:
tomcat/site/trunk/build.properties.default
tomcat/site/trunk/docs/doap_Tomcat.rdf
tomcat/site/trunk/docs/download-90.html
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/docs/migration-9.html
tomcat/site/trunk/docs/oldnews.html
tomcat/site/trunk/docs/whichversion.html
tomcat/site/trunk/xdocs/doap_Tomcat.rdf
tomcat/site/trunk/xdocs/download-90.xml
tomcat/site/trunk/xdocs/index.xml
tomcat/site/trunk/xdocs/migration-9.xml
tomcat/site/trunk/xdocs/oldnews.xml
tomcat/site/trunk/xdocs/whichversion.xml

Modified: tomcat/site/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/build.properties.default?rev=1917559&r1=1917558&r2=1917559&view=diff
==
--- tomcat/site/trunk/build.properties.default (original)
+++ tomcat/site/trunk/build.properties.default Tue May  7 18:28:05 2024
@@ -37,7 +37,7 @@ tomcat.loc=https://downloads.apache.org/
 
 # - Tomcat versions -
 tomcat8.5=8.5.100
-tomcat9.0=9.0.88
+tomcat9.0=9.0.89
 tomcat10.1=10.1.23
 tomcat11.0=11.0.0-M19
 

Modified: tomcat/site/trunk/docs/doap_Tomcat.rdf
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/doap_Tomcat.rdf?rev=1917559&r1=1917558&r2=1917559&view=diff
==
--- tomcat/site/trunk/docs/doap_Tomcat.rdf (original)
+++ tomcat/site/trunk/docs/doap_Tomcat.rdf Tue May  7 18:28:05 2024
@@ -74,8 +74,8 @@
 
   
 Latest Stable 9.0.x Release
-2024-04-16
-9.0.88
+2024-05-07
+9.0.89
   
 
 

Modified: tomcat/site/trunk/docs/download-90.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-90.html?rev=1917559&r1=1917558&r2=1917559&view=diff
==
--- tomcat/site/trunk/docs/download-90.html (original)
+++ tomcat/site/trunk/docs/download-90.html Tue May  7 18:28:05 2024
@@ -10,7 +10,7 @@
 
   Quick Navigation
 
-[define v]9.0.88[end]
+[define v]9.0.89[end]
 https://downloads.apache.org/tomcat/tomcat-9/KEYS";>KEYS |
 [v] |
 Browse |

Modified: tomcat/site/trunk/docs/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1917559&r1=1917558&r2=1917559&view=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Tue May  7 18:28:05 2024
@@ -34,6 +34,27 @@ wiki page.
 Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache Tomcat
 project logo are trademarks of the Apache Software Foundation.
 
+2024-05-07 Tomcat 9.0.89 Released
+
+The Apache Tomcat Project is proud to announce the release of version 9.0.89
+of Apache Tomcat. This release implements specifications that are part of the
+Java EE 8 platform. The notable changes compared to 9.0.88 include:
+
+Refactor HTTP header parsing to use common parsing code and fix
+  non-blocking reads of chunked request bodies including trailer fields.
+Add more timescale options to AccessLogValve and ExtendedAccessLogValve.
+  
+WebDAV locking handling fixes.
+
+
+Full details of these changes, and all the other changes, are available in the
+Tomcat 9
+changelog.
+
+
+
+https://tomcat.apache.org/download-90.cgi";>Download
+
 2024-04-23 Tomcat 10.1.23 Released
 
 The Apache Tomcat Project is proud to announce the release of version 10.1.23
@@ -65,24 +86,6 @@ changelog.
 
 https://tomcat.apache.org/download-10.cgi";>Download
 
-2024-04-16 Tomcat 9.0.88 Released
-
-The Apache Tomcat Project is proud to announce the release of version 9.0.88
-of Apache Tomcat. This release implements specifications that are part of the
-Java EE 8 platform. The notable changes compared to 9.0.87 include:
-
-Cookies header generation enhancements.
-Fix regression when reloading TLS configuration and files.
-
-
-Full details of these changes, and all the other changes, are available in the
-Tomcat 9
-changelog.
-
-
-
-https://tomcat.apache.org/download-90.cgi";>Download
-
 2024-04-16 Tomcat 11.0.0-M19 Released
 
 The Apache Tomcat Project is proud to announce the release of version 
11.0.0-M19

Modified: tomcat/site/trunk/docs/migration-9.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/migration-9.html?rev=1917559&r1=1917558&r2=1917559&view=diff
==
--- tomcat/site/trunk/docs/migration-9.html (original)
+++ tomcat/site/trunk/docs/migration-9.html Tue May  7 18:28:05 2024
@@ -471,7 +471,8 @@ versions of Apache Tomcat®9.0.84
 9.0.85
 9.0.86
-9.0.87
+9.0.87
+9.0.88
 , new version:
 
 9.0.0-M1
@@ -562,7 +563,8 @@

[ANN] Apache Tomcat 9.0.89 available

2024-05-07 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 9.0.89.

Apache Tomcat 9 is an open source software implementation of the Java
Servlet, JavaServer Pages, Java Unified Expression Language, Java
WebSocket and JASPIC technologies.

Apache Tomcat 9.0.89 is a bugfix and feature release. The notable
changes compared to 9.0.88 include:

- Refactor HTTP header parsing to use common parsing code and fix
   non-blocking reads of chunked request bodies including trailer fields

- Add more timescale options to AccessLogValve and
   ExtendedAccessLogValve

- WebDAV locking handling fixes

Along with lots of other bug fixes and improvements.

Please refer to the change log for the complete list of changes:
https://tomcat.apache.org/tomcat-9.0-doc/changelog.html

Downloads:
https://tomcat.apache.org/download-90.cgi

Migration guides from Apache Tomcat 7.x and 8.x:
https://tomcat.apache.org/migration.html

Enjoy!

- The Apache Tomcat team

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Passing down arbitrary auth attributes down to Realm#authenticate()

2024-05-07 Thread Christopher Schultz

Michael,

On 5/7/24 14:06, Michael Osipov wrote:

Folks,

I am working on a custom Authenticator and Realm where I need to pass 
down a custom value to Realm#authenticate(), more specially a value 
obtained from javax.security.auth.Subject#getPrivateCredentials(). 
Currently, there is no such facility in the interface. Any idea how to 
pass this down w/o touching the interface and w/o thread-local values? 
The only thing I can think of is a custom realm interface, but that 
means every realm needs to implement it...


This is the entire reason that the securityfilter[1] project exists. 
It's quite old but gets around this kind of thing with... a custom 
interface. We use it at $work because we want to be able to get IP 
addresses to log logins and login failures.


Tomcat's Realm-related interfaces have always been too restrictive for 
me, but I'm not entirely sure how to get around them.


I had a conversation with markt years ago at an ApacheCon event where I 
asked about strategies to help out with this sort of thing, and his 
relatively quick answer without thinking about it too much was to 
suggest that (a) anything new and major should probably go into the 
JASPIC/Jakarta Authentication component and (b) JASPIC/Jakarta 
Authentication might already be able to do what I wanted.


I didn't follow-up at the time, so I can't validate whether he was right 
about (b) or whether (a) would have been particularly easy/hard.


-chris

[1] https://securityfilter.sourceforge.net/

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org