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 PROTECTED] wrote:
> Hi
> 
> Oh I am embarresed - So embarresed :-(
> 
> I finally found out why the doFilter did not get called - I had
defined
> the filter, but not the filter mapping - Now it works just as it
should
> do.
> 
> Regretfully
> 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 Mon, 21 Mar 2005 14:02:38 +0100, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> 
>>Hi
>>
>>No - What I want is what I have in my Strus version : On the frontpage
> 
> i
> 
>>have fields for username/password and a login button. That way a user
>>can log in at any given time - He/She does not have do access a
> 
> secured
> 
>>resource to get a "forced" login. Thats why I have been using
>>SecurityFilter ( S.F project) in my Struts app. However I have not
> 
> been
> 
>>able to get SecurityFilter to work with MyFaces (Yet). It is
> 
> configured
> 
>>as a Filter, and the init method is called OK, but the doFilter method
>>is never called (!).
>>
>>Hermod
>>
>>-----Original Message-----
>>From: Matthias Wessendorf [mailto:[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 for tomcat.
>>
>>-Matthias
>>
>>[EMAIL PROTECTED] wrote:
>>
>>>Hi
>>>
>>>As I said in my post : It works if you try to access a secured
>>
>>resource.
>>
>>>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 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 worked!
>>>>
>>>>I send you (private) the WAR
>>>>
>>>>(user with role admin in tomcat-users.xml on my box)
>>>>
>>>>HTH,
>>>>Matthias
>>>>
>>>
>>>
>>>
>>>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> 
> *
> 
>>* * *
>>
>>>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.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Reply via email to