Re: Add custom Authenticator in context.xml

2020-07-06 Thread Stephane Passignat
I guess it's for OAuth2. I'm using apache OAuth2 module and AJP in Tomcat. That's just great to externalize authentication out of the application, it works well, avoid bad design by nature ... but : - OAuth2 is mostly defined for an application authentication while in JEE the authentication mecani

Re: [OT] Trying to determine the minimum heap required for an operation

2020-07-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 7/6/20 16:12, john.e.gr...@wellsfargo.com.INVALID wrote: > Chris, >> John, >> >> On 7/6/20 11:48, john.e.gr...@wellsfargo.com.INVALID wrote: >>> Chris, >>> >>> -Original Message- From: Christopher Schultz Sent: Monday, Ju

RE: [OT] Trying to determine the minimum heap required for an operation

2020-07-06 Thread John.E.Gregg
Chris, > John, > > On 7/6/20 11:48, john.e.gr...@wellsfargo.com.INVALID wrote: > > Chris, > > > > > >> -Original Message- From: Christopher Schultz > >> Sent: Monday, July 06, 2020 10:21 AM > >> To: Tomcat Users List Subject: [OT] Trying > >> to determine the minimum heap required for an

Re: RFC7807 ErrorReportValve

2020-07-06 Thread Thomas Meyer
Am 5. Juli 2020 11:28:40 MESZ schrieb Michael Osipov : >Am 2020-07-02 um 21:30 schrieb Thomas Meyer: >> Hi, >> >> What are your opinions on providing a RFC7807 based ErrorReportValve >as part of Tomcat default distribution? > >Thomas, this has been bugging me for a while. Let me share some >though

[ANN] Apache Tomcat 8.5.57 available

2020-07-06 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 8.5.57. Apache Tomcat 8 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and Java Authentication Service Provider Interface for Containers t

Re: Problem with JarScanFilter, maybe a bug?

2020-07-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vitor, On 7/6/20 15:50, Vitor Medina Cruz wrote: > On Mon, Jul 6, 2020 at 8:57 AM Mark Thomas > wrote: > >> On 06/07/2020 12:25, Mark Thomas wrote: >>> On 03/07/2020 13:40, Vitor Medina Cruz wrote: On Thu, Jul 2, 2020 at 11:21 AM Mark Thomas >

Re: Add custom Authenticator in context.xml

2020-07-06 Thread Thomas Meyer
Am 6. Juli 2020 14:14:59 MESZ schrieb Mark Thomas : >On 04/07/2020 19:54, Thomas Meyer wrote: >> Hi, >> >> a while ago I did write a little POC of how to add a custom >> authenticator scheme to tomcat. >> >> this is what I did come up with: >> https://github.com/thomasmey/BearerTokenAuthenticator

[ANN] Apache Tomcat 9.0.37 available

2020-07-06 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.37. 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.37 is a bugfix and feat

Re: Problem with JarScanFilter, maybe a bug?

2020-07-06 Thread Vitor Medina Cruz
On Mon, Jul 6, 2020 at 8:57 AM Mark Thomas wrote: > On 06/07/2020 12:25, Mark Thomas wrote: > > On 03/07/2020 13:40, Vitor Medina Cruz wrote: > >> On Thu, Jul 2, 2020 at 11:21 AM Mark Thomas wrote: > >> > >>> On 02/07/2020 14:14, Vitor Medina Cruz wrote: > On Wed, Jul 1, 2020 at 6:48 PM Mar

[ANN] Apache Tomcat 10.0.0-M7 available

2020-07-06 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 10.0.0-M7. Apache Tomcat 10 is an open source software implementation of the Jakarta Servlet, Jakarta Server Pages, Jakarta Expression Language, Jakarta WebSocket, Jakarta Authentication and Jakarta Annotations specificat

Re: SameSite attribute handling

2020-07-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Abirami, On 7/6/20 12:16, S Abirami wrote: > I have used setHeader, addCookie for that also it is getting > twice Of course it is, if Tomcat is automatically adding a Cookie to the response for you. > Only after, disabling cookie false in context

RE: SameSite attribute handling

2020-07-06 Thread S Abirami
Hi Christopher, I have used setHeader, addCookie for that also it is getting twice Only after, disabling cookie false in context.xml setHeader for cookie is working. I tried option also Regards, Abirami.S -Original Message- From: Christopher Schultz Sent: Thursday, July 2, 2020 11

Re: [OT] Trying to determine the minimum heap required for an operation

2020-07-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 7/6/20 11:48, john.e.gr...@wellsfargo.com.INVALID wrote: > Chris, > > >> -Original Message- From: Christopher Schultz >> Sent: Monday, July 06, 2020 10:21 >> AM To: Tomcat Users List Subject: [OT] >> Trying to determine the minimu

Re: [OT] Trying to determine the minimum heap required for an operation

2020-07-06 Thread Suvendu Sekhar Mondal
Hello Christopher, On Mon, Jul 6, 2020, 8:50 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > All, > > Definitely off-topic, but it's the kind of weird thing someone here > might have experience with. > > I have an offline opera

RE: [OT] Trying to determine the minimum heap required for an operation

2020-07-06 Thread John.E.Gregg
Chris, > -Original Message- > From: Christopher Schultz > Sent: Monday, July 06, 2020 10:21 AM > To: Tomcat Users List > Subject: [OT] Trying to determine the minimum heap required for an > operation > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > All, > > Definitely off-to

[OT] Trying to determine the minimum heap required for an operation

2020-07-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, Definitely off-topic, but it's the kind of weird thing someone here might have experience with. I have an offline operation I'm considering bringing "inside" my web-based application. My only concern is memory usage: it requires that a bunch o

Re: RFC7807 ErrorReportValve

2020-07-06 Thread Mark Thomas
On 05/07/2020 10:28, Michael Osipov wrote: > Am 2020-07-02 um 21:30 schrieb Thomas Meyer: >> Hi, >> >> What are your opinions on providing a RFC7807 based ErrorReportValve >> as part of Tomcat default distribution? > > Thomas, this has been bugging me for a while. Let me share some thoughts > on t

Re: RFC7807 ErrorReportValve

2020-07-06 Thread Mark Thomas
On 03/07/2020 20:42, Thomas Meyer wrote: > Am 2. Juli 2020 21:45:53 MESZ schrieb Mark Thomas : >> On 02/07/2020 20:30, Thomas Meyer wrote: >>> Hi, >>> >>> What are your opinions on providing a RFC7807 based ErrorReportValve >> as part of Tomcat default distribution? >> >> RFC 7807 looks to be appli

Tomcat mod_jk rpm-build for CentOS-8 - exit with error.

2020-07-06 Thread Klaus Tachtler
Hi, I'm trying to build a rpm package for CentOS-8 for mod_jk with the latest version 1.2.48. While building the rpm package, following error occurs: - %< - ... make[1]: Entering directory '/root/rpmbuild/BUILD/tomcat-connectors-1.2.48-src/native/apache-2.0' /usr/lib64/apr-1/bui

Re: Add custom Authenticator in context.xml

2020-07-06 Thread Mark Thomas
On 04/07/2020 19:54, Thomas Meyer wrote: > Hi, > > a while ago I did write a little POC of how to add a custom > authenticator scheme to tomcat. > > this is what I did come up with: > https://github.com/thomasmey/BearerTokenAuthenticator > > It's rather complicated solution! > Is there an more e

Re: Problem with JarScanFilter, maybe a bug?

2020-07-06 Thread Mark Thomas
On 06/07/2020 12:25, Mark Thomas wrote: > On 03/07/2020 13:40, Vitor Medina Cruz wrote: >> On Thu, Jul 2, 2020 at 11:21 AM Mark Thomas wrote: >> >>> On 02/07/2020 14:14, Vitor Medina Cruz wrote: On Wed, Jul 1, 2020 at 6:48 PM Mark Thomas wrote: >>> >>> >>> > @WebFiler, @WebListener and

Re: Problem with JarScanFilter, maybe a bug?

2020-07-06 Thread Mark Thomas
On 03/07/2020 13:40, Vitor Medina Cruz wrote: > On Thu, Jul 2, 2020 at 11:21 AM Mark Thomas wrote: > >> On 02/07/2020 14:14, Vitor Medina Cruz wrote: >>> On Wed, Jul 1, 2020 at 6:48 PM Mark Thomas wrote: >> >> >> @WebFiler, @WebListener and @WebServlet are deployment annotations so sc