Class BaseDseAuthenticator

    • Constructor Detail

      • BaseDseAuthenticator

        protected BaseDseAuthenticator​(@NonNull
                                       String serverAuthenticator)
        Deprecated.
    • Method Detail

      • getMechanism

        @NonNull
        protected abstract ByteBuffer getMechanism()
        Deprecated.
      • getInitialServerChallenge

        @NonNull
        protected abstract ByteBuffer getInitialServerChallenge()
        Deprecated.
      • initialResponseSync

        @Nullable
        public ByteBuffer initialResponseSync()
        Deprecated.
        Description copied from interface: SyncAuthenticator
        Obtain an initial response token for initializing the SASL handshake.

        SyncAuthenticator.initialResponse() calls this and wraps the result in an immediately completed future.

        Specified by:
        initialResponseSync in interface SyncAuthenticator
        Returns:
        The initial response to send to the server (which may be null). Note that, if the returned byte buffer is writable, the driver will clear its contents immediately after use (to avoid keeping sensitive information in memory); do not reuse the same buffer across multiple invocations. Alternatively, if the contents are not sensitive, you can make the buffer read-only and safely reuse it.
      • onAuthenticationSuccessSync

        public void onAuthenticationSuccessSync​(@Nullable
                                                ByteBuffer token)
        Deprecated.
        Description copied from interface: SyncAuthenticator
        Called when authentication is successful with the last information optionally sent by the server.

        SyncAuthenticator.onAuthenticationSuccess(ByteBuffer) calls this, and then returns an immediately completed future.

        Specified by:
        onAuthenticationSuccessSync in interface SyncAuthenticator
        Parameters:
        token - the information sent by the server with the authentication successful message. This will be null if the server sends no particular information on authentication success.