: 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
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
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
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
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
>
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.
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
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
: 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:
&
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
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
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
.
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
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
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
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
That worked!
I send you (private) the WAR
(user with role admin in tomcat-users.xml on my box)
HTH,
Matthias
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
>
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
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:
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
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
[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
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
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
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
26 matches
Mail list logo