Re: How to configure Tomcat 6.0 with JAAS?

2009-09-11 Thread radhika PA
...@unisys.com wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: How to configure Tomcat 6.0 with JAAS? ... though JBoss uses Tomcat as its default servlet container Unfortunately, JBoss does not use Tomcat's authentication - it has its own. When we wrote

Re: How to configure Tomcat 6.0 with JAAS?

2009-05-13 Thread David Hoffer
: How to configure Tomcat 6.0 with JAAS? ... though JBoss uses Tomcat as its default servlet container Unfortunately, JBoss does not use Tomcat's authentication - it has its own. When we wrote JAAS modules for use on our proprietary OS, we had to do separate implemenations for JBoss and Tomcat

Re: How to configure Tomcat 6.0 with JAAS?

2009-05-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 5/11/2009 11:16 PM, Caldarale, Charles R wrote: From: David Hoffer [mailto:dhoff...@gmail.com] Subject: Re: How to configure Tomcat 6.0 with JAAS? Next newbie question...will this be server agnostic? Unfortunately not. The servlet

RE: How to configure Tomcat 6.0 with JAAS?

2009-05-12 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: How to configure Tomcat 6.0 with JAAS? ... though JBoss uses Tomcat as its default servlet container Unfortunately, JBoss does not use Tomcat's authentication - it has its own. When we wrote JAAS modules for use

How to configure Tomcat 6.0 with JAAS?

2009-05-11 Thread David Hoffer
No matter what I do...I always get an 'HTTP Status 403 - Access to the requested resource has been denied error' displayed after authenticating in Tomcat with JAAS. Here is my configuration. Tomcat 6.0.x server.xml: ... Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true

Re: How to configure Tomcat 6.0 with JAAS?

2009-05-11 Thread David Hoffer
Update. It looks like the problem is with the Tomcat Realm configuration. If I move the jar that contains these custom classes to the Tomcat lib folder then it works! However this is not a workable solution. I can't deploy jars like this. How can I delay JAAS realm configuration to my web app?

Re: How to configure Tomcat 6.0 with JAAS?

2009-05-11 Thread Pid
David Hoffer wrote: Update. It looks like the problem is with the Tomcat Realm configuration. If I move the jar that contains these custom classes to the Tomcat lib folder then it works! However this is not a workable solution. I can't deploy jars like this. How can I delay JAAS realm

Re: How to configure Tomcat 6.0 with JAAS?

2009-05-11 Thread David Hoffer
Okay that sounds good I'll try that. Next newbie question...will this be server agnostic? I need to support Tomcat/JBoss/WebLogic. -Dave On Mon, May 11, 2009 at 4:17 PM, Pid p...@pidster.com wrote: David Hoffer wrote: Update. It looks like the problem is with the Tomcat Realm

RE: How to configure Tomcat 6.0 with JAAS?

2009-05-11 Thread Caldarale, Charles R
From: David Hoffer [mailto:dhoff...@gmail.com] Subject: Re: How to configure Tomcat 6.0 with JAAS? Next newbie question...will this be server agnostic? Unfortunately not. The servlet spec does not define how realms are to be configured, so each app server rolls its own mechanism. Note