Fixed cast error.
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sat, 25 Jan 2003 22:00:23 +0000 (22:00 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sat, 25 Jan 2003 22:00:23 +0000 (22:00 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@424 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

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

index 663e2fd..568f75e 100755 (executable)
@@ -156,7 +156,7 @@ public class AAServlet extends HttpServlet {
        MDC.put("remoteAddr", req.getRemoteAddr());
        log.info("Handling request.");
 
-       ArrayList attrs = null;
+       List attrs = null;
        SAMLException ourSE = null;
        AASaml saml = null;
        String userName = null;
@@ -185,7 +185,7 @@ public class AAServlet extends HttpServlet {
                }
            }
 
-           attrs = (ArrayList)Arrays.asList(responder.getReleaseAttributes(userName, uidSyntax, handle, shar, resource));
+           attrs = Arrays.asList(responder.getReleaseAttributes(userName, uidSyntax, handle, shar, resource));
            log.info("Got " + attrs.size() + " attributes for " + userName);
            saml.respond(resp, attrs, null);
            log.info("Successfully responded about "+userName);