save then commit
[java-idp.git] / src / edu / internet2 / middleware / shibboleth / idp / profile / AbstractSAMLProfileHandler.java
index 19af4cc..0e8876d 100644 (file)
@@ -290,7 +290,7 @@ public abstract class AbstractSAMLProfileHandler extends
     protected void populateRelyingPartyInformation(BaseSAMLProfileRequestContext requestContext)
             throws ProfileException {
         MetadataProvider metadataProvider = requestContext.getMetadataProvider();
-        String relyingPartyId = requestContext.getPeerEntityId();
+        String relyingPartyId = requestContext.getInboundMessageIssuer();
 
         EntityDescriptor relyingPartyMetadata;
         try {