Force refreshing ticket near expiration?
- Dominant language
- C#
- Stars
- 567
- Forks
- 109
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
So currently as I am experimenting the ticket expiration is always the same even if you call renew/authenticate and getserviceticket multiple times. This makes me wonder what would happen if at the edge of expiration kerberos ticket is retrieved but used in the request a second after it has expired (due to just some delay).
**Describe the solution you'd like**
To avoid this I would like to force refresh/generate new ticket that would have new expiration.
**Describe alternatives you've considered**
I couldn't get this to happen any other way except when creating new instance of the KerberosClient. I obviously could just add some sleep if I can see that the ticket is about to expire, but that is not ideal.
Is this already possible in some way or maybe the usage of kerberos is incorrect here?
Contributor guide
Assessment
This issue has not been assessed yet.