T - the model typepublic interface ConfigurationModelAccessor<T>
ConfigurationModelAccessors provide access to PingAccess administrative configuration from plugins.
ConfigurationModelAccessor
implementation Class with one of its ConfigurationFields. A plugin can associate the
ConfigurationModelAccessor implementation Class with one of its ConfigurationFields by
any of the following mechanisms:
Class instance via the UIElement.modelAccessor() element associated with the
field in a PluginConfiguration class
ConfigurationBuilder.dynamicOptions(Class) method on the ConfigurationBuilder
instance used to create the ConfigurationFields for the plugin.
ConfigurationModelAccessor Class associated with a ConfigurationField
to do the following:
ConfigurationOptions instances that are used to create the plugin's descriptor in the
Administrative API.
ConfigurationModelAccessor interface.
ConfigurationModelAccessor interface, a
ConfigurationModelAccessorFactory instance is used to construct instances. A plugin should only utilize
the ConfigurationModelAccessor interface in its ConfigurablePlugin.configure(PluginConfiguration)
method. A ConfigurationModelAccessor instance must never be used in the context of handling a
Request or Response, as in RequestInterceptor.handleRequest(Exchange) or
ResponseInterceptor.handleResponse(Exchange).
| Modifier and Type | Method and Description |
|---|---|
Optional<T> |
get(String id)
Method for acquiring the configuration model using the field value from the configuration submitted to the
Administrative API.
|
Collection<ConfigurationOption> |
options()
Method for acquiring the
Collection of ConfigurationOptions to be exposed in the plugin's
descriptor in the Administrative API. |
Collection<ConfigurationOption> options()
Collection of ConfigurationOptions to be exposed in the plugin's
descriptor in the Administrative API.Collection of ConfigurationOptionOptional<T> get(String id)
options()
call.id - the ConfigurationOption value to lookup the configuration modelOptional if no model corresponds to the idCopyright 2023 Ping Identity Corp. All rights reserved.