Class IngOptionalParametersFilter

  • All Implemented Interfaces:
    Serializable, javax.servlet.Filter, javax.servlet.FilterConfig

    @Component
    @Profile("sandbox")
    public class IngOptionalParametersFilter
    extends javax.servlet.http.HttpFilter
    This filter adds optional parameters for successful ING sandbox calls that normally would not be required. ING FAQ https://developer.ing.com/openbanking/support
         I am using the Sandbox, but I am getting a 404 error. What is wrong ?
         You are getting this error because your request does not exactly match the requests that are simulated in the Sandbox.
         When, for example, the query parameters or their values differ from what is being simulated, you will get a 404.
         Make sure you use the exact same query parameters and values as used in the Get started documentation.
     
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doFilter​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, javax.servlet.FilterChain chain)  
      • Methods inherited from class javax.servlet.http.HttpFilter

        doFilter
      • Methods inherited from class javax.servlet.GenericFilter

        getFilterConfig, getFilterName, getInitParameter, getInitParameterNames, getServletContext, init, init
      • Methods inherited from interface javax.servlet.Filter

        destroy
    • Constructor Detail

      • IngOptionalParametersFilter

        public IngOptionalParametersFilter()
    • Method Detail

      • doFilter

        protected void doFilter​(javax.servlet.http.HttpServletRequest req,
                                javax.servlet.http.HttpServletResponse res,
                                javax.servlet.FilterChain chain)
                         throws IOException,
                                javax.servlet.ServletException
        Overrides:
        doFilter in class javax.servlet.http.HttpFilter
        Throws:
        IOException
        javax.servlet.ServletException