How to disable kerberos replay cache in Java?

試著忘記壹切 提交于 2020-01-25 07:46:10

问题


I found that define the environment variable KRB5RCACHETYPE=none can disable kerberos replay cache in c/c++ applications, Java has it's own implementation of kerberos authentication, does anyone know how to disable replay cache in Java?


回答1:


I would disable replay detection: http://docs.oracle.com/javase/1.5.0/docs/api/org/ietf/jgss/GSSContext.html#requestReplayDet%28boolean%29



来源:https://stackoverflow.com/questions/14433628/how-to-disable-kerberos-replay-cache-in-java

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!