-
-
Save akhudek/3e00c0c54dec3a2def7e to your computer and use it in GitHub Desktop.
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
(defn enabled-cipher-suites | |
"Set the enabled cipher suites." | |
[{:keys [configuration] :as options} ciphers] | |
(let [^Undertow$Builder builder (or configuration (Undertow/builder))] | |
(assoc options :configuration | |
(.setSocketOption builder Options/SSL_ENABLED_CIPHER_SUITES (string/join "," ciphers))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment