| | |
| | |
|
| | | private JCheckBox notFederatedCheckbox;
|
| | |
|
| | | private JCheckBox disabledCheckbox;
|
| | |
|
| | | private JTextField organizationalUnitField;
|
| | |
|
| | | private JTextField organizationField;
|
| | |
| | | notFederatedCheckbox = new JCheckBox(
|
| | | Translation.get("gb.excludeFromFederationDescription"),
|
| | | anUser.excludeFromFederation);
|
| | | disabledCheckbox = new JCheckBox(Translation.get("gb.disableUserDescription"), anUser.disabled);
|
| | |
|
| | | organizationalUnitField = new JTextField(anUser.organizationalUnit == null ? "" : anUser.organizationalUnit, 25);
|
| | | organizationField = new JTextField(anUser.organization == null ? "" : anUser.organization, 25);
|
| | |
| | | fieldsPanel.add(newFieldPanel(Translation.get("gb.canCreate"), canCreateCheckbox));
|
| | | fieldsPanel.add(newFieldPanel(Translation.get("gb.excludeFromFederation"),
|
| | | notFederatedCheckbox));
|
| | | fieldsPanel.add(newFieldPanel(Translation.get("gb.disableUser"), disabledCheckbox));
|
| | |
|
| | | JPanel attributesPanel = new JPanel(new GridLayout(0, 1, 5, 2));
|
| | | attributesPanel.add(newFieldPanel(Translation.get("gb.organizationalUnit") + " (OU)", organizationalUnitField));
|
| | |
| | | user.canFork = canForkCheckbox.isSelected();
|
| | | user.canCreate = canCreateCheckbox.isSelected();
|
| | | user.excludeFromFederation = notFederatedCheckbox.isSelected();
|
| | | user.disabled = disabledCheckbox.isSelected();
|
| | |
|
| | | user.organizationalUnit = organizationalUnitField.getText().trim();
|
| | | user.organization = organizationField.getText().trim();
|