public void bind( LdapDN bindDn, byte[] credentials, List mechanisms, String saslAuthId ) throws NamingException { // does nothing throw new LdapAuthenticationNotSupportedException( "Bind requests only tunnel down into partitions if there are no authenticators to handle the mechanism.\n" + "Check to see if you have correctly configured authenticators for the server.", ResultCodeEnum.AUTHMETHODNOTSUPPORTED ); }
public final void bind( BindOperationContext bindContext ) throws Exception { // does nothing throw new LdapAuthenticationNotSupportedException( ResultCodeEnum.AUTH_METHOD_NOT_SUPPORTED, I18n.err( I18n.ERR_702 ) ); }
public final void bind( DN bindDn, byte[] credentials, List<String> mechanisms, String saslAuthId ) throws Exception { if ( bindDn == null || credentials == null || mechanisms == null || saslAuthId == null ) { // do nothing just using variables to prevent yellow lights : bad :) } // does nothing throw new LdapAuthenticationNotSupportedException( ResultCodeEnum.AUTH_METHOD_NOT_SUPPORTED, I18n.err( I18n.ERR_702 ) ); }
throw new LdapAuthenticationNotSupportedException( "Unknown authentication type: '" + authentication + "'", ResultCodeEnum.AUTHMETHODNOTSUPPORTED );