My way is like in the book: JavaServer Faces JSF in Action Manning i think
its a good solution but i dont know how to put the example in the book in my
aplication. 



hatrang wrote:
> 
> Is your way like the one in the JSF: the complete reference book? I
> haven't tried it yet, but I prefer this one than the filter thing.
> 
> -----Original Message-----
> From: Michał 'Gandalf' Stawicki [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 08, 2007 10:01 AM
> To: MyFaces Discussion
> Subject: Re: JSF Authentication
> 
> Write a bean to store login info and use PhaseListener to check if
> user is logged in if he wants to access pages that need hi to be
> logged in, and redirect to login page if he is not.
> 
> there were some good articles describing this approach. unfortunately
> I can't share my code.
> 
> 
> On 08/08/07, ignicolist <[EMAIL PROTECTED]> wrote:
>>
>> is if you could send to me i would apreciate very much.
>>
>> TKS
>>
>>
>> Anton Gavazuk wrote:
>> >
>> > What you mean  - "filter for sessions"?
>> > I can send you some pieces of my own app with login\logut funcs
>> >
>> > 2007/8/8, ignicolist <[EMAIL PROTECTED]>:
>> >>
>> >>
>> >> Hi,  i need some help, i have a aplication in jsf, with a sql database
>> >> using
>> >> hibernate, and i want implement a login and logout, but i dont know
>> how,
>> >> i
>> >> google much, but all the solutions are so complicated. so i have a
>> >> example
>> >> with a filter, and a put that filter block the pages for non log
>> users,
>> >> but
>> >> i dont know the sufs about sessions and so on... anyone have some
>> example
>> >> working for i use in my aplication?
>> >>
>> >> I just want a simple login logout example, using a filter for
>> sessions.
>> >>
>> >>
>> >> Tks for all the help...
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/JSF-Authentication-tf4235729.html#a12051322
>> >> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/JSF-Authentication-tf4235729.html#a12053317
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Michał Stawicki
> 
> [EMAIL PROTECTED]
> http://stawicki.jasliska.pl
> 
> 
> 
> NOTICE: This message (including any attachments) from Momentum Systems,
> Inc. contains information that is PRIVILEGED and CONFIDENTIAL.  If you are
> not an intended recipient, you are hereby notified that any dissemination
> of this message is strictly prohibited.  If you have received this message
> in error, please do not read, copy or forward this message.  Please
> permanently delete all copies and any attachments and notify the sender
> immediately by reply email or by calling our Office at 703.740.9300.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/JSF-Authentication-tf4235729.html#a12054402
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to