security exception for anonymous

View: New views
2 Messages — Rating Filter:   Alert me  

security exception for anonymous

by nhhockeyplayer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

While displaying a list of pojo (with no security annotations)... and not logged ... anonymous... I try to edit pojo.

I receive exception... any ideas? Works fine after I login.

An exception has occurred. You may continue by restarting the session.
[ +/- ] Exception: Unable to read OGNL expression '<parsed OGNL expression>' of $HibernateAssociationSelect_43@637b1f61[trails:Editors/associationSelect]: Method "buildSelectionModel" failed for object $HibernateAssociationSelect_43@637b1f61[trails:Editors/associationSelect]
org.apache.tapestry.BindingException
binding: ExpressionBinding[trails:Editors/associationSelect buildSelectionModel()]
location: Annotation @org.apache.tapestry.annotations.Parameter(cache=true, defaultValue=buildSelectionModel(), required=false, name=, aliases=) of public abstract org.apache.tapestry.form.IPropertySelectionModel org.trails.component.AbstractPropertySelection.getModel()
 
[ +/- ] Exception: Unable to read OGNL expression '<parsed OGNL expression>' of $HibernateAssociationSelect_43@637b1f61[trails:Editors/associationSelect]: Method "buildSelectionModel" failed for object $HibernateAssociationSelect_43@637b1f61[trails:Editors/associationSelect] [ +/- ] Exception: Method "buildSelectionModel" failed for object $HibernateAssociationSelect_43@637b1f61[trails:Editors/associationSelect] [ +/- ] Exception: could not resolve property: username of: org.trails.demo.Facility; nested exception is org.hibernate.QueryException: could not resolve property: username of: org.trails.demo.Facility [ +/- ] Exception: could not resolve property: username of: org.trails.demo.Facility


Best regards
Ken in nashua



Windows Live SkyDrive lets you share files with faraway friends. Start sharing.
Best regards
Ken in nashua

Parent Message unknown RE: security exception for anonymous

by nhhockeyplayer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Proper rigging of security annotations resolved it.

Seems any pojo living in secure-archetype app that has no security annotation rigging... is uneditable.

Best regards
Ken in nashua




From: nhhockeyplayer@...
To: users@...
Subject: security exception for anonymous
Date: Tue, 6 May 2008 12:48:15 -0400

While displaying a list of pojo (with no security annotations)... and not logged ... anonymous... I try to edit pojo.

I receive exception... any ideas? Works fine after I login.

An exception has occurred. You may continue by restarting the session.
[ +/- ] Exception: Unable to read OGNL expression '<parsed OGNL expression>' of $HibernateAssociationSelect_43@637b1f61[trails:Editors/associationSelect]: Method "buildSelectionModel" failed for object $HibernateAssociationSelect_43@637b1f61[trails:Editors/associationSelect]
org.apache.tapestry.BindingException
binding: ExpressionBinding[trails:Editors/associationSelect buildSelectionModel()]
location: Annotation @org.apache.tapestry.annotations.Parameter(cache=true, defaultValue=buildSelectionModel(), required=false, name=, aliases=) of public abstract org.apache.tapestry.form.IPropertySelectionModel org.trails.component.AbstractPropertySelection.getModel()
 
[ +/- ] Exception: Unable to read OGNL expression '<parsed OGNL expression>' of $HibernateAssociationSelect_43@637b1f61[trails:Editors/associationSelect]: Method "buildSelectionModel" failed for object $HibernateAssociationSelect_43@637b1f61[trails:Editors/associationSelect] [ +/- ] Exception: Method "buildSelectionModel" failed for object $HibernateAssociationSelect_43@637b1f61[trails:Editors/associationSelect] [ +/- ] Exception: could not resolve property: username of: org.trails.demo.Facility; nested exception is org.hibernate.QueryException: could not resolve property: username of: org.trails.demo.Facility [ +/- ] Exception: could not resolve property: username of: org.trails.demo.Facility


Best regards
Ken in nashua



Windows Live SkyDrive lets you share files with faraway friends. Start sharing.


Make Windows Vista more reliable and secure with Windows Vista Service Pack 1. Learn more.
Best regards
Ken in nashua