Tweak to SAML API
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sat, 3 May 2003 21:36:53 +0000 (21:36 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sat, 3 May 2003 21:36:53 +0000 (21:36 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@587 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aa/AASaml.java

index 6864997..512790a 100755 (executable)
@@ -132,7 +132,7 @@ public class AASaml {
         
         try {
             if(attrs == null || attrs.size() == 0) {
-                       sResp = new SAMLResponse(sreq.getRequestId(),
+                       sResp = new SAMLResponse(sreq.getId(),
                                                 /* recipient URL*/ null,
                                                 /* no attrs -> no assersion*/ null,
                                                 exception);
@@ -178,7 +178,7 @@ public class AASaml {
                                                     Collections.singleton(statement)
                                  );
         
-                       sResp = new SAMLResponse(sreq.getRequestId(),
+                       sResp = new SAMLResponse(sreq.getId(),
                                                 /* recipient URL*/ null,
                                                 Collections.singleton(sAssertion),
                                                 exception);
@@ -208,7 +208,7 @@ public class AASaml {
     public void fail(HttpServletResponse resp, SAMLException exception)
        throws IOException{
        try{
-           SAMLResponse sResp = new SAMLResponse((sreq!=null) ? sreq.getRequestId() : null,
+           SAMLResponse sResp = new SAMLResponse((sreq!=null) ? sreq.getId() : null,
                                                  /* recipient URL*/ null,
                                                  /* an assersion*/ null,
                                                  exception);