Class DseGssApiAuthProviderBase.GssApiAuthenticator
- java.lang.Object
-
- com.datastax.dse.driver.api.core.auth.BaseDseAuthenticator
-
- com.datastax.dse.driver.api.core.auth.DseGssApiAuthProviderBase.GssApiAuthenticator
-
- All Implemented Interfaces:
Authenticator,SyncAuthenticator
- Enclosing class:
- DseGssApiAuthProviderBase
@Deprecated @ThreadSafe protected static class DseGssApiAuthProviderBase.GssApiAuthenticator extends BaseDseAuthenticator
Deprecated.DSE GSSAPI authentication is no longer supported.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGssApiAuthenticator(DseGssApiAuthProviderBase.GssApiOptions options, EndPoint endPoint, String serverAuthenticator)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ByteBufferevaluateChallengeSync(ByteBuffer challenge)Deprecated.Evaluate a challenge received from the server.protected ByteBuffergetInitialServerChallenge()Deprecated.protected ByteBuffergetMechanism()Deprecated.-
Methods inherited from class com.datastax.dse.driver.api.core.auth.BaseDseAuthenticator
initialResponseSync, onAuthenticationSuccessSync
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.datastax.oss.driver.api.core.auth.SyncAuthenticator
evaluateChallenge, initialResponse, onAuthenticationSuccess
-
-
-
-
Constructor Detail
-
GssApiAuthenticator
protected GssApiAuthenticator(@Nullable DseGssApiAuthProviderBase.GssApiOptions options, @Nullable EndPoint endPoint, @Nullable String serverAuthenticator)Deprecated.
-
-
Method Detail
-
getMechanism
@NonNull protected ByteBuffer getMechanism()
Deprecated.- Specified by:
getMechanismin classBaseDseAuthenticator
-
getInitialServerChallenge
@NonNull protected ByteBuffer getInitialServerChallenge()
Deprecated.- Specified by:
getInitialServerChallengein classBaseDseAuthenticator
-
evaluateChallengeSync
@Nullable public ByteBuffer evaluateChallengeSync(@Nullable ByteBuffer challenge)
Deprecated.Description copied from interface:SyncAuthenticatorEvaluate a challenge received from the server.SyncAuthenticator.evaluateChallenge(ByteBuffer)calls this and wraps the result in an immediately completed future.- Parameters:
challenge- the server's SASL challenge; may benull.- Returns:
- The updated SASL token (which may be
nullto indicate the client requires no further action). 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.
-
-