I created a SecureMarkupContainer following Maurice's example (http://
www.nabble.com/Swarm%3A-Authorization--for-WebMarkupContainer-
td17206272.html#a17219441), with the only difference being it's its
own class (not subclass). For some reason, the component doesn't
seem to be added to the page after authenticating. The correct
values are returned by typeOfData.isAuthenticated(). However, it
seems whatever hides/displays the component is not getting executed
or executed correctly. Below are some snippets of code:
Search:
SecureMarkupContainer typeOfData = new SecureMarkupContainer
("typeOfData");
add(typeOfData);
Search.html:
<div wicket:id="typeOfData">security works!</div>
cnv.hive:
permission
org.apache.wicket.security.hive.authorization.permissions.ComponentPermi
ssion "${cnv}.Search:typeOfData", "inherit, render, enable";
Also, I have a few other secure components working fine (ie
SecureLink). Any ideas?
Thanks,
Ryan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]