question

karthikeyanperumal84_153621 avatar image
karthikeyanperumal84_153621 asked Erick Ramirez edited

What happens to requests when password is changed and using a custom authenticator?

what happens to my app that is connected to cassandra and a password update happens on the cassandra server. If the existing connections does not drop i want all the new connections to use updated password. If there a way to override newAuthenticator in plaintextauthprovider

password authentication
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

@karthikeyanperumal84_153621 for the Cassandra authenticator, the old password will persist for as long as the credentials cache is valid (default is 2000ms). But since you are using a custom authenticator, it won't automatically use the cache so depending on how you've implemented your authenticator the password reset will be effective immediately.

Note that the password reset will not affect requests which are already authenticated. Cheers!

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.