Class LDAPBindException

    • Constructor Detail

      • LDAPBindException

        public LDAPBindException​(@NotNull
                                 BindResult bindResult)
        Creates a new LDAP bind exception from the provided bind result.
        Parameters:
        bindResult - The bind result to use to create this exception.
    • Method Detail

      • getBindResult

        @NotNull
        public BindResult getBindResult()
        Retrieves the bind result that was returned by the server.
        Returns:
        The bind result that was returned by the server.
      • getServerSASLCredentials

        @Nullable
        public ASN1OctetString getServerSASLCredentials()
        Retrieves the server SASL credentials included in the bind result, if any.
        Returns:
        The server SASL credentials included in the bind result, or null if the bind result did not include any server SASL credentials.