Redirect to home page after login seam 3?

There are a few ways to do this The simplest way is to return "/home. Xhtml in your login action.

There are a few ways to do this. The simplest way is to return "/home. Xhtml"; in your login action.

Is there a way with seam security to redirect if not logined in as JASS – Suraj May 12 at 4:51.

Other way is use navigation rule in faces-config. Xml: /loginPage. Xhtml #{authBean.

Login} success /homePage. Xhtml #{authBean. Login} fail /loginPage.xhtml.

Yes I have put it on navigation rule like #{identity. Login} – Suraj May 12 at 4:44 yes I have put it on navigation rule like #{identity. Login}#{true}/home.

Xhtml that is working fine but now how to check wheather user login or not before rendering view using seam security – Suraj May 12 at 4:50 In view you can use something like this for example: ..... If you wanna to restrict invocation methods by only logged users you can add @LoggedIn annotation on beans or methods – Krzysztof Miksa May 12 at 11:44.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions