@Inherited @Documented @Target(value=TYPE) @Retention(value=RUNTIME) public @interface RolesRequired
Adds a JAASRoles condition to the current rule. This allows to restrict the rule to users with the given
role. Rewrite uses HttpServletRequest#isUserInRole(String) for checking the roles.
@Join(path = "/admin/users", to = "/admin/user-list.html")
@RolesRequired("admin")
public class MyClass {
}
public abstract String[] value
Copyright © 2021 OCPsoft. All rights reserved.