cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/webapps/portal/components PortalManager.java
Date Mon, 01 Jul 2002 08:38:46 GMT
cziegeler    2002/07/01 01:38:46

  Modified:    src/java/org/apache/cocoon/webapps/authentication/components
                        AuthenticationManager.java
               src/java/org/apache/cocoon/webapps/portal/components
                        PortalManager.java
  Log:
  Fixing redirect bug during authentication, reported by Simeon Walker [simeon@bangor.ac.uk]
  
  Revision  Changes    Path
  1.10      +2 -2      xml-cocoon2/src/java/org/apache/cocoon/webapps/authentication/components/AuthenticationManager.java
  
  Index: AuthenticationManager.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/webapps/authentication/components/AuthenticationManager.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- AuthenticationManager.java	3 Jun 2002 10:02:01 -0000	1.9
  +++ AuthenticationManager.java	1 Jul 2002 08:38:46 -0000	1.10
  @@ -666,7 +666,7 @@
   
                   parameters.setSingleParameterValue("resource", resource);
                   final String redirectURI = handler.getRedirectURI();
  -                redirector.redirect(false, SourceUtil.appendParameters(redirectURI, parameters));
  +                redirector.globalRedirect(false, SourceUtil.appendParameters(redirectURI,
parameters));
               } else {
                   if (loadingResource == true) {
                       // load application data if we are not inside a resource loading of
authentication
  
  
  
  1.5       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/webapps/portal/components/PortalManager.java
  
  Index: PortalManager.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/webapps/portal/components/PortalManager.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- PortalManager.java	6 May 2002 12:28:52 -0000	1.4
  +++ PortalManager.java	1 Jul 2002 08:38:46 -0000	1.5
  @@ -3239,7 +3239,7 @@
                       redirectURI = (String)config.get(PortalConstants.CONF_PORTAL_URI);
                   }
                   if (redirectURI != null) {
  -                    redirector.redirect( false, redirectURI );
  +                    redirector.globalRedirect( false, redirectURI );
                   }
               }
           }
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message