Ouch! Identity providerId, not Service providerId.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 23 Jan 2004 04:52:14 +0000 (04:52 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 23 Jan 2004 04:52:14 +0000 (04:52 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@850 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/common/ShibPOSTProfile.java

index 4599dd3..3e34021 100755 (executable)
@@ -333,8 +333,9 @@ public class ShibPOSTProfile {
 
                ArrayList audiences = new ArrayList();
                audiences.add(relyingParty.getProviderId());
-               if (!relyingParty.getProviderId().equals(relyingParty.getName()))
+               if (!relyingParty.getProviderId().equals(relyingParty.getName())) {
                        audiences.add(relyingParty.getName());
+               }
 
                String issuer;
                if (relyingParty.isLegacyProvider()) {
@@ -360,7 +361,7 @@ public class ShibPOSTProfile {
                        }
 
                } else {
-                       issuer = relyingParty.getProviderId();
+                       issuer = relyingParty.getIdentityProvider().getProviderId();
                }
 
                SAMLResponse r =