/** * Create a Simple BindRequest ready to be sent. * * @param name The Bind name * @param credentials The Bind credentials * @return The created BindRequest instance */ private BindRequest createBindRequest( String name, byte[] credentials ) { return createBindRequest( name, credentials, null, ( Control[] ) null ); }
/** * Create a Simple BindRequest ready to be sent. * * @param name The Bind name * @param credentials The Bind credentials * @return The created BindRequest instance */ private BindRequest createBindRequest( String name, byte[] credentials ) { return createBindRequest( name, credentials, null, ( Control[] ) null ); }
/** * Create a Simple BindRequest ready to be sent. * * @param name The Bind name * @param credentials The Bind credentials * @return The created BindRequest instance */ private BindRequest createBindRequest( String name, byte[] credentials ) { return createBindRequest( name, credentials, null, ( Control[] ) null ); }
/** * Create a Simple BindRequest ready to be sent. * * @param name The Bind name * @param credentials The Bind credentials * @return The created BindRequest instance */ private BindRequest createBindRequest( Dn name, byte[] credentials ) { return createBindRequest( name.getName(), credentials, null, ( Control[] ) null ); }
/** * Create a Simple BindRequest ready to be sent. * * @param name The Bind name * @param credentials The Bind credentials * @return The created BindRequest instance */ private BindRequest createBindRequest( Dn name, byte[] credentials ) { return createBindRequest( name.getName(), credentials, null, ( Control[] ) null ); }
/** * Create a Simple BindRequest ready to be sent. * * @param name The Bind name * @param credentials The Bind credentials * @return The created BindRequest instance */ private BindRequest createBindRequest( Dn name, byte[] credentials ) { return createBindRequest( name.getName(), credentials, null, ( Control[] ) null ); }
/** * {@inheritDoc} */ @Override public BindFuture anonymousBindAsync() throws LdapException { if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_04110_ANONYMOUS_ASYNC_BIND ) ); } // Create the BindRequest BindRequest bindRequest = createBindRequest( StringConstants.EMPTY, Strings.EMPTY_BYTES ); return bindAsync( bindRequest ); }
/** * {@inheritDoc} */ @Override public BindFuture anonymousBindAsync() throws LdapException { if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_04110_ANONYMOUS_ASYNC_BIND ) ); } // Create the BindRequest BindRequest bindRequest = createBindRequest( StringConstants.EMPTY, Strings.EMPTY_BYTES ); return bindAsync( bindRequest ); }
/** * {@inheritDoc} */ @Override public BindFuture anonymousBindAsync() throws LdapException { if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_04110_ANONYMOUS_ASYNC_BIND ) ); } // Create the BindRequest BindRequest bindRequest = createBindRequest( StringConstants.EMPTY, Strings.EMPTY_BYTES ); return bindAsync( bindRequest ); }
/** * Asynchronous unauthenticated authentication bind * * @param name The name we use to authenticate the user. It must be a * valid Dn * @return The BindResponse LdapResponse * @throws LdapException if some error occurred */ public BindFuture bindAsync( String name ) throws LdapException { if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_04102_BIND_REQUEST, name ) ); } // Create the BindRequest BindRequest bindRequest = createBindRequest( name, Strings.EMPTY_BYTES ); return bindAsync( bindRequest ); }
/** * Asynchronous unauthenticated authentication Bind on a server. * * @param name The name we use to authenticate the user. It must be a * valid Dn * @return The BindResponse LdapResponse * @throws LdapException if some error occurred */ public BindFuture bindAsync( Dn name ) throws LdapException { if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_04102_BIND_REQUEST, name ) ); } // Create the BindRequest BindRequest bindRequest = createBindRequest( name, Strings.EMPTY_BYTES ); return bindAsync( bindRequest ); }
/** * {@inheritDoc} */ @Override public void anonymousBind() throws LdapException { if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_04109_ANONYMOUS_BIND ) ); } // Create the BindRequest BindRequest bindRequest = createBindRequest( StringConstants.EMPTY, Strings.EMPTY_BYTES ); BindResponse bindResponse = bind( bindRequest ); processResponse( bindResponse ); }
/** * {@inheritDoc} */ @Override public void anonymousBind() throws LdapException { if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_04109_ANONYMOUS_BIND ) ); } // Create the BindRequest BindRequest bindRequest = createBindRequest( StringConstants.EMPTY, Strings.EMPTY_BYTES ); BindResponse bindResponse = bind( bindRequest ); processResponse( bindResponse ); }
/** * {@inheritDoc} */ @Override public void anonymousBind() throws LdapException { if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_04109_ANONYMOUS_BIND ) ); } // Create the BindRequest BindRequest bindRequest = createBindRequest( StringConstants.EMPTY, Strings.EMPTY_BYTES ); BindResponse bindResponse = bind( bindRequest ); processResponse( bindResponse ); }
/** * {@inheritDoc} */ @Override public BindFuture bindAsync() throws LdapException { if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_04111_ASYNC_BIND ) ); } // Create the BindRequest BindRequest bindRequest = createBindRequest( config.getName(), Strings.getBytesUtf8( config.getCredentials() ) ); return bindAsync( bindRequest ); }
/** * {@inheritDoc} */ @Override public BindFuture bindAsync() throws LdapException { if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_04111_ASYNC_BIND ) ); } // Create the BindRequest BindRequest bindRequest = createBindRequest( config.getName(), Strings.getBytesUtf8( config.getCredentials() ) ); return bindAsync( bindRequest ); }
/** * {@inheritDoc} */ @Override public BindFuture bindAsync() throws LdapException { if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_04111_ASYNC_BIND ) ); } // Create the BindRequest BindRequest bindRequest = createBindRequest( config.getName(), Strings.getBytesUtf8( config.getCredentials() ) ); return bindAsync( bindRequest ); }
/** * {@inheritDoc} */ @Override public void bind() throws LdapException { if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_04112_BIND ) ); } // Create the BindRequest BindRequest bindRequest = createBindRequest( config.getName(), Strings.getBytesUtf8( config.getCredentials() ) ); BindResponse bindResponse = bind( bindRequest ); processResponse( bindResponse ); }
/** * {@inheritDoc} */ @Override public void bind() throws LdapException { if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_04112_BIND ) ); } // Create the BindRequest BindRequest bindRequest = createBindRequest( config.getName(), Strings.getBytesUtf8( config.getCredentials() ) ); BindResponse bindResponse = bind( bindRequest ); processResponse( bindResponse ); }
/** * {@inheritDoc} */ @Override public void bind() throws LdapException { if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_04112_BIND ) ); } // Create the BindRequest BindRequest bindRequest = createBindRequest( config.getName(), Strings.getBytesUtf8( config.getCredentials() ) ); BindResponse bindResponse = bind( bindRequest ); processResponse( bindResponse ); }