Re: Wicket-Security security check on component on a panel

2009-03-12 Thread Warren Bell
Doing the security check in onBeforeRender() in the Panel fixed it. I did not have a Page yet. Warren I am trying to do a security check on a component that is on a panel like this: if(SecureComponentHelper.isAuthenticated(myComponent)

Wicket-Security security check on component on a panel

2009-03-11 Thread Warren Bell
I am trying to do a security check on a component that is on a panel like this: if(SecureComponentHelper.isAuthenticated(myComponent) SecureComponentHelper.isActionAuthorized(myComponent, enable)) { // Do Something } I have also tried this: if(myComponent.isAuthenticated()