Tomcat, maybe Apache on Widows 10

2021-04-09 Thread Orendt, John
Hi My goal is to set up a web server on Windows 10 that supports TLSv1.3 with mutual authentication. I have had success with Apache on Ubuntu 20.04. I was able to generate the server and client x509 leaf certs which apache validates up the chain of trust and actually does refuse the connection

[OT] visualvm time stamps

2021-04-09 Thread Chris Cheshire
My googlefu is failing me here. I am trying to figure out some anomalous database connection behavior in my tomcat web app. I have enabled JMX/RMI and have visualvm running on my local machine. I found the ability to monitor the active connections as a live chart, and it has an export data fun

Re: Understanding issues with connection refused when redirecting internally

2021-04-09 Thread Peter Chamberlain
On Fri, 9 Apr 2021, 14:10 Christopher Schultz, wrote: > Peter, > > On 4/9/21 06:53, Peter Chamberlain wrote: > > Hello, > > I've been trying to understand the behaviour of tomcat when handling > > internal redirects. I'm testing using tomcat 9.0.38. I'm testing using > > jdk8 1.8.0_265. My main t

Re: Understanding issues with connection refused when redirecting internally

2021-04-09 Thread Peter Chamberlain
On Fri, 9 Apr 2021, 14:29 Mark Thomas, wrote: > On 09/04/2021 11:53, Peter Chamberlain wrote: > > Hello, > > I've been trying to understand the behaviour of tomcat when handling > > internal redirects. I'm testing using tomcat 9.0.38. I'm testing using > > jdk8 1.8.0_265. My main test cases have

Re: Getting additional attributes for logged on users

2021-04-09 Thread Carsten Klein
Hi Olaf, also, I only picked your statements for an answer. On 08.04.21 13:53, Olaf Kock wrote: It would be cool, absolutely. Even cooler if "the desired extra attributes" could be agreed upon - or even what would be desirable in user management (is user + roles enough? That requires redepl

Re: [OT] programming style or mental process ?

2021-04-09 Thread Christopher Schultz
Mark, On 4/9/21 09:34, Mark H. Wood wrote: I've appreciated this discussion. It's caused me to think a bit more about my use of this pattern. [regarding tests for null references] This has got me wondering why there is no operator for such an irritatingly common need: if (my_reference isNu

Re: [OT] programming style or mental process ?

2021-04-09 Thread Mark H. Wood
I've appreciated this discussion. It's caused me to think a bit more about my use of this pattern. [regarding tests for null references] This has got me wondering why there is no operator for such an irritatingly common need: if (my_reference isNull) { ... } -- Mark H. Wood Lead Technology A

Re: Understanding issues with connection refused when redirecting internally

2021-04-09 Thread Mark Thomas
On 09/04/2021 11:53, Peter Chamberlain wrote: Hello, I've been trying to understand the behaviour of tomcat when handling internal redirects. I'm testing using tomcat 9.0.38. I'm testing using jdk8 1.8.0_265. My main test cases have been 2 forwards to the same servlet, and then a response. Or 2 r

Re: Understanding issues with connection refused when redirecting internally

2021-04-09 Thread Christopher Schultz
Peter, On 4/9/21 06:53, Peter Chamberlain wrote: Hello, I've been trying to understand the behaviour of tomcat when handling internal redirects. I'm testing using tomcat 9.0.38. I'm testing using jdk8 1.8.0_265. My main test cases have been 2 forwards to the same servlet, and then a response. Or

Re: Getting additional attributes for logged on users

2021-04-09 Thread Olaf Kock
Hi Carsten, I'll be limiting my answer to the most notable lines and quote only those. (anybody else reading this without following the mails live: Go to the archive to see Carsten's full post) On 08.04.21 22:08, Carsten Klein wrote: > > Typically, those desired extra attributes are stored in t

Re: Setting a Request Attribute from a custom Realm

2021-04-09 Thread Tim K
On Thu, Apr 8, 2021 at 1:38 PM Christopher Schultz wrote: > > I have some sketches of something like this literally on paper somewhere > around here to create an interface for applications subscribe to > authentication events. It would, for example, allow you to write a > "failed login" record to

Understanding issues with connection refused when redirecting internally

2021-04-09 Thread Peter Chamberlain
Hello, I've been trying to understand the behaviour of tomcat when handling internal redirects. I'm testing using tomcat 9.0.38. I'm testing using jdk8 1.8.0_265. My main test cases have been 2 forwards to the same servlet, and then a response. Or 2 redirects to the same servlet and then a response