* @throws ProfileException thrown if there is a problem populating the profile information
*/
protected void populateProfileInformation(BaseSAMLProfileRequestContext requestContext) throws ProfileException {
- requestContext.setCommunicationProfileId(getProfileId());
AbstractSAMLProfileConfiguration profileConfig = (AbstractSAMLProfileConfiguration) requestContext
.getRelyingPartyConfiguration().getProfileConfiguration(getProfileId());
if (profileConfig != null) {
log.debug("Decoding message with decoder binding {}", getInboundBinding());
ArtifactResolutionRequestContext requestContext = new ArtifactResolutionRequestContext();
+ requestContext.setCommunicationProfileId(getProfileId());
MetadataProvider metadataProvider = getMetadataProvider();
requestContext.setMetadataProvider(metadataProvider);
log.debug("Decoding message with decoder binding {}", getInboundBinding());
AttributeQueryContext requestContext = new AttributeQueryContext();
+ requestContext.setCommunicationProfileId(getProfileId());
MetadataProvider metadataProvider = getMetadataProvider();
requestContext.setMetadataProvider(metadataProvider);
HttpServletRequest httpRequest = ((HttpServletRequestAdapter) inTransport).getWrappedRequest();
ShibbolethSSORequestContext requestContext = new ShibbolethSSORequestContext();
+ requestContext.setCommunicationProfileId(getProfileId());
+
requestContext.setMetadataProvider(getMetadataProvider());
requestContext.setSecurityPolicyResolver(getSecurityPolicyResolver());
protected ShibbolethSSORequestContext buildRequestContext(ShibbolethSSOLoginContext loginContext,
HTTPInTransport in, HTTPOutTransport out) throws ProfileException {
ShibbolethSSORequestContext requestContext = new ShibbolethSSORequestContext();
+ requestContext.setCommunicationProfileId(getProfileId());
requestContext.setMessageDecoder(getMessageDecoders().get(getInboundBinding()));
log.debug("Decoding message with decoder binding {}", getInboundBinding());
ArtifactResolutionRequestContext requestContext = new ArtifactResolutionRequestContext();
+ requestContext.setCommunicationProfileId(getProfileId());
MetadataProvider metadataProvider = getMetadataProvider();
requestContext.setMetadataProvider(metadataProvider);
log.debug("Decoding message with decoder binding {}", getInboundBinding());
AttributeQueryContext requestContext = new AttributeQueryContext();
+ requestContext.setCommunicationProfileId(getProfileId());
MetadataProvider metadataProvider = getMetadataProvider();
requestContext.setMetadataProvider(metadataProvider);
throws ProfileException {
log.debug("Decoding message with decoder binding {}", getInboundBinding());
SSORequestContext requestContext = new SSORequestContext();
+ requestContext.setCommunicationProfileId(getProfileId());
+
requestContext.setMetadataProvider(getMetadataProvider());
requestContext.setSecurityPolicyResolver(getSecurityPolicyResolver());
protected SSORequestContext buildRequestContext(Saml2LoginContext loginContext, HTTPInTransport in,
HTTPOutTransport out) throws ProfileException {
SSORequestContext requestContext = new SSORequestContext();
+ requestContext.setCommunicationProfileId(getProfileId());
requestContext.setMessageDecoder(getMessageDecoders().get(getInboundBinding()));