We are integrating CUBA application with Kong. At Kong we have plugins that will integrate with IDP and authorize the request. After authorization, request will be passed to custom REST controller created under portal. In custom REST controller we want to enable only basic authentication using the user name and default password.
Could you please help me in understanding how only basic authentication can be added to the custom REST controller.
resourceFilter checks the Bearer token provided by the REST API add-on. You don’t need this behavior as I understand. You may try to write your own filter that will check the Authorization header from the request and include this filter into security configuration.