Interface DynamicClientRegistrationPlugin
- All Superinterfaces:
ConfigurablePlugin,DescribablePlugin,Plugin
This interface defines the methods that PingFederate calls when performing policy processing for OAuth 2.0 Dynamic Client Registration.
See ConfigurablePlugin for methods that need to be implemented to handle plugin configuration.
- Since:
- 9.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voidprocessPlugin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DynamicClient dynamicClient, Map<String, Object> inParameters) This method is invoked in policy processing of Dynamic Client Registration.default voidprocessPluginDelete(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DynamicClient existingDynamicClient, Map<String, Object> inParameters) This method is invoked in policy processing of Dynamic Client Registration Management delete.default voidprocessPluginGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DynamicClient existingDynamicClient, Map<String, Object> inParameters) This method is invoked in policy processing of Dynamic Client Registration Management get.default voidprocessPluginUpdate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DynamicClient dynamicClient, DynamicClient existingDynamicClient, Map<String, Object> inParameters) This method is invoked in policy processing of Dynamic Client Registration Management update.Methods inherited from interface com.pingidentity.sdk.ConfigurablePlugin
configureMethods inherited from interface com.pingidentity.sdk.DescribablePlugin
getPluginDescriptor
-
Field Details
-
Method Details
-
processPlugin
default void processPlugin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DynamicClient dynamicClient, Map<String, Object> inParameters) throws ClientRegistrationExceptionThis method is invoked in policy processing of Dynamic Client Registration.- Parameters:
request- HttpServletRequest object that can be used to read cookies, parameters and headers. It may be used to find out more about the request such as the full URL the request was made to. Accessing the HttpSession from the request is not recommended.SessionStateSupportmay be used as an alternative.response- HttpServletResponse object.dynamicClient- An object representing the client to be registered. Implementations can modify the values within this object to manipulate the client before it is registered.inParameters- A map containing a set of input parameters. Available input parameters are prefixed withIN_PARAMETER_NAME_*in this interface.- Throws:
ClientRegistrationException- An exception indicating an unsuccessful client registration.- Since:
- 9.0
-
processPluginGet
default void processPluginGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DynamicClient existingDynamicClient, Map<String, Object> inParameters) throws ClientRegistrationExceptionThis method is invoked in policy processing of Dynamic Client Registration Management get.- Parameters:
request- HttpServletRequest object that can be used to read cookies, parameters and headers. It may be used to find out more about the request such as the full URL the request was made to. Accessing the HttpSession from the request is not recommended.SessionStateSupportmay be used as an alternative.response- HttpServletResponse object.existingDynamicClient- An object representing the client as it exists at the time of the get request.inParameters- A map containing a set of input parameters. Available input parameters are prefixed withIN_PARAMETER_NAME_*in this interface.- Throws:
ClientRegistrationException- An exception indicating an unsuccessful client get.- Since:
- 10.1
-
processPluginUpdate
default void processPluginUpdate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DynamicClient dynamicClient, DynamicClient existingDynamicClient, Map<String, Object> inParameters) throws ClientRegistrationExceptionThis method is invoked in policy processing of Dynamic Client Registration Management update.- Parameters:
request- HttpServletRequest object that can be used to read cookies, parameters and headers. It may be used to find out more about the request such as the full URL the request was made to. Accessing the HttpSession from the request is not recommended.SessionStateSupportmay be used as an alternative.response- HttpServletResponse object.dynamicClient- An object representing the client to be updated. Implementations can modify the values within this object to manipulate the client before it is updated.existingDynamicClient- An object representing the client as it exists before the update request. Implementations can use the values within this object to manipulate the dynamicClient before it is updated.inParameters- A map containing a set of input parameters. Available input parameters are prefixed withIN_PARAMETER_NAME_*in this interface.- Throws:
ClientRegistrationException- An exception indicating an unsuccessful client update.- Since:
- 10.1
-
processPluginDelete
default void processPluginDelete(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DynamicClient existingDynamicClient, Map<String, Object> inParameters) throws ClientRegistrationExceptionThis method is invoked in policy processing of Dynamic Client Registration Management delete.- Parameters:
request- HttpServletRequest object that can be used to read cookies, parameters and headers. It may be used to find out more about the request such as the full URL the request was made to. Accessing the HttpSession from the request is not recommended.SessionStateSupportmay be used as an alternative.response- HttpServletResponse object.existingDynamicClient- An object representing the client as it exists before the delete request. Implementations can use the values within this object to do preprocessing logic before the delete.inParameters- A map containing a set of input parameters. Available input parameters are prefixed withIN_PARAMETER_NAME_*in this interface.- Throws:
ClientRegistrationException- An exception indicating an unsuccessful client delete.- Since:
- 10.1
-