Fix a bug in the LDAP command line tools in which they don't actually support
SASL EXTERNAL authentication even though they claim to.
OpenDS Issue Number: 715
| | |
| | | } |
| | | |
| | | String result = null; |
| | | if(connectionOptions.getSASLMechanism() != null) |
| | | if (connectionOptions.useSASLExternal()) |
| | | { |
| | | result = handler.doSASLExternal(new ASN1OctetString(bindDN), |
| | | connectionOptions.getSASLProperties(), |
| | | requestControls, responseControls); |
| | | } |
| | | else if (connectionOptions.getSASLMechanism() != null) |
| | | { |
| | | result = handler.doSASLBind(new ASN1OctetString(bindDN), bindPW, |
| | | connectionOptions.getSASLMechanism(), |