@Override
    public boolean isServiceUser(final UserIdentity userIdentity) {
        return serviceUserFactory.isServiceUser(userIdentity, getServiceUserIdentity());
    }
Extracts the authenticated user's identity from http request when that
request is part of a UI based authentication flow with the IDP
stroom-security/stroom-security-common-impl/src/main/java/stroom/security/common/impl/AbstractUserIdentityFactory.java