Class AuthnAdapterDescriptor

    • Constructor Detail

      • AuthnAdapterDescriptor

        public AuthnAdapterDescriptor​(ConfigurableAuthnAdapter adapter,
                                      String type,
                                      Set<String> contract,
                                      boolean supportsExtendedContract)
        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. In the case of an IdpAuthenticationAdapter this is the set of attributes that it will return to the PingFederate system when looking up authentication information. In the case of a SpAuthenticationAdapter this is the set of attributes that the adapter expects in order to create a security context.
        supportsExtendedContract - indicates whether this adapter supports additional attributes beyond those specified in its attribute contract
      • AuthnAdapterDescriptor

        public AuthnAdapterDescriptor​(ConfigurableAuthnAdapter adapter,
                                      String type,
                                      Set<String> contract,
                                      boolean supportsExtendedContract,
                                      AdapterConfigurationGuiDescriptor adapterConfigurationGuiDesc)
        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. In the case of an IdpAuthenticationAdapter this is the set of attributes that it will return to the PingFederate system when looking up authentication information. In the case of a SpAuthenticationAdapter this is the set of attributes that the adapter expects in order to create a security context.
        supportsExtendedContract - indicates whether this adapter supports additional attributes beyond those specified in its attribute contract
        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.
      • AuthnAdapterDescriptor

        public AuthnAdapterDescriptor​(ConfigurableAuthnAdapter adapter,
                                      String type,
                                      Set<String> contract,
                                      boolean supportsExtendedContract,
                                      AdapterConfigurationGuiDescriptor adapterConfigurationGuiDesc,
                                      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. In the case of an IdpAuthenticationAdapter this is the set of attributes that it will return to the PingFederate system when looking up authentication information. In the case of a SpAuthenticationAdapter this is the set of attributes that the adapter expects in order to create a security context.
        supportsExtendedContract - indicates whether this adapter supports additional attributes beyond those specified in its attribute contract
        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.
        versionNumber - defines the adapter's version number.
    • Method Detail

      • getAdapterClassName

        public String getAdapterClassName()
        Gets the classname of AdapterConfigurationGuiDescriptor.
        Returns:
        the classname as a String.