开发者

java.lang.IllegalArgumentException: Invalid authentication type: want

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜