[jboss-user] [JBoss Seam] - Re: Upgrading from 1.1.5 to 1.2

2007-03-04 Thread y_zl
I also got the exception. | | javax.faces.el.EvaluationException: Exception while invoking expression #{authenticator.authenticate} | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165) | at

[jboss-user] [JBoss Seam] - Re: Upgrading from 1.1.5 to 1.2

2007-03-01 Thread [EMAIL PROTECTED]
The new authenticate method should not accept any parameters. Instead it can read the username/password from Identity (identity.getUsername() etc) and add roles via the identity api also (identity.addRole(admin)). View the original post :

[jboss-user] [JBoss Seam] - Re: Upgrading from 1.1.5 to 1.2

2007-03-01 Thread nekstrom
Thanks for your help. I changed that function to be correct but I still get that error. Any ideas? Are there compatability issues with using Java 6.0? I think the jars are all compiled with 5.0. My program is compiled with 6.0. I don't think it should be an issue but if some one knows

[jboss-user] [JBoss Seam] - Re: Upgrading from 1.1.5 to 1.2

2007-03-01 Thread nekstrom
Here is my Authenticator Class: | package edu.byu.cs.csl.dogma.server; | | import java.util.List; | import java.util.Set; | | import javax.persistence.EntityManager; | | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Logger; | import

[jboss-user] [JBoss Seam] - Re: Upgrading from 1.1.5 to 1.2

2007-03-01 Thread [EMAIL PROTECTED]
I use Java 6.0 and have no issues. Looking at your code it all seems fine, so I'm not sure what's causing the exception. All I can suggest is you compare your files with the Seam examples, which definitely all work. View the original post :