Reputation: 189
I have installed a wso2 identity server on my computer and now I am looking to have it act as an pdp and pep for my application which will be a website or database server. I already know how to create policies, the problem is that i can not seem to find a tutorial for how to connect a service to the identity server. what i want is for a tutorial to start off with the simple basic things and then I will be able to move on from there. thank you for your help
Upvotes: 0
Views: 1332
Reputation: 5821
I think you want to use Identity Server as PDP. your application which is running on tomcat uses this PDP for authorization queries. Therefore you want to create PEP component with your application. PEP can do a web service call to WSO2IS PDP. Actually use can use the same PEP client source that is described in the above blog post. You can easily integrate it with your web app. However there is a sample web app that act as a PEP. Please refer the sample from here. Also source code of this web app can be found at here. If you just go through source code, you could find how it has been implemented.
Upvotes: 1