ok i will try! Tks
Michał 'Gandalf' Stawicki wrote: > > 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 > > -- View this message in context: http://www.nabble.com/JSF-Authentication-tf4235729.html#a12054062 Sent from the MyFaces - Users mailing list archive at Nabble.com.

