jdk/src/java.naming/share/classes/com/sun/jndi/ldap/sasl/DefaultCallbackHandler.java
changeset 27957 24b4e6082f19
parent 25859 3317bb8137f4
child 44534 a076dffbc2c1
equal deleted inserted replaced
27956:7e6ab24dd745 27957:24b4e6082f19
    88                             }
    88                             }
    89                         }
    89                         }
    90                         if (selected == -1) {
    90                         if (selected == -1) {
    91                             StringBuilder allChoices = new StringBuilder();
    91                             StringBuilder allChoices = new StringBuilder();
    92                             for (int j = 0; j <  choices.length; j++) {
    92                             for (int j = 0; j <  choices.length; j++) {
    93                                 allChoices.append(choices[j] + ",");
    93                                 allChoices.append(choices[j]).append(',');
    94                             }
    94                             }
    95                             throw new IOException("Cannot match " +
    95                             throw new IOException("Cannot match " +
    96                                 "'java.naming.security.sasl.realm' property value, '" +
    96                                 "'java.naming.security.sasl.realm' property value, '" +
    97                                 authRealm + "' with choices " + allChoices +
    97                                 authRealm + "' with choices " + allChoices +
    98                                 "in RealmChoiceCallback");
    98                                 "in RealmChoiceCallback");