The security constraint, on the portal you defined:
| <security-constraint>
| <policy-permission>
| <unchecked/>
| <action-name>personalizerecursive</action-name>
| </policy-permission>
| </security-constraint>
|
You should have something like:
| <security-constraint>
| <policy-permission>
| <unchecked/>
| <action-name>personalizerecursive</action-name>
| <action-name>viewrecursive</action-name>
| </policy-permission>
| </security-constraint>
|
That's not related to your error. But i wonder how you got to that point.
Also you did not answer about the errors in the log file
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055199#4055199
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055199
Problem with that second solution is that it leads to the N+1 problem.
There is a third solution - use LEFT JOIN FETCH.
If you have a collection that is configure for lazy loading, you can execute a JPQL query that left join fetches the collection you want to eagerly load. There is plenty of info on the net about left join fetches if you want to learn more.
All of these solutions mentioned in this thread are not hibernate specific.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055198#4055198
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055198
Hi all,
I'd like to have some kind of interceptor around a sessionbean-method that clears (set to null) entity properties. I need this feature to have some NO_READ access control on property level.
My first approach was to write a simple ejb-interceptor but it takes part in the sessionbean-method transaction and so the entity's properties was set to null on the database, too.
Is there a way to do such datastructure manipulation with my entity beans without having the database changed? Do I have to write an JBoss interceptor?
Thanks for help.
Carsten
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055197#4055197
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055197