public void setHoldOnToGSSContext(boolean holdOnToGSSContext) {
        this.holdOnToGSSContext = holdOnToGSSContext;
    }
Determines whether to hold on to the {@link GSSContext GSS security context} or
otherwise {@link GSSContext#dispose() dispose} of it immediately (the default behaviour).
<p>Holding on to the GSS context allows decrypt and encrypt operations for subsequent
interactions with the principal.

@param holdOnToGSSContext true if should hold on to context
pac4j-kerberos/src/main/java/org/pac4j/kerberos/credentials/authenticator/SunJaasKerberosTicketValidator.java