Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-users] dealing with encrypted passwords

Igor Fedorenko wrote:

Is there an example that shows how to use AuthenticationBuilder and
SecretAuthentication to handle password decryption in application code?

No, the AuthenticationBuilder merely assists in turning already acquired (cleartext) credentials into an impl of the Authentication interface.

Or am I supposed to implement custom Authentication?

Depends on your exact requirements. You could decrypt the passwords upfront in the application and pump the decrypted credentials into the AuthenticationBuilder. You would only need a custom Authentication impl if you desire to decrypt the credentials on-demand.


Benjamin


Back to the top