Package org.sourceid.saml20.adapter.gui
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:
GuiConfigDescriptor.addSummaryDescriptor(ReadOnlyDescriptor)
-
-
Constructor Summary
Constructors Constructor Description LinkDescriptor(String name, String link)Create a new LinkDescriptor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLink()voidsetLink(String link)StringtoString()-
Methods inherited from class org.sourceid.saml20.adapter.gui.ReadOnlyDescriptor
getDescription, getName
-
-
-
-
Constructor Detail
-
LinkDescriptor
public LinkDescriptor(String name, String link)
Create a new LinkDescriptorLinkDescriptor 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.
-
-