-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow overriding key/trust managers on
SslConfig
builders (#1476)
Motivation: We ask key/trust materials at the constructor because they are required arguments to build an `SslConfig`. However, users may use a single builder to build multiple `SslConfig` instances with different materials. We should let them override these arguments, if necessary. Modifications: - Make `trustManager` and `keyManager` methods public in `AbstractSslConfigBuilder`; - Add `final` modifier to all methods of `AbstractSslConfigBuilder`; Result: Users can override key/trust materials at `[Client|Server]SslConfigBuilder`.
- Loading branch information
1 parent
c3ece23
commit 1fc3b68
Showing
3 changed files
with
14 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters