I have a requirement to secure rest endpoints exposed by spring cloud functions hosted on azure. We want to use spring security to authenticate and authorize the call but I am unable to do it. The same code works on springboot application but does not have any effect on spring cloud functions.
So breaking down my question into smaller chunks
- Does spring cloud functions support spring security?
- If yes, how can this be achieved.
- If no, what should be the approach to achieve this?