diff --git a/logicaldoc-gui/src/main/java/com/logicaldoc/gui/frontend/client/security/saml/SamlPanel.java b/logicaldoc-gui/src/main/java/com/logicaldoc/gui/frontend/client/security/saml/SamlPanel.java index d36d511cb..9319abbf0 100644 --- a/logicaldoc-gui/src/main/java/com/logicaldoc/gui/frontend/client/security/saml/SamlPanel.java +++ b/logicaldoc-gui/src/main/java/com/logicaldoc/gui/frontend/client/security/saml/SamlPanel.java @@ -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); @@ -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();