git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2380
ab3bd59b-922f-494d-bb5f-
6f0a3c29deca
throw new ProfileException("Shibboleth SSO profile is not configured for relying party "
+ loginContext.getRelyingPartyId());
}
+ loginContext.getRequestedAuthenticationMethods().add(rpConfig.getDefaultAuthenticationMethod());
httpSession.setAttribute(LoginContext.LOGIN_CONTEXT_KEY, loginContext);
loginContext.setSpTarget(requestContext.getRelayState());
loginContext.setAuthenticationEngineURL(authenticationManagerPath);
loginContext.setProfileHandlerURL(HttpHelper.getRequestUriWithoutContext(httpRequest));
+
requestContext.setLoginContext(loginContext);
return requestContext;