Add javax.net.ssl.X509ExtendedTrustManager + proxy
This commit is contained in:
parent
657adff336
commit
3b251c1b38
4 changed files with 16 additions and 2 deletions
|
|
@ -36,7 +36,7 @@
|
|||
[rewrite-clj/rewrite-clj "1.1.46"]
|
||||
[insn/insn "0.5.2"]
|
||||
[org.babashka/cli "0.7.51"]
|
||||
[org.babashka/http-client "0.3.11"]]
|
||||
[org.babashka/http-client "0.3.12-SNAPSHOT"]]
|
||||
:plugins [[org.kipz/lein-meta-bom "0.1.1"]]
|
||||
:metabom {:jar-name "metabom.jar"}
|
||||
:profiles {:feature/xml {:source-paths ["feature-xml"]
|
||||
|
|
|
|||
2
sci
2
sci
|
|
@ -1 +1 @@
|
|||
Subproject commit e35023cea4e7021386f441ea2623e3b9389e4f4d
|
||||
Subproject commit 3631bee623eff03758556099e36b5a217721b3c1
|
||||
|
|
@ -237,6 +237,7 @@
|
|||
javax.net.ssl.TrustManager
|
||||
javax.net.ssl.TrustManagerFactory
|
||||
javax.net.ssl.X509TrustManager
|
||||
javax.net.ssl.X509ExtendedTrustManager
|
||||
jdk.internal.net.http.HttpClientBuilderImpl
|
||||
jdk.internal.net.http.HttpClientFacade
|
||||
jdk.internal.net.http.HttpRequestBuilderImpl
|
||||
|
|
|
|||
|
|
@ -112,6 +112,19 @@
|
|||
((method-or-bust methods 'write) this b))
|
||||
([b off len]
|
||||
((method-or-bust methods 'write) this b off len))))
|
||||
["javax.net.ssl.X509ExtendedTrustManager" #{}]
|
||||
(proxy [javax.net.ssl.X509ExtendedTrustManager] []
|
||||
(checkClientTrusted
|
||||
([x y]
|
||||
((method-or-bust methods 'checkClientTrusted) this x y))
|
||||
([x y z]
|
||||
((method-or-bust methods 'checkClientTrusted) this x y z)))
|
||||
(checkServerTrusted
|
||||
([x y]
|
||||
((method-or-bust methods 'checkServerTrusted) this x y))
|
||||
([x y z]
|
||||
((method-or-bust methods 'checkServerTrusted) this x y z)))
|
||||
(getAcceptedIssuers [] ((method-or-bust methods 'getAcceptedIssuers) this)))
|
||||
, ;; keep this for merge friendliness
|
||||
)))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue