Class RequireAnyRoleAuthorizer

All Implemented Interfaces:
Authorizer

public class RequireAnyRoleAuthorizer extends AbstractRequireAnyAuthorizer<String>
Checks an access if the user profile has any of the roles.
Since:
1.8.0
Author:
Jerome Leleu
  • Constructor Details

    • RequireAnyRoleAuthorizer

      public RequireAnyRoleAuthorizer()

      Constructor for RequireAnyRoleAuthorizer.

    • RequireAnyRoleAuthorizer

      public RequireAnyRoleAuthorizer(String... roles)

      Constructor for RequireAnyRoleAuthorizer.

      Parameters:
      roles - a String object
    • RequireAnyRoleAuthorizer

      public RequireAnyRoleAuthorizer(List<String> roles)

      Constructor for RequireAnyRoleAuthorizer.

      Parameters:
      roles - a List object
    • RequireAnyRoleAuthorizer

      public RequireAnyRoleAuthorizer(Set<String> roles)

      Constructor for RequireAnyRoleAuthorizer.

      Parameters:
      roles - a Set object
  • Method Details