Search code examples
authorizationwso2xacml3

want to create XACML policy dynamically


i am using WSo2 BALANA as my XACML authorization server .Until now i was creating XACML policies manually.however, creating a XACML policy manually is tough and also not feasible. a policy creation tool or an API with which i can create XACML policies dynamically would be needed to address this issue. is there any tool or api like that is available ?


Solution

  • Yes.. If you want to integrate policy creation in to your project using some library. I guess, best approach is to use Balana utils library. It is a library that can be used to create XACML 3.0 policies and XACML 3.0 request using an simple object model. You find the source code of Balana util from here. Basically WSO2 Identity Server policy editors are used this library to build the policies.