Package com.pingidentity.sdk
Class PluginDescriptor
java.lang.Object
com.pingidentity.sdk.PluginDescriptor
- Direct Known Subclasses:
AdapterSelectorDescriptor,AuthenticationSelectorDescriptor,AuthnAdapterDescriptor,AuthorizationDetailProcessorDescriptor,CaptchaProviderDescriptor,DynamicClientRegistrationPluginDescriptor,IdentityStoreProvisionerDescriptor,NotificationSenderPluginDescriptor,SecretManagerDescriptor,SourceDescriptor,TokenPluginDescriptor
This class is used to describe plugin implementation to the PingFederate server.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty PluginDescriptor.PluginDescriptor(String type, ConfigurablePlugin plugin, GuiConfigDescriptor guiConfigDesc) Creates a PluginDescriptor based on the specified type, plugin and a GUI configuration descriptor.PluginDescriptor(String type, ConfigurablePlugin plugin, GuiConfigDescriptorBuilder guiConfigDescBuilder) Creates a PluginDescriptor based on the specified type, plugin and a GUI configuration descriptor builder.PluginDescriptor(String type, ConfigurablePlugin plugin, GuiConfigDescriptorBuilder guiConfigDescBuilder, String version) Creates a PluginDescriptor based on the specified type, plugin and a GUI configuration descriptor builder.PluginDescriptor(String type, ConfigurablePlugin plugin, GuiConfigDescriptor guiConfigDesc, String version) Creates a PluginDescriptor based on the specified type, plugin and a GUI configuration descriptor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the attribute contract of the plugin that this object describes.Deprecated.The GUI descriptor builder this PluginDescriptor represents.Get additional metadata about the plugin.Gets the class name of the implementing plugin that this PluginDescriptor describes.getType()Gets the the type (or name) of the plugin that this object describes.Gets the version of this PluginDescriptor.inthashCode()booleanReturns whether or not the implementing plugin allows for attributes in addition to those in its contract.voidsetAttributeContactSet(Set<String> attributeContactSet) Deprecated.Use the correctly spelled methodsetAttributeContractSet(Set).voidsetAttributeContractSet(Set<String> attributeContractSet) Sets the attribute contract that this plugin describes.voidsetMetadata(Map<String, Object> metadata) Set additional metadata about the plugin.voidsetSupportsExtendedContract(boolean supportsExtendedContract) Sets whether or not the implementing plugin allows for attributes in addition to those in its contract.
-
Field Details
-
UNDEFINED
- See Also:
-
-
Constructor Details
-
PluginDescriptor
public PluginDescriptor()Creates an empty PluginDescriptor. -
PluginDescriptor
Creates a PluginDescriptor based on the specified type, plugin and a GUI configuration descriptor. The version of this PluginDescriptor will be undefined.- Parameters:
type- A name to represent the type of this plugin.plugin- The configurable plugin that this descriptor is meant to represent.guiConfigDesc- The GUI configuration descriptor associated with this PluginDescriptor.
-
PluginDescriptor
public PluginDescriptor(String type, ConfigurablePlugin plugin, GuiConfigDescriptor guiConfigDesc, String version) Creates a PluginDescriptor based on the specified type, plugin and a GUI configuration descriptor.- Parameters:
type- A name to represent the type of this plugin.plugin- The configurable plugin that this descriptor is meant to represent.guiConfigDesc- The GUI configuration descriptor associated with this PluginDescriptor.version- The version of this PluginDescriptor.
-
PluginDescriptor
public PluginDescriptor(String type, ConfigurablePlugin plugin, GuiConfigDescriptorBuilder guiConfigDescBuilder) Creates a PluginDescriptor based on the specified type, plugin and a GUI configuration descriptor builder. The version of this PluginDescriptor will be undefined.- Parameters:
type- A name to represent the type of this plugin.plugin- The configurable plugin that this descriptor is meant to represent.guiConfigDescBuilder- The GUI configuration descriptor builder associated with this PluginDescriptor.- Since:
- 6.11
-
PluginDescriptor
public PluginDescriptor(String type, ConfigurablePlugin plugin, GuiConfigDescriptorBuilder guiConfigDescBuilder, String version) Creates a PluginDescriptor based on the specified type, plugin and a GUI configuration descriptor builder.- Parameters:
type- A name to represent the type of this plugin.plugin- The configurable plugin that this descriptor is meant to represent.guiConfigDescBuilder- The GUI configuration descriptor builder associated with this PluginDescriptor.version- The version of this PluginDescriptor.- Since:
- 6.11
-
-
Method Details
-
setAttributeContactSet
Deprecated.Use the correctly spelled methodsetAttributeContractSet(Set).Sets the attribute contract that this plugin describes.- Parameters:
attributeContactSet- A set of strings defining the names of the attributes.
-
setAttributeContractSet
Sets the attribute contract that this plugin describes.- Parameters:
attributeContractSet- A set of strings defining the names of the attributes.
-
getType
Gets the the type (or name) of the plugin that this object describes.- Returns:
- The type as a String.
-
getAttributeContractSet
Gets the attribute contract of the plugin that this object describes.- Returns:
- The plugin attribute contract as a Set of Strings.
-
getPluginClassName
Gets the class name of the implementing plugin that this PluginDescriptor describes.- Returns:
- The class name of the implementing plugin this PluginDescriptor describes.
-
getGuiConfigDescriptor
Deprecated.As of 6.11, replaced bygetGuiConfigDescriptorBuilder()The GUI descriptor this PluginDescriptor represents.- Returns:
- The GUI descriptor this PluginDescriptor represents.
-
getGuiConfigDescriptorBuilder
The GUI descriptor builder this PluginDescriptor represents.- Returns:
- The GUI descriptor builder this PluginDescriptor represents.
- Since:
- 6.11
-
hashCode
public int hashCode() -
isSupportsExtendedContract
public boolean isSupportsExtendedContract()Returns whether or not the implementing plugin allows for attributes in addition to those in its contract.- Returns:
- Returns true if the implementing plugin allows for attributes in addition to those in its contract, false otherwise.
-
setSupportsExtendedContract
public void setSupportsExtendedContract(boolean supportsExtendedContract) Sets whether or not the implementing plugin allows for attributes in addition to those in its contract.- Parameters:
supportsExtendedContract- Whether or not the implementing plugin allows for attributes in addition to those in its contract.
-
equals
-
getVersion
Gets the version of this PluginDescriptor.- Returns:
- The version of this PluginDescriptor.
-
getMetadata
Get additional metadata about the plugin. Allowed keys are defined inPluginMetadataKeys.- Returns:
- Additional metadata about the plugin. The returned map is not modifiable.
- Since:
- 10.2
-
setMetadata
Set additional metadata about the plugin. Allowed keys are defined inPluginMetadataKeys.- Parameters:
metadata- Plugin metadata.- Since:
- 10.2
-
getGuiConfigDescriptorBuilder()