requestContext.setUserSession(userSession);
requestContext.setPrincipalName(userSession.getPrincipalName());
requestContext.setPrincipalAuthenticationMethod(userSession.getServicesInformation().get(
- requestContext.getPeerEntityId()).getAuthenticationMethod().getAuthenticationMethod());
+ requestContext.getInboundMessageIssuer()).getAuthenticationMethod().getAuthenticationMethod());
}
}
ShibbolethSSORequestContext requestContext = new ShibbolethSSORequestContext();
requestContext.setCommunicationProfileId(getProfileId());
-
+
requestContext.setMetadataProvider(getMetadataProvider());
requestContext.setSecurityPolicyResolver(getSecurityPolicyResolver());
endpoint.setLocation(loginContext.getSpAssertionConsumerService());
endpoint.setBinding(getSupportedOutboundBindings().get(0));
log.warn("No endpoint available for relying party {}. Generating endpoint with ACS url {} and binding {}",
- new Object[] { requestContext.getPeerEntityId(), endpoint.getLocation(), endpoint.getBinding() });
+ new Object[] { requestContext.getInboundMessageIssuer(), endpoint.getLocation(),
+ endpoint.getBinding(), });
}
return endpoint;
requestContext.setUserSession(userSession);
requestContext.setPrincipalName(userSession.getPrincipalName());
requestContext.setPrincipalAuthenticationMethod(userSession.getServicesInformation().get(
- requestContext.getPeerEntityId()).getAuthenticationMethod().getAuthenticationMethod());
+ requestContext.getInboundMessageIssuer()).getAuthenticationMethod().getAuthenticationMethod());
}
}
log.debug("Decoding message with decoder binding {}", getInboundBinding());
SSORequestContext requestContext = new SSORequestContext();
requestContext.setCommunicationProfileId(getProfileId());
-
+
requestContext.setMetadataProvider(getMetadataProvider());
requestContext.setSecurityPolicyResolver(getSecurityPolicyResolver());
endpoint.setBinding(getSupportedOutboundBindings().get(0));
}
log.warn("No endpoint available for relying party {}. Generating endpoint with ACS url {} and binding {}",
- new Object[] { requestContext.getPeerEntityId(), endpoint.getLocation(), endpoint.getBinding() });
+ new Object[] { requestContext.getInboundMessageIssuer(), endpoint.getLocation(),
+ endpoint.getBinding(), });
}
return endpoint;