Make authn assertion the first artifact sent to improve interop.
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 21 Jun 2005 20:47:45 +0000 (20:47 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 21 Jun 2005 20:47:45 +0000 (20:47 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1659 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/idp/provider/ShibbolethV1SSOHandler.java

index 13ab3aa..e69cca6 100644 (file)
@@ -211,7 +211,8 @@ public class ShibbolethV1SSOHandler extends SSOHandler implements IdPProtocolHan
                log.debug("Responding with Artifact profile.");
 
                authNSubject.addConfirmationMethod(SAMLSubject.CONF_ARTIFACT);
-               assertions.add(generateAuthNAssertion(request, relyingParty, descriptor, nameId, authenticationMethod,
+               // Add authn assertion to the front of the list so it's the first artifact generated.
+               assertions.add(0,generateAuthNAssertion(request, relyingParty, descriptor, nameId, authenticationMethod,
                                getAuthNTime(request), authNSubject));
 
                // Sign the assertions, if necessary