I tried to search on the internet, but not found any clear. I am using spring-boot. I have the requirement for supporting either Basic Auth or Bearer (JWT Token). If the request coming with Basic Auth then, only Basic Auth configuration must execute and skip the JWT Token authentication. If Bearer authentication (JWT Token) request is coming, then only JWT Token authentication must execute and skip Basic authentication.
Any suggestions or input will helpful.
Thanks Manoj