This repository shows an example Data Access Provider Plugin for the Curity Identity Server. It shows how to use a RESTful JSON web service as a data source.
Note that the Curity Identity Server has a JSON Data Access Provider bundled if you need the functionality in a production environment. This repository serves as a demo of how such a feature can be implemented. You can use it to base your work on.
Build the plugin by running mvn package. This will produce a JAR file in the target directory, which can be installed.
To install the plugin, copy the compiled JAR into ${IDSVR_HOME}/usr/share/plugins/${pluginGroup} on each node, including the admin node. For more information about installing plugins, refer to the plugins documentation.
Run unit tests with:
mvn testOr to run a specific test class use:
mvn test -Dtest=JsonCredentialDataAccessProviderSpecificationPlease visit curity.io for more information about the Curity Identity Server.