Package io.jans.scim.service.filter
Class AuthorizationProcessingFilter
- java.lang.Object
-
- io.jans.scim.service.filter.AuthorizationProcessingFilter
-
- All Implemented Interfaces:
jakarta.ws.rs.container.ContainerRequestFilter
@Provider @Priority(1000) @RequestScoped public class AuthorizationProcessingFilter extends Object implements jakarta.ws.rs.container.ContainerRequestFilter
A RestEasy filter to centralize protection of APIs based on path pattern
-
-
Constructor Summary
Constructors Constructor Description AuthorizationProcessingFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
filter(jakarta.ws.rs.container.ContainerRequestContext requestContext)
This method performs the protection check of service invocations: it provokes returning an early error response if the underlying protection logic does not succeed, otherwise, makes the request flow to its destination service object
-
-
-
Method Detail
-
filter
public void filter(jakarta.ws.rs.container.ContainerRequestContext requestContext) throws IOException
This method performs the protection check of service invocations: it provokes returning an early error response if the underlying protection logic does not succeed, otherwise, makes the request flow to its destination service object- Specified by:
filter
in interfacejakarta.ws.rs.container.ContainerRequestFilter
- Parameters:
requestContext
- The ContainerRequestContext associated to filter execution- Throws:
IOException
- In practice no exception is thrown here. It's present to conform to interface implemented.
-
-