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
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 :
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
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
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 :