public void setUserIdentity(final UserIdentity userIdentity) {
        this.userIdentity = userIdentity;
    }
@param tokenResponse
@param jwtClaims
@param updateFunction The function to get new up-to-date tokens.
stroom-security/stroom-security-common-impl/src/main/java/stroom/security/common/impl/UpdatableToken.java