[jboss-user] [JBoss Seam] - Re: Extending Identity/RuleBasedIdentity

joeyxxx do-not-reply at jboss.com
Fri Jun 8 02:57:02 EDT 2007


Where do you configure Seam Identity/RulesBasedIdentity is being used?
I've extended RulebasedIdentity to include a couple of fields that handle form input fields presented on the login page. 
Each time I go to the login page, I get the ff error:

javax.faces.el.PropertyNotFoundException: /login.xhtml @32,64 value="#{identity.destination}": Bean: org.jboss.seam.security.RuleBasedIdentity, property: destination
	at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:58)


  | @Name("org.jboss.seam.core.identity")
  | @Scope(ScopeType.SESSION)
  | @Intercept(InterceptionType.AFTER_RESTORE_VIEW)
  | @Startup
  | public class MyIdentity extends RulesBasedIdentity {
  |     
  |     private String destination;
  |     
  |     public void create(){
  |         super.create();
  |         destination="";
  |     }
  | 
  |     public String getDestination() {
  |         return destination;
  |     }
  | 
  |     public void setDestination(String destination) {
  |         this.destination = destination;
  |     }
  | }
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052407#4052407

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052407



More information about the jboss-user mailing list