开发者

java.lang.IllegalArgumentException: Invalid authentication type: want

开发者 https://www.devze.com 2023-04-07 15:32 出处:网络
I have a web-service method which works fine until enabling FIPS mode in tomcat. The code bellow executes fine if FIPS mode is disable:

I have a web-service method which works fine until enabling FIPS mode in tomcat. The code bellow executes fine if FIPS mode is disable:

((X509TrustManager) tm[0]).checkClientTrusted(clientCert, "want");

But when FIPS get enable on tomcat. Same line throws exception as: java.lang.IllegalArgumentException: Invalid authentication type: want.

I gone through java doc, it says method throws IllegalArgumentException if: IllegalArgumentException - if null or zero-length chain is passed in for the chain parameter or if null or zero-length string is passed in for the authType parame开发者_运维问答ter.

But neither of above condition is true in my case.

Not getting why. Please help.

0

精彩评论

暂无评论...
验证码 换一张
取 消