pathinfo -> requesturi, per email from chad
authordmorr <dmorr@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 22 May 2007 14:24:36 +0000 (14:24 +0000)
committerdmorr <dmorr@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 22 May 2007 14:24:36 +0000 (14:24 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2209 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/idp/authn/AuthenticationManager.java
src/edu/internet2/middleware/shibboleth/idp/profile/saml2/AbstractAuthenticationRequest.java

index 52e4c59..3ce8329 100644 (file)
@@ -282,7 +282,7 @@ public class AuthenticationManager extends HttpServletBean {
                }
 
                // otherwise, forward control to the AuthenticationHandler
-               loginContext.setAuthenticationManagerURL(servletRequest.getPathInfo());
+               loginContext.setAuthenticationManagerURL(servletRequest.getRequestURI());
                handler.login(servletRequest, servletResponse, loginContext);
        }
 
index 0bfc4f2..02471da 100644 (file)
@@ -364,7 +364,7 @@ public abstract class AbstractAuthenticationRequest extends AbstractSAML2Profile
         // forward the request back to this servlet.
         
         Saml2LoginContext loginCtx = new Saml2LoginContext(authnRequest);
-        loginCtx.setProfileHandlerURL(request.getPathInfo());
+        loginCtx.setProfileHandlerURL(request.getRequestURI());
         httpSession.setAttribute(LoginContext.LOGIN_CONTEXT_KEY, loginCtx);
         try {
             RequestDispatcher dispatcher = request