I need to mount a smb/cifs file share using a service ticket obtained via S4U2Proxy (resource-based constrained delegation). I think I can do all the steps in Java except for creating the credential cache with the service ticket in it (which mount.cifs could then use).
I've seen some questions on SO already about writing a credential cache from Java and it looks like it can't be done. Any ideas to the contrary?
Alternatively, what's a language & library to do the S2U4Proxy in that can write a credential cache? It has to run on Linux.