[jboss-user] [JBoss Seam] - Re: Seam security / identity.logout

2007-12-06 Thread b.reeve
On further research I found this. http://jira.jboss.org/jira/browse/JBSEAM-2165 It has been fixed in the new release. Thanks !!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4111045#4111045 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam security / identity.logout

2007-12-01 Thread [EMAIL PROTECTED]
You explained it the right way - as I said there is no guarantee that your authenticate method (loginBean.login) will only be called once by Seam's security API. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109516#4109516 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam security / identity.logout

2007-11-30 Thread b.reeve
I think I put it the wrong way. What I meant to say is i have mapped | security:identity authenticate-method=#{loginBean.login}/ | and the loginBean.login method is something like | public boolean login(){ | boolean succeeded = loginAction.login(); | return succeeded; | }

[jboss-user] [JBoss Seam] - Re: Seam security / identity.logout

2007-11-29 Thread b.reeve
Thanks Shane. I see one more behavior When i provide the wrong username or password, my configured login method is being called twice. On debugging I see that the method authenticate of Identity class | public void authenticate() | throws LoginException |{ | // If

[jboss-user] [JBoss Seam] - Re: Seam security / identity.logout

2007-11-29 Thread [EMAIL PROTECTED]
This is normal also - there is no guarantee as to how many times your authenticate method is called. If you need to perform certain actions when authentication is successful then use an event. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109073#4109073

[jboss-user] [JBoss Seam] - Re: Seam security / identity.logout

2007-11-28 Thread [EMAIL PROTECTED]
Write an event observer for org.jboss.seam.loggedOut, this event is raised when Identity.logout() is called. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108686#4108686 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam security / identity.logout

2007-11-28 Thread b.reeve
Thanks, it worked. I had another question too... I am configuring my identity.login to loginBean.login and my loginBean class is like | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | | @Name(loginBean) | public class LoginBean { | |

[jboss-user] [JBoss Seam] - Re: Seam security / identity.logout

2007-11-28 Thread [EMAIL PROTECTED]
That is normal behaviour. The password is cleared after successful authentication. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108750#4108750 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108750

[jboss-user] [JBoss Seam] - Re: Seam and Identity.logout

2007-05-12 Thread [EMAIL PROTECTED]
I use an entry like this in pages.xml: page view-id=* | navigation from-action=#{identity.logout} | redirect view-id=/home.xhtml/ | /navigation | /page View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045234#4045234

[jboss-user] [JBoss Seam] - Re: Seam and Identity.logout

2007-05-12 Thread [EMAIL PROTECTED]
Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045237#4045237 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045237 ___ jboss-user mailing list jboss-user@lists.jboss.org