Class LinkDescriptor

    • Constructor Detail

      • 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.