You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2017/08/08 10:40:57 UTC

[3/4] syncope git commit: [SYNCOPE-1188] Making key mandatory for dynamic realms

[SYNCOPE-1188] Making key mandatory for dynamic realms


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/0d93a3a5
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/0d93a3a5
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/0d93a3a5

Branch: refs/heads/master
Commit: 0d93a3a5bba32a9a544eaea12df72b2d165c51f8
Parents: 2cab5d2
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Tue Aug 8 11:49:25 2017 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Tue Aug 8 12:40:42 2017 +0200

----------------------------------------------------------------------
 .../apache/syncope/client/console/panels/DynRealmModalPanel.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/0d93a3a5/client/console/src/main/java/org/apache/syncope/client/console/panels/DynRealmModalPanel.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/DynRealmModalPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/panels/DynRealmModalPanel.java
index dd22e23..734bd62 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/panels/DynRealmModalPanel.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/DynRealmModalPanel.java
@@ -65,6 +65,7 @@ public class DynRealmModalPanel extends AbstractModalPanel<DynRealmWrapper> {
         AjaxTextFieldPanel key = new AjaxTextFieldPanel(
                 "key", "key", new PropertyModel<String>(dynRealmWrapper.getInnerObject(), "key"), false);
         key.setReadOnly(!create);
+        key.setRequired(true);
         add(key);
 
         add(new Accordion("cond", Collections.<ITab>singletonList(