Class RoleBasedSecurityFilter

java.lang.Object
org.jboss.resteasy.plugins.interceptors.RoleBasedSecurityFilter
All Implemented Interfaces:
jakarta.ws.rs.container.ContainerRequestFilter

@Priority(2000) public class RoleBasedSecurityFilter extends Object implements jakarta.ws.rs.container.ContainerRequestFilter
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

    • rolesAllowed

      protected String[] rolesAllowed
    • denyAll

      protected boolean denyAll
    • permitAll

      protected boolean permitAll
  • Constructor Details

    • RoleBasedSecurityFilter

      public RoleBasedSecurityFilter(String[] rolesAllowed, boolean denyAll, boolean permitAll)
  • Method Details

    • filter

      public void filter(jakarta.ws.rs.container.ContainerRequestContext requestContext) throws IOException
      Specified by:
      filter in interface jakarta.ws.rs.container.ContainerRequestFilter
      Throws:
      IOException