I'm going to secure my Spring Cloud Application with OAuth2 and XACML (using AuthZForce, Balana, AT&T XACML or something similar).
I want to use the microservices from Spring-Cloud(-Netflix). To make XACML available I think that I need this:
- PEP for each existing API-service
- PDP's as new services, that are used by PEP's. Because Spring-Cloud(-Netflix) has load-balancing functions (Eureka) I need to register this services on Eureka and implement a REST-API.
- Because all PDP's should use the same policies, they need to be stored centrally (Policy Provider)
Which framework is most suitable for this approach.
update 1 It should be possible with AuthZForce (according to the feature description), but I'm not really sure how (there are no detailed documentations or tutorials).