I tried this to prevent role doctor, and employee from accessing the page.
@RequiresRoles(value = {"doctor", "employee"})
But now, doctor and employee cannot access the page.
However, @RequiresRoles("doctor")
works fine. Doctor can only access the page
What went wrong?
I am using tapestry5, tapestry-security(apache shiro).