components/visual-panels/usermgr/src/java/vpanels/app/usermgr/com/oracle/solaris/vp/panels/usermgr/client/swing/AdvancedSettingsDialog.java
branchs11-update
changeset 2805 4888f6212f94
parent 827 0944d8c0158b
equal deleted inserted replaced
2804:7546c836fd87 2805:4888f6212f94
    18  *
    18  *
    19  * CDDL HEADER END
    19  * CDDL HEADER END
    20  */
    20  */
    21 
    21 
    22 /*
    22 /*
    23  * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
    23  * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
    24  */
    24  */
    25 
    25 
    26 package com.oracle.solaris.vp.panels.usermgr.client.swing;
    26 package com.oracle.solaris.vp.panels.usermgr.client.swing;
    27 
    27 
    28 import java.util.ArrayList;
    28 import java.util.ArrayList;
    88     private JDialog dialog;
    88     private JDialog dialog;
    89     private AdvancedSettings userSettings[] = {
    89     private AdvancedSettings userSettings[] = {
    90     	new GroupsSettings(),
    90     	new GroupsSettings(),
    91     	new RolesSettings(),
    91     	new RolesSettings(),
    92     	new RightsSettings(),
    92     	new RightsSettings(),
       
    93 	new AuthRightsSettings(),
    93     	new AuthsSettings()
    94     	new AuthsSettings()
    94     };
    95     };
    95 
    96 
    96     // Role doesn't have roles to assign
    97     // Role doesn't have roles to assign
    97     private AdvancedSettings roleSettings[] = {
    98     private AdvancedSettings roleSettings[] = {
    98     	new GroupsSettings(),
    99     	new GroupsSettings(),
    99     	new RightsSettings(),
   100     	new RightsSettings(),
       
   101 	new AuthRightsSettings(),
   100     	new AuthsSettings()
   102     	new AuthsSettings()
   101     };
   103     };
   102 
   104 
   103     private AdvancedSettings settingsList[];
   105     private AdvancedSettings settingsList[];
   104 
   106 
   106     private UserManagedObject userObj;
   108     private UserManagedObject userObj;
   107     private boolean isRole;
   109     private boolean isRole;
   108     private String title = Finder.getString("usermgr.advanced.title");
   110     private String title = Finder.getString("usermgr.advanced.title");
   109 
   111 
   110     private MutableProperty<String> rightsProperty = new StringProperty();
   112     private MutableProperty<String> rightsProperty = new StringProperty();
       
   113     private MutableProperty<String> authRightsProperty = new StringProperty();
   111     private MutableProperty<String> rolesProperty = new StringProperty();
   114     private MutableProperty<String> rolesProperty = new StringProperty();
   112     private MutableProperty<String> groupsProperty = new StringProperty();
   115     private MutableProperty<String> groupsProperty = new StringProperty();
   113     private MutableProperty<String> authsProperty = new StringProperty();
   116     private MutableProperty<String> authsProperty = new StringProperty();
   114 
   117 
   115 
   118