Closed mdathersajjad closed 5 years ago
I checked the url it is hitting my tomcat server. But due to authorization header it is going to SecurityProvider in spring security. How to remot the authorization header from the http request this plugin calls. This is my configuration
auth_plugin /home/software/Downloads/mqtt/mosquitto/auth-plug.so auth_opt_backends http auth_opt_http_ip 192.168.2.250 auth_opt_http_port 80 auth_opt_http_getuser_uri /project/test/externalCommunication/auth?dbname=local auth_opt_http_superuser_uri /project/test/externalCommunication/superuser?dbname=local auth_opt_http_aclcheck_uri /project/test/externalCommunication/acl?dbname=local
And its is adding header as "authorization:localhost:9090" Please remove the authorization header if basic auth key is not added
I faced a weird issue. I am using the http api and implemented the endpoints in a spring application. The call is not reaching the server at all and it responds with 401 username not found. I tried to implement the endpoints in a simple servlet project and its getting called. Any pointers will be helpful.
The url of spring is somewhat lengthy like domain:port/context/rootmap/controller/auth. Is this a problem