You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motivation:
To Improve code readability and maintain consistency in variable and parameter names.
Modification:
Replaced all instances of the variable and parameter name passwordSupplier with passwordPublisher throughout the codebase.
Added an explanation for passwordPublisher to clarify its purpose and usage.
Result:
Clean up
.option(Option.valueOf("passwordPublisher"), Mono.just("password")) // optional, default null, null means has no passwordPublisher (since 1.0.5 / 0.9.6)
| zeroDateOption | Any value of `ZeroDateOption`| Optional, default `USE_NULL`| The option indicates "zero date" handling, see following notice |
234
236
| autodetectExtensions |`true` or `false`| Optional, default is `true`| Controls auto-detect `Extension`s |
235
237
| useServerPrepareStatement |`true`, `false` or `Predicate<String>`| Optional, default is `false`| See following notice |
238
+
| passwordPublisher | A `Publisher<String>`| Optional, default is `null`| The password publisher, see following notice |
236
239
237
240
-`SslMode` Considers security level and verification for SSL, make sure the database server supports SSL before you want change SSL mode to `REQUIRED` or higher. **The Unix Domain Socket only offers "DISABLED" available**
238
241
-`DISABLED` I don't care about security and don't want to pay the overhead for encryption
- It is **NOT** RECOMMENDED, enable the `autodetectExtensions` is the best way for extensions
259
262
- The `Extensions` will not remove duplicates, make sure it would be not extended twice or more
260
263
- The auto-detected `Extension`s will not affect manual extends and will not remove duplicates
264
+
-`passwordPublisher` Every time the client attempts to authenticate, it will use the password provided by the `passwordPublisher`.(Since `1.0.5` / `0.9.6`) e.g., You can employ this method for IAM-based authentication when connecting to an AWS Aurora RDS database.
261
265
262
266
Should use `enum` in [Programmatic](#programmatic-configuration) configuration that not like discovery configurations, except `TlsVersions` (All elements of `TlsVersions` will be always `String` which is case-sensitive).
0 commit comments