| | |
| | | |
| | | // Get the character sets for use in generating the password. At least one |
| | | // must have been provided. |
| | | HashMap<String,NamedCharacterSet> charsets = |
| | | new HashMap<String,NamedCharacterSet>(); |
| | | HashMap<String,NamedCharacterSet> charsets = new HashMap<>(); |
| | | |
| | | try |
| | | { |
| | |
| | | formatString = configuration.getPasswordFormat(); |
| | | StringTokenizer tokenizer = new StringTokenizer(formatString, ", "); |
| | | |
| | | ArrayList<NamedCharacterSet> setList = new ArrayList<NamedCharacterSet>(); |
| | | ArrayList<Integer> countList = new ArrayList<Integer>(); |
| | | ArrayList<NamedCharacterSet> setList = new ArrayList<>(); |
| | | ArrayList<Integer> countList = new ArrayList<>(); |
| | | |
| | | while (tokenizer.hasMoreTokens()) |
| | | { |
| | |
| | | { |
| | | DN cfgEntryDN = configuration.dn(); |
| | | |
| | | // Get the character sets for use in generating the password. At |
| | | // least one |
| | | // must have been provided. |
| | | HashMap<String,NamedCharacterSet> charsets = |
| | | new HashMap<String,NamedCharacterSet>(); |
| | | // Get the character sets for use in generating the password. |
| | | // At least one must have been provided. |
| | | HashMap<String,NamedCharacterSet> charsets = new HashMap<>(); |
| | | try |
| | | { |
| | | SortedSet<String> currentPasSet = configuration.getPasswordCharacterSet(); |
| | |
| | | // Get the character sets for use in generating the password. At least one |
| | | // must have been provided. |
| | | SortedSet<String> newEncodedCharacterSets = null; |
| | | HashMap<String,NamedCharacterSet> charsets = |
| | | new HashMap<String,NamedCharacterSet>(); |
| | | HashMap<String,NamedCharacterSet> charsets = new HashMap<>(); |
| | | try |
| | | { |
| | | newEncodedCharacterSets = configuration.getPasswordCharacterSet(); |
| | |
| | | |
| | | // Get the value that describes which character set(s) and how many |
| | | // characters from each should be used. |
| | | ArrayList<NamedCharacterSet> newSetList = |
| | | new ArrayList<NamedCharacterSet>(); |
| | | ArrayList<Integer> newCountList = new ArrayList<Integer>(); |
| | | ArrayList<NamedCharacterSet> newSetList = new ArrayList<>(); |
| | | ArrayList<Integer> newCountList = new ArrayList<>(); |
| | | String newFormatString = null; |
| | | |
| | | try |