RE: MyFaces and JAAS on Tomcat

2005-03-28 Thread hermod . opstvedt
: MyFaces and JAAS on Tomcat MyFaces does nothing like that with the request. One thing that could cause problems is the Multipart- or Extensionfilter. Disable this filter and try again. Perhaps your SecurityFilter has problems with multipart/form-data posts? -MG On Tue, 22 Mar 2005 14:39:25 +0100

Re: MyFaces and JAAS on Tomcat

2005-03-24 Thread Manfred Geiler
MyFaces does nothing like that with the request. One thing that could cause problems is the Multipart- or Extensionfilter. Disable this filter and try again. Perhaps your SecurityFilter has problems with multipart/form-data posts? -MG On Tue, 22 Mar 2005 14:39:25 +0100, [EMAIL PROTECTED] <[EMAIL

RE: MyFaces and JAAS on Tomcat

2005-03-22 Thread hermod . opstvedt
Hi I have not looked into the code yet, but I suspect that that MyFaces is doing things to the request that it should not do (in my opinion). To me it looks like it completely clears the request, and the rebuilds it with its own parameters. The SecurityFilter that I am using, puts attributes into

RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
ndorf [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 2:09 PM To: MyFaces Discussion Subject: Re: MyFaces and JAAS on Tomcat ah, sorry. That is a different story, I think. well one possibility can be using Shale for the backing beans in the secure area. create a BasicSecureBackin

RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread Korhonen, Kalle
We are using JAAS at work and MyFaces and JAAS work fine for us. Kalle > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, March 21, 2005 3:23 AM > To: myfaces-user@incubator.apache.org > Subject: MyFaces and JAAS on Tomcat >

Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Matthias Wessendorf
PROTECTED] Sent: Monday, March 21, 2005 1:53 PM To: MyFaces Discussion Subject: Re: MyFaces and JAAS on Tomcat Pre-login ? Can you explain ? I guess I missed something :-) if you need logoff() create managedBean with a public String logoff(); that does the stuff shown in the struts app for tomcat.

RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
Hi I really hope so. Hermod -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 2:51 PM To: MyFaces Discussion Subject: Re: MyFaces and JAAS on Tomcat :) but looking into Shale should be not uninteressting ;) -Matthias [EMAIL

Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Matthias Wessendorf
Hermod -Original Message- From: Sean Schofield [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 2:25 PM To: MyFaces Discussion Subject: Re: MyFaces and JAAS on Tomcat This doesn't sound like its related to MyFaces. Are you sure this was working before you tried MyFaces? sean On Mo

RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
: Monday, March 21, 2005 2:25 PM To: MyFaces Discussion Subject: Re: MyFaces and JAAS on Tomcat This doesn't sound like its related to MyFaces. Are you sure this was working before you tried MyFaces? sean On Mon, 21 Mar 2005 14:02:38 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: &

RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
Subject: Re: MyFaces and JAAS on Tomcat This doesn't sound like its related to MyFaces. Are you sure this was working before you tried MyFaces? sean On Mon, 21 Mar 2005 14:02:38 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi > > No - What I want is what I have

Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Sean Schofield
D] > Sent: Monday, March 21, 2005 1:53 PM > To: MyFaces Discussion > Subject: Re: MyFaces and JAAS on Tomcat > > Pre-login ? > > Can you explain ? I guess I missed something :-) > > if you need logoff() create managedBean with a > > public String logoff(); that does

RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
lto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 1:53 PM To: MyFaces Discussion Subject: Re: MyFaces and JAAS on Tomcat Pre-login ? Can you explain ? I guess I missed something :-) if you need logoff() create managedBean with a public String logoff(); that does the stuff shown in the struts app

Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Matthias Wessendorf
. You can however not "Pre-login" - That is enter you username/password at the frontpage, and then be authenticated. Hermod -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 1:48 PM To: MyFaces Discussion Subject: Re: MyFaces a

RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
nt: Monday, March 21, 2005 1:48 PM To: MyFaces Discussion Subject: Re: MyFaces and JAAS on Tomcat BTW. I just copied helloWorld.jsp to secure so please request localhsot:8080/mfaces.../secure/helloWorld.jsf that should present you the login form. HTH, Matthias Matthias Wessendorf wrote: > That w

Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Matthias Wessendorf
BTW. I just copied helloWorld.jsp to secure so please request localhsot:8080/mfaces.../secure/helloWorld.jsf that should present you the login form. HTH, Matthias Matthias Wessendorf wrote: That worked! I send you (private) the WAR (user with role admin in tomcat-users.xml on my box) HTH, Matthias

RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
Hi Thanks Hermod -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 1:46 PM To: MyFaces Discussion Subject: Re: MyFaces and JAAS on Tomcat That worked! I send you (private) the WAR (user with role admin in tomcat-users.xml on my box

Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Matthias Wessendorf
That worked! I send you (private) the WAR (user with role admin in tomcat-users.xml on my box) HTH, Matthias

RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
ge- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 1:15 PM To: MyFaces Discussion Subject: Re: MyFaces and JAAS on Tomcat no nothing! strange. could you post some details ? > Did you do anything special to your faces-config file ? > Hermod >

Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Matthias Wessendorf
no nothing! strange. could you post some details ? Did you do anything special to your faces-config file ? Hermod -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 12:54 PM To: MyFaces Discussion Subject: Re: MyFaces and JAAS on Tomcat

RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
atus 400 - Invalid direct reference to form login page" when I submit the page. Did you do anything special to your faces-config file ? Hermod -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 12:54 PM To: MyFaces Discussion Subject:

Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Matthias Wessendorf
riginal Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 12:41 PM To: MyFaces Discussion Subject: Re: MyFaces and JAAS on Tomcat Hermond- I tested MyFaces and FORM authentication successfully with regular JSP like that: http://cvs.apache.org/viewcvs.cgi/jak

RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
05 12:41 PM To: MyFaces Discussion Subject: Re: MyFaces and JAAS on Tomcat Hermond- I tested MyFaces and FORM authentication successfully with regular JSP like that: http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/login .jsp?rev=1.8&view=markup WEB.XML similar to t

RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
[mailto:[EMAIL PROTECTED] Envoyé : lundi 21 mars 2005 12:23 À : myfaces-user@incubator.apache.org Objet : MyFaces and JAAS on Tomcat Hi I have observed another peculiarity with MyFaces and Tomcat with regards to security. If I use BASIC authentication, it works fine. However if I use FORM authenti

Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Matthias Wessendorf
Hermond- I tested MyFaces and FORM authentication successfully with regular JSP like that: http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/login.jsp?rev=1.8&view=markup WEB.XML similar to that: http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/WEB-INF/web.xml?rev

RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread AUGE FrÃdÃric GC EUR
OTECTED] Envoyé : lundi 21 mars 2005 12:23 À : myfaces-user@incubator.apache.org Objet : MyFaces and JAAS on Tomcat Hi I have observed another peculiarity with MyFaces and Tomcat with regards to security. If I use BASIC authentication, it works fine. However if I use FORM authentication (and us

MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
Hi I have observed another peculiarity with MyFaces and Tomcat with regards to security. If I use BASIC authentication, it works fine. However if I use FORM authentication (and use a regular JSP page for the form), I consistently get a HTTP 408 response. I also created a simple jsp with a form