Skip to content

Commit

Permalink
Bugfix: DefaultDN can now include empty RDNs
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikramer committed Nov 17, 2017
1 parent 2a57a32 commit 26ccd4c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion kse/src/org/kse/gui/dialogs/DPreferences.java
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ private boolean storePreferences() {
}

private boolean storeDefaultDN() {
X500Name dn = distinguishedNameChooser.getDN();
X500Name dn = distinguishedNameChooser.getDNWithEmptyRdns();
defaultDN = dn.toString();
return true;
}
Expand Down Expand Up @@ -1026,6 +1026,10 @@ public boolean getLookFeelDecoration() {
return lookFeelDecorated;
}

/**
* Read the new default DN (RDNs can be empty here)
* @return
*/
public String getDefaultDN() {
return defaultDN;
}
Expand Down

0 comments on commit 26ccd4c

Please sign in to comment.