class UmsAuthenticationService implements AuthenticationService {

    @Override
    public CloudbreakUser getCloudbreakUser(Authentication auth) {
        if (auth.getPrincipal() instanceof CrnUser) {
            CrnUser crnuser = (CrnUser) auth.getPrincipal();
            return getCloudbreakUser(crnuser.getUserCrn(), null);
        }
        return null;
    }

    public  UmsAuthenticationService(GrpcUmsClient umsClient);

}