/** * {@inheritDoc} */ @Override public BindRequest setName( String name ) { getDecorated().setName( name ); return this; }
/** * {@inheritDoc} */ @Override public BindRequest setName( String name ) { getDecorated().setName( name ); return this; }
/** * {@inheritDoc} */ @Override public BindRequest setName( String name ) { getDecorated().setName( name ); return this; }
/** * {@inheritDoc} */ @Override public BindRequest setName( String name ) { getDecorated().setName( name ); return this; }
/** * {@inheritDoc} */ @Override public void anonymousBind() throws LdapException { BindRequest bindRequest = new BindRequestImpl(); bindRequest.setName( "" ); bindRequest.setCredentials( ( byte[] ) null ); BindResponse bindResponse = bind( bindRequest ); processResponse( bindResponse ); }
/** * {@inheritDoc} */ @Override public void action( LdapMessageContainer<BindRequestDecorator> container ) { BindRequest bindRequestMessage = container.getMessage(); // Get the Value and store it in the BindRequest TLV tlv = container.getCurrentTLV(); // We have to handle the special case of a 0 length name if ( tlv.getLength() == 0 ) { bindRequestMessage.setName( "" ); } else { byte[] nameBytes = tlv.getValue().getData(); String nameStr = Strings.utf8ToString( nameBytes ); bindRequestMessage.setName( nameStr ); } if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_05116_BIND_NAME_IS, bindRequestMessage.getName() ) ); } } }
/** * {@inheritDoc} */ @Override public void action( LdapMessageContainer<BindRequestDecorator> container ) { BindRequest bindRequestMessage = container.getMessage(); // Get the Value and store it in the BindRequest TLV tlv = container.getCurrentTLV(); // We have to handle the special case of a 0 length name if ( tlv.getLength() == 0 ) { bindRequestMessage.setName( "" ); } else { byte[] nameBytes = tlv.getValue().getData(); String nameStr = Strings.utf8ToString( nameBytes ); bindRequestMessage.setName( nameStr ); } if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_05116_BIND_NAME_IS, bindRequestMessage.getName() ) ); } } }
/** * {@inheritDoc} */ @Override public void action( LdapMessageContainer<BindRequestDecorator> container ) { BindRequest bindRequestMessage = container.getMessage(); // Get the Value and store it in the BindRequest TLV tlv = container.getCurrentTLV(); // We have to handle the special case of a 0 length name if ( tlv.getLength() == 0 ) { bindRequestMessage.setName( "" ); } else { byte[] nameBytes = tlv.getValue().getData(); String nameStr = Strings.utf8ToString( nameBytes ); bindRequestMessage.setName( nameStr ); } if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_05116_BIND_NAME_IS, bindRequestMessage.getName() ) ); } } }
bindRequest.setSimple( true ); bindRequest.setCredentials( Strings.getBytesUtf8( password ) ); bindRequest.setName( user ); bindRequest.setVersion3( true ); bindRequest.setMessageId( messageId );
bindRequest.setName( name );
bindRequest.setName( name );
bindRequest.setName( name );
bindRequestCopy.setMessageId( newId ); bindRequestCopy.setName( bindRequest.getName() ); bindRequestCopy.setSaslMechanism( bindRequest.getSaslMechanism() ); bindRequestCopy.setSimple( bindRequest.isSimple() );
bindRequestCopy.setMessageId( newId ); bindRequestCopy.setName( bindRequest.getName() ); bindRequestCopy.setSaslMechanism( bindRequest.getSaslMechanism() ); bindRequestCopy.setSimple( bindRequest.isSimple() );
bindRequestCopy.setMessageId( newId ); bindRequestCopy.setName( bindRequest.getName() ); bindRequestCopy.setSaslMechanism( bindRequest.getSaslMechanism() ); bindRequestCopy.setSimple( bindRequest.isSimple() );
bindRequest.setName( bindPrincipal ); bindRequest.setCredentials( bindPassword ); bindResponse = ldapConnection.bind( bindRequest );