Skip to content

Commit

Permalink
Login URL in the SAML configuration panel
Browse files Browse the repository at this point in the history
  • Loading branch information
car031 committed Dec 4, 2023
1 parent cf7d96f commit a462d79
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,11 @@ private void initGUI(GUISamlSettings settings) {
spMetadata.setWrapTitle(false);
spMetadata.setWrap(false);

String loginUrl = Util.contextPath() + "saml/login";
LinkItem login = ItemFactory.newLinkItem("login", "login", loginUrl, loginUrl);
login.setWrapTitle(false);
login.setWrap(false);

DynamicForm generalForm = new DynamicForm();
generalForm.setValuesManager(vm);
generalForm.setTitleOrientation(TitleOrientation.TOP);
Expand All @@ -182,7 +187,7 @@ private void initGUI(GUISamlSettings settings) {
generalForm.setIsGroup(true);
generalForm.setHeight(1);
generalForm.setWidth(590);
generalForm.setFields(enabled, id, authnRequestSigned, assertionsEncrypted, nameIdEncrypted, certificate,
generalForm.setFields(enabled, id, login, authnRequestSigned, assertionsEncrypted, nameIdEncrypted, certificate,
privateKey, idpMetadata, spMetadata);

DynamicForm attributeMappingsForm = new DynamicForm();
Expand Down

0 comments on commit a462d79

Please sign in to comment.