JAAS - fails to persist Kerberos ticket to cache file, and unable to create cache from scratch.. and other details

后端 未结 3 1712
野趣味
野趣味 2020-12-18 11:40

I\'m developing a Java application that performs authentication with JAAS, should work as follows: (i) when the ticket for user uclient is already in local cach

3条回答
  •  再見小時候
    2020-12-18 12:12

    The other questions.

    3 - just for curiosity, is the Java JaaS able to manage the linux KEYRINGs ? (At the moment Jaas was not able to automatically manage them)

    No, the internal Java Krb classes only manages files not KEYRINGs.

    4 - Is Java JaaS only able to manage/persist tickets for the Default principal in the cache? - Or how do I manage with JaaS a situation where I have tickets for a lot of principals in a single cache file?

    I found no simple way to manage collections (it's quite a recent standard), my personal choice is to create one cache file per principal.

提交回复
热议问题