Don't need to figure out message issuer, decoders do that now.
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sat, 15 Sep 2007 17:53:31 +0000 (17:53 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sat, 15 Sep 2007 17:53:31 +0000 (17:53 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2398 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/idp/profile/saml1/ArtifactResolution.java

index 260656e..99d5f6f 100644 (file)
@@ -163,11 +163,7 @@ public class ArtifactResolution extends AbstractSAML1ProfileHandler {
         } finally {
             // Set as much information as can be retrieved from the decoded message
             try {
-                AbstractSAML1Artifact artifact = requestContext.getArtifacts().iterator().next();
-                SAMLArtifactMapEntry artifactEntry = artifactMap.get(artifact.getArtifactBytes());
-                String relyingPartyId = artifactEntry.getRelyingPartyId();
-
-                requestContext.setInboundMessageIssuer(relyingPartyId);
+                String relyingPartyId = requestContext.getInboundMessageIssuer();
                 RelyingPartyConfiguration rpConfig = getRelyingPartyConfiguration(relyingPartyId);
                 requestContext.setRelyingPartyConfiguration(rpConfig);