public void login(String idpEntityId, HttpServletResponse response) {
multiUserApi.get().login(idpEntityId, response);
}
public void localLogout() {
SamlSpSession session = getSession();
if (session == null) {
throw new IllegalStateException("Logout not possible because there is no current session.");
}
multiUserApi.get().localLogout(session);
}