Class AuthorizationProcessingFilter

  • All Implemented Interfaces:

    public class AuthorizationProcessingFilter
    extends Object
    A RestEasy filter to centralize protection of APIs based on path pattern
    • Constructor Detail

      • AuthorizationProcessingFilter

        public AuthorizationProcessingFilter()
    • Method Detail

      • filter

        public void filter​( 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 interface
        requestContext - The ContainerRequestContext associated to filter execution
        IOException - In practice no exception is thrown here. It's present to conform to interface implemented.