config.getLdapHost(), config.getLdapPort(), config.getName());
/** * {@inheritDoc} */ public Object makeObject() throws Exception { LOG.debug( "creating a LDAP connection" ); LdapConnection connection = new LdapConnection( config ); connection.bind( config.getName(), config.getCredentials() ); return connection; }
/** * {@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 ); }
config.getLdapHost(), config.getLdapPort(), config.getName());
connection.bind( connectionConfig.getName(), connectionConfig.getCredentials() );
connection.bind( connectionConfig.getName(), connectionConfig.getCredentials() );
connection.bind( connectionConfig.getName(), connectionConfig.getCredentials() );