myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Wessendorf <maili...@matthias-wessendorf.de>
Subject Re: MyFaces and JAAS on Tomcat
Date Mon, 21 Mar 2005 12:15:25 GMT
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:mailings@matthias-wessendorf.de]
> Sent: Monday, March 21, 2005 12:54 PM
> To: MyFaces Discussion
> Subject: Re: MyFaces and JAAS on Tomcat
> 
> 
> yes!
> 
> the example I "ported" was running on Tomcat5.0.x
> 
> HTH,
> Matthias
> 
> hermod.opstvedt@dnbnor.no wrote:
> 
>>Hi
>>
>>I'll give it a try - Noticed that this is on Tomcat 4, but I guess it
>>should be ok with Tomcat 5 too.
>>
>>
>>This does look scaringly like what I have been trying to do though.
>>
>>
>>Hermod
>>
>>-----Original Message-----
>>From: Matthias Wessendorf [mailto:mailings@matthias-wessendorf.de]
>>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/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-I
> 
>>NF/web.xml?rev=1.15&view=markup
>>
>>
>>and a backing bean "logoff()" action method with a statement similar
> 
> to 
> 
>>that inside this Struts Action:
>>
> 
> http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/WEB-I
> 
> NF/classes/org/apache/webapp/admin/LogOutAction.java?rev=1.3&view=markup
> 
>>HTH,
>>Matthias
>>
>>
>>hermod.opstvedt@dnbnor.no wrote:
>>
>>
>>>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 that posts to the standard
>>>j_security_check, but this fails with a 404 saying j_security_check
>>
>>does
>>
>>
>>>not exist !
>>>
>>>MyFaces is going to be serously hampered in acceptance if it can not
>>>coexist with standard JAAS, and not to speak of integration with
>>>Tomcat's security mechanism.
>>>
>>>
>>>Hermod
>>>
>>>
>>>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>>
>>* * *
>>
>>
>>>This email with attachments is solely for the use of the individual or
>>>entity to whom it is addressed. Please also be aware that the DnB NOR
>>
>>Group
>>
>>
>>>cannot accept any payment orders or other legally binding
>>
>>correspondence with
>>
>>
>>>customers as a part of an email. 
>>>
>>>This email message has been virus checked by the virus programs used
>>>in the DnB NOR Group.
>>>
>>>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>>
>>* * *
>>
>>
> 
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> 
> This email with attachments is solely for the use of the individual or
> entity to whom it is addressed. Please also be aware that the DnB NOR Group
> cannot accept any payment orders or other legally binding correspondence with
> customers as a part of an email. 
> 
> This email message has been virus checked by the virus programs used
> in the DnB NOR Group.
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> 
> 

-- 
Matthias We├čendorf
Aechterhoek 18
DE-48282 Emsdetten
Germany
phone: +49-2572-9170275
cell phone: +49-179-1118979
email: matzew AT apache DOT org
url: http://www.wessendorf.net
callto://mwessendorf (Skype)
icq: 47016183

Mime
View raw message