Recognize Attribute Push
authorgilbert <gilbert@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 22 Jul 2005 19:55:06 +0000 (19:55 +0000)
committergilbert <gilbert@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 22 Jul 2005 19:55:06 +0000 (19:55 +0000)
Support GET for Artifact

git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1754 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/serviceprovider/AssertionConsumerServlet.java

index f9aace3..750de42 100644 (file)
@@ -327,6 +327,7 @@ public class AssertionConsumerServlet extends HttpServlet {
             while (statements.hasNext()) {
                 SAMLStatement statement = (SAMLStatement) statements.next();
                 if (statement instanceof SAMLAttributeStatement) {
             while (statements.hasNext()) {
                 SAMLStatement statement = (SAMLStatement) statements.next();
                 if (statement instanceof SAMLAttributeStatement) {
+                    log.info("Found Attributes with Authenticaiton data (Attribute Push).");
                     session.setAttributeResponse(samlresponse);
                     // Note, the Attribute Statements have not been checked for 
                     // AAP or Signatures. AttributeRequestor will bypass calling
                     session.setAttributeResponse(samlresponse);
                     // Note, the Attribute Statements have not been checked for 
                     // AAP or Signatures. AttributeRequestor will bypass calling
@@ -338,10 +339,13 @@ public class AssertionConsumerServlet extends HttpServlet {
     }
 
 
     }
 
 
-
+    /**
+     * Artifact comes as a GET
+     */
     protected void doGet(HttpServletRequest arg0, HttpServletResponse arg1)
        throws ServletException, IOException {
     protected void doGet(HttpServletRequest arg0, HttpServletResponse arg1)
        throws ServletException, IOException {
-       // Currently the Assertion Consumer does not receive a GET
+        log.debug("Received GET: "+ arg0.getQueryString());
+       doPost(arg0,arg1);
     }
        
 
     }