Class LinkDescriptor

java.lang.Object
org.sourceid.saml20.adapter.gui.ReadOnlyDescriptor
org.sourceid.saml20.adapter.gui.LinkDescriptor

public class LinkDescriptor extends ReadOnlyDescriptor
A read only descriptor that will render (in GUI screens) a clickable link.
Since:
9.1
See Also:
  • Constructor Details

    • LinkDescriptor

      public LinkDescriptor(String name, String link)
      Create a new LinkDescriptor
           LinkDescriptor changePasswordDirectLink = new LinkDescriptor("A Custom Endpoint",
                   "${baseUrl}/ext/CustomEndpoint?adapterId=${pluginId}")
       
      Parameters:
      name - The field name (must be unique per GuiConfigDescriptor). This name will also be used as the label for the field in the administrative console.
      link - The link to display. The following substitution variables are supported: "${baseUrl}" for PingFed's base URL and "${pluginId}" to get the configured plugin's ID.
  • Method Details