Class IdpAuthnAdapterDescriptor
java.lang.Object
com.pingidentity.sdk.PluginDescriptor
org.sourceid.saml20.adapter.AuthnAdapterDescriptor
org.sourceid.saml20.adapter.idp.authn.IdpAuthnAdapterDescriptor
This class is used to describe an IdP adapter implementation to the PingFederate server.
-
Field Summary
Fields inherited from class com.pingidentity.sdk.PluginDescriptor
UNDEFINED -
Constructor Summary
ConstructorsConstructorDescriptionIdpAuthnAdapterDescriptor(ConfigurableAuthnAdapter adapter, String type, Set<String> contract, boolean supportsExtendedContract, boolean allowConfigurableAuthnCtx) Creates a new AuthnAdapterDescriptor with no custom GUI configuration screen.IdpAuthnAdapterDescriptor(ConfigurableAuthnAdapter adapter, String type, Set<String> contract, boolean supportsExtendedContract, AdapterConfigurationGuiDescriptor adapterConfigurationGuiDesc, boolean allowConfigurableAuthnCtx) Creates a new AuthnAdapterDescriptor with a custom GUI configuration screen.IdpAuthnAdapterDescriptor(ConfigurableAuthnAdapter adapter, String type, Set<String> contract, boolean supportsExtendedContract, AdapterConfigurationGuiDescriptor adapterConfigurationGuiDesc, boolean allowConfigurableAuthnCtx, String versionNumber) Creates a new AuthnAdapterDescriptor with a custom GUI configuration screen. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDoes this adapter allow the admin to set a value for the AuthnContextClassRef via the UI.booleanReturns whether or not the implementing plugin allows for attributes in addition to those in its contract.Methods inherited from class org.sourceid.saml20.adapter.AuthnAdapterDescriptor
getAdapterClassName, getConfigurationGuiDescriptorMethods inherited from class com.pingidentity.sdk.PluginDescriptor
equals, getAttributeContractSet, getGuiConfigDescriptor, getGuiConfigDescriptorBuilder, getMetadata, getPluginClassName, getType, getVersion, hashCode, setAttributeContactSet, setAttributeContractSet, setMetadata, setSupportsExtendedContract
-
Constructor Details
-
IdpAuthnAdapterDescriptor
public IdpAuthnAdapterDescriptor(ConfigurableAuthnAdapter adapter, String type, Set<String> contract, boolean supportsExtendedContract, boolean allowConfigurableAuthnCtx) Creates a new AuthnAdapterDescriptor with no custom GUI configuration screen.- Parameters:
adapter- the adapter implementation this descriptor describes.type- the type of the adapter is the 'friendly' name that will show up in the PF GUI - usually in the context of selecting from a number of available adapters. A relatively descriptive and unique name should be used.contract- the names of the attributes that define this adapter's attribute contract. The contract is the set of attributes that theIdpAuthenticationAdapterwill return to the PingFederate system when looking up authentication information.supportsExtendedContract- Deprecated. IdP adapters will always support extended contracts.allowConfigurableAuthnCtx- indicates whether the GUI presents and entry field for setting an authentication context class reference for it. SeeIdpAuthenticationAdapter.AUTHN_CTX_ATTRIBUTE_NAME.
-
IdpAuthnAdapterDescriptor
public IdpAuthnAdapterDescriptor(ConfigurableAuthnAdapter adapter, String type, Set<String> contract, boolean supportsExtendedContract, AdapterConfigurationGuiDescriptor adapterConfigurationGuiDesc, boolean allowConfigurableAuthnCtx) Creates a new AuthnAdapterDescriptor with a custom GUI configuration screen.- Parameters:
adapter- the adapter implementation this descriptor describes.type- the type of the adapter is the 'friendly' name that will show up in the PF GUI - usually in the context of selecting from a number of available adapters. A relatively descriptive and unique name should be used.contract- the names of the attributes that define this adapter's attribute contract. The contract is the set of attributes that theIdpAuthenticationAdapterwill return to the PingFederate system when looking up authentication information.supportsExtendedContract- Deprecated. IdP adapters will always support extended contracts.adapterConfigurationGuiDesc- a descriptor object that tells PingFederate how to render the configuration screen(s) for the adapter this object describes as well as how to validate the input from the front end.allowConfigurableAuthnCtx- indicates whether the GUI presents and entry field for setting an authentication context class reference for it. SeeIdpAuthenticationAdapter.AUTHN_CTX_ATTRIBUTE_NAME.
-
IdpAuthnAdapterDescriptor
public IdpAuthnAdapterDescriptor(ConfigurableAuthnAdapter adapter, String type, Set<String> contract, boolean supportsExtendedContract, AdapterConfigurationGuiDescriptor adapterConfigurationGuiDesc, boolean allowConfigurableAuthnCtx, String versionNumber) Creates a new AuthnAdapterDescriptor with a custom GUI configuration screen.- Parameters:
adapter- the adapter implementation this descriptor describes.type- the type of the adapter is the 'friendly' name that will show up in the PF GUI - usually in the context of selecting from a number of available adapters. A relatively descriptive and unique name should be used.contract- the names of the attributes that define this adapter's attribute contract. The contract is the set of attributes that theIdpAuthenticationAdapterwill return to the PingFederate system when looking up authentication information.supportsExtendedContract- Deprecated. IdP adapters will always support extended contracts.adapterConfigurationGuiDesc- a descriptor object that tells PingFederate how to render the configuration screen(s) for the adapter this object describes as well as how to validate the input from the front end.allowConfigurableAuthnCtx- indicates whether the GUI presents and entry field for setting an authentication context class reference for it. SeeIdpAuthenticationAdapter.AUTHN_CTX_ATTRIBUTE_NAME.versionNumber- defines the adapter's version number.
-
-
Method Details
-
allowConfigurableAuthnCtx
public boolean allowConfigurableAuthnCtx()Does this adapter allow the admin to set a value for the AuthnContextClassRef via the UI. If false, the adapter must set the value at runtime or unspecified will be used. SeeIdpAuthenticationAdapter.AUTHN_CTX_ATTRIBUTE_NAME.- Returns:
- true if the UI should present an option to set the AuthnContextClassRef value, false otherwise.
-
isSupportsExtendedContract
public boolean isSupportsExtendedContract()Description copied from class:PluginDescriptorReturns whether or not the implementing plugin allows for attributes in addition to those in its contract.- Overrides:
isSupportsExtendedContractin classPluginDescriptor- Returns:
- Returns true if the implementing plugin allows for attributes in addition to those in its contract, false otherwise.
-