I tried this public static void contributeSecurityConfiguration(Configuration<SecurityFilterChain> configuration, SecurityFilterChainFactory factory) { configuration.add(factory.createChain("/medicine/create").add(factory.roles(),"employee, doctor").build()); }
and @RequiresRoles(value = {"doctor", "employee"}) None of them worked. :( I wanted doctor and employee to access the page. But, with these code none of them were working. -- View this message in context: http://tapestry.1045711.n5.nabble.com/shiro-tp5082018p5088642.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org