Мы должны создать инициированный IDP SSO вызов. Я пытался, но не смог понять, как инициировать процесс отправки SAMLResponse.
Спасибо за помощь
WebSSOProfileImpl webSSOProfile = new WebSSOProfileImpl ();
webSSOProfile.setProcessor(processor());
webSSOProfile.setMetadata(metadata());
WebSSOProfileOptions options = new WebSSOProfileOptions();
options.setIncludeScoping(false);
options.setNameID(org.opensaml.saml2.core.NameIDType.EMAIL);
SAMLMessageContext context = new SAMLMessageContext();
webSSOProfile.sendAuthenticationRequest(context, options);