return current;
}
if (getCurrentRepository().getCurrent().equals(OAuthSession.NULL)) {
buildSessionFor(qualifier);
} else if (!getCurrentRepository().getCurrent().getServiceQualifier().equals(qualifier)) {
throw new ProviderMismatchException("Inconsistent state between repo and service. In repo Session provider is " +
getCurrentRepository().getCurrent().getServiceName() + " while service provider is " + qualifier);
}
return getCurrentRepository().getCurrent();
}