X-Git-Url: https://repo.niif.hu/gitweb/gitweb.cgi?p=java-idp.git;a=blobdiff_plain;f=src%2Fedu%2Finternet2%2Fmiddleware%2Fshibboleth%2Fidp%2Fprofile%2Fsaml2%2FSSOProfileHandler.java;h=0a0aea61cfb42152f67194aecb46f3afcfb6c8b8;hp=a05a018659912300e66380201896c540486aeed8;hb=08c7c0b00787e80db6c5cabde59d6b327109826f;hpb=5b004103cd64eaf4740d9d1845593b9cf905022e diff --git a/src/edu/internet2/middleware/shibboleth/idp/profile/saml2/SSOProfileHandler.java b/src/edu/internet2/middleware/shibboleth/idp/profile/saml2/SSOProfileHandler.java index a05a018..0a0aea6 100644 --- a/src/edu/internet2/middleware/shibboleth/idp/profile/saml2/SSOProfileHandler.java +++ b/src/edu/internet2/middleware/shibboleth/idp/profile/saml2/SSOProfileHandler.java @@ -278,6 +278,8 @@ public class SSOProfileHandler extends AbstractSAML2ProfileHandler { throws ProfileException { log.debug("Decoding message with decoder binding {}", getInboundBinding()); SSORequestContext requestContext = new SSORequestContext(); + requestContext.setCommunicationProfileId(getProfileId()); + requestContext.setMetadataProvider(getMetadataProvider()); requestContext.setSecurityPolicyResolver(getSecurityPolicyResolver()); @@ -327,6 +329,7 @@ public class SSOProfileHandler extends AbstractSAML2ProfileHandler { protected SSORequestContext buildRequestContext(Saml2LoginContext loginContext, HTTPInTransport in, HTTPOutTransport out) throws ProfileException { SSORequestContext requestContext = new SSORequestContext(); + requestContext.setCommunicationProfileId(getProfileId()); requestContext.setMessageDecoder(getMessageDecoders().get(getInboundBinding()));