Hi, I am trying to use auth-roles in our application. I am getting the error:
Caused by: java.lang.IllegalArgumentException: MetaDataKey class org.apache.wicket.authorization.strategies.role.metadata.MetaDataRoleAuthorizationStrategy$1 requires argument of class org.apache.wicket.authorization.strategies.role.metadata.ActionPermissions, not class org.apache.wicket.authorization.strategies.role.metadata.ActionPermissions on the line final Label lbl = new Label("lblMessage"); MetaDataRoleAuthorizationStrategy.authorize(lbl, RENDER, "ADMIN"); add(lbl); Without this line I am able to restrict access to the pages. But once I try to implement the strategy over components, I am getting error. Any ideas ? Thanks, NTS -- View this message in context: http://www.nabble.com/wicket-auth-roles-tp16808310p16808310.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]