Re: Embedded Tomcat common classloader

2024-06-08 Thread Dave Breeze
files). This enabled the embedded Tomcat instance to resolve all referenced classes thanks again Dave Breeze Linkedin:https://uk.linkedin.com/in/dabreeze On Fri, 7 Jun 2024 at 15:02, Chuck Caldarale wrote: > > > > On Jun 7, 2024, at 08:11, Christopher Schultz > > wrote: >

Re: Embedded Tomcat common classloader

2024-06-06 Thread Dave Breeze
Thanks Mark appreciate that the url was for 8.0 With regards to classpath that was my first attempt - unfortunately it would seem that Tomcat does not support wildcards in the classpath - for example dirpath/lib/*.jar - at least in version 9. Dave Breeze Linkedin:https://uk.linkedin.com/in

Embedded Tomcat common classloader

2024-06-06 Thread Dave Breeze
ml is that the Tomcat common loader will search for jars in CATALINA_HOME/lib. My CATALINA_HOME/lib contains gwt-user-2.10.0.jar which contains RemoteServiceServlet.class. Why is the Tomcat common loader not finding this class? many thanks Dave Breeze Link

Re: Tomcat client certicate authentication

2023-02-01 Thread Dave Breeze
ricted to a role - I need the servlet to respond differently based on role. what I have decided to do in the servlet is to retrieve the user-id from the certificate and determine their role by using a security product native to the platform on which Tomcat is running Thanks for your help. Dave B

Re: Tomcat client certicate authentication

2023-01-30 Thread Dave Breeze
called. In my servlet, however, I can retrieve the certificates. thanks for your help Dave Breeze Linkedin:https://uk.linkedin.com/in/dabreeze On Sun, 29 Jan 2023 at 22:21, Christopher Schultz wrote: > > Dave, > > On 1/28/23 09:28, Dave Breeze wrote: > > this is Tomcat 9.0 running

Tomcat client certicate authentication

2023-01-28 Thread Dave Breeze
ot;javax.servlet.request.X509Certificate") correctly returns both the certificate from the browser plus the Cert Auth. A getSubjectX500Principal().getName() call on the browser certificate returns the cn/o/ou setting that should match with users.xml. What am I missing here? Dave Breeze

Re: Setting java.protocol.handler.pkgs for Tomcat

2023-01-20 Thread Dave Breeze
thanks i have just done a quick and dirty test - I found a tomcat launcher code I did as an exercise - quickly modified it to set the handler to a concatenation. Tomcat launches correctly and uses the ibm safkeyring thanks again Dave Breeze Linkedin:https://uk.linkedin.com/in/dabreeze On Fri

Re: Setting java.protocol.handler.pkgs for Tomcat

2023-01-20 Thread Dave Breeze
ol.handler.pkgs=org.apache.catalina.webresources $JAVA_OPTS " then users could use JAVA_OPTS to set the value. thanks Dave Breeze Linkedin:https://uk.linkedin.com/in/dabreeze On Fri, 20 Jan 2023 at 12:17, Mark Thomas wrote: > > On 20/01/2023 11:18, Dave Breeze wrote: > > Many thanks Mark for the answer

Re: Setting java.protocol.handler.pkgs for Tomcat

2023-01-20 Thread Dave Breeze
ctory(URLStreamHandlerFactory)" Could you please explain further thanks again Dave Breeze Linkedin:https://uk.linkedin.com/in/dabreeze Dave Breeze Linkedin:https://uk.linkedin.com/in/dabreeze On Fri, 20 Jan 2023 at 11:01, Mark Thomas wrote: > > On 20/01/2023 09:53, Dave Breeze wrote: > > T

Setting java.protocol.handler.pkgs for Tomcat

2023-01-20 Thread Dave Breeze
hat is the syntax thank you Dave Breeze Linkedin:https://uk.linkedin.com/in/dabreeze