Page created: 12 Sep 2019
|
Page updated: 19 Mar 2020
| 1 min read
PingFederate 10.0 Product Configuration User task Product documentation Content Type Administrator Audience Software Deployment Method
You may use the PingFederate SDK to implement a custom solution for grant storage.
-
Implement the
AccessGrantManager
interface.For more information, refer to the Javadoc for theAccessGrantManager
interface, the SampleAccessGrant.java file for a sample implementation, and the SDK developer's guide for build and deployment information.Tip:The Javadoc for PingFederate and the sample implementation are located under the <pf_install>/pingfederate/sdk directory.
-
Edit the
<pf_install>/pingfederate/server/default/conf/META-INF/hivemodule.xml
file.
-
Locate the
AccessGrantManager
service point:<!-- Service for storage of access grants --> <service-point id="AccessGrantManager" interface="com.pingidentity.sdk.accessgrant.AccessGrantManager"> <create-instance class="org.sourceid.oauth20.token.AccessGrantManagerJdbcImpl"/> </service-point>
- Update the class attribute value to the name of your class.
- Save the file.
Note:For a clustered environment, you must edit the hivemodule.xml file on each node manually as cluster replication cannot replicate this change to other nodes.
-
Locate the
- Deploy the required program files of your custom implementation to all PingFederate servers.
-
Start or restart the PingFederate service.
Note:
For a clustered PingFederate environment, replicate this new configuration to other engine nodes on the System > Cluster Management screen; then start or restart the PingFederate service on each engine node to activate the change.