I am searching for a proper (but not necessary complex) way of
supplementing s4u2proxy.c, in
a way it could get credentials not only from ccache, but also a token (for
from HTTP headers and decoded from base64).
What exactly needs to be done? Is it about gss_acquire_cred()
Acceptable (but not too elegant) solution would be to write credentials to
ccache first, so
currently implemented mechanism (in s4u2proxy.c) could pick them up.