* If bind is anything other than simple or none we need to
* complain because SASL is not a supported auth method yet
*/
else
{
throw new LdapAuthenticationNotSupportedException( ResultCodeEnum.AUTHMETHODNOTSUPPORTED );
}
}
else if ( env.containsKey( CREDS ) )
{
if ( !env.containsKey( PRINCIPAL ) )