Unfortunately we cannot simply add KeycloakPrincipal to the set of types of Principal bean, because KeycloakPrincipal is not proxyable type.