Package org.ldaptive

Class BindResponse

  • All Implemented Interfaces:
    Message, Result

    public class BindResponse
    extends AbstractResult
    LDAP bind response defined as:
       BindResponse ::= [APPLICATION 1] SEQUENCE {
         COMPONENTS OF LDAPResult,
         serverSaslCreds    [7] OCTET STRING OPTIONAL }
     
    • Field Detail

      • HASH_CODE_SEED

        private static final int HASH_CODE_SEED
        hash code seed.
        See Also:
        Constant Field Values
      • RESULT_CODE_PATH

        private static final DERPath RESULT_CODE_PATH
        DER path to result code.
      • MATCHED_DN_PATH

        private static final DERPath MATCHED_DN_PATH
        DER path to matched DN.
      • DIAGNOSTIC_MESSAGE_PATH

        private static final DERPath DIAGNOSTIC_MESSAGE_PATH
        DER path to diagnostic message.
      • REFERRAL_PATH

        private static final DERPath REFERRAL_PATH
        DER path to referral.
      • SASL_CREDENTIALS_PATH

        private static final DERPath SASL_CREDENTIALS_PATH
        DER path to SASL credentials.
      • serverSaslCreds

        private byte[] serverSaslCreds
        Server SASL credentials.
    • Constructor Detail

      • BindResponse

        private BindResponse()
        Default constructor.
      • BindResponse

        public BindResponse​(DERBuffer buffer)
        Creates a new bind response.
        Parameters:
        buffer - to decode
    • Method Detail

      • getServerSaslCreds

        public byte[] getServerSaslCreds()
      • setServerSaslCreds

        public void setServerSaslCreds​(byte[] creds)
      • hashCode

        public int hashCode()
        Description copied from class: AbstractMessage
        Returns the hash code for this object.
        Specified by:
        hashCode in class AbstractMessage
        Returns:
        hash code
      • builder

        public static BindResponse.Builder builder()
        Creates a builder for this class.
        Returns:
        new builder