portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morci...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/portal/security/portlets PortletWrapper.java
Date Tue, 03 Sep 2002 15:02:13 GMT
morciuch    2002/09/03 08:02:13

  Modified:    src/java/org/apache/jetspeed/portal/security/portlets
                        PortletWrapper.java
  Log:
  Make use of constants for PortletStats status codes
  
  Revision  Changes    Path
  1.12      +3 -3      jakarta-jetspeed/src/java/org/apache/jetspeed/portal/security/portlets/PortletWrapper.java
  
  Index: PortletWrapper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/security/portlets/PortletWrapper.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- PortletWrapper.java	27 Aug 2002 19:28:10 -0000	1.11
  +++ PortletWrapper.java	3 Sep 2002 15:02:13 -0000	1.12
  @@ -142,7 +142,7 @@
           {
               if (PortletStats.isEnabled())
               {
  -                PortletStats.logAccess(rundata, this, "200");
  +                PortletStats.logAccess(rundata, this, PortletStats.ACCESS_OK);
               }
               return wrappedPortlet.getContent(rundata);
           }
  @@ -150,7 +150,7 @@
           {
               if (PortletStats.isEnabled())
               {
  -                PortletStats.logAccess(rundata, this, "401");
  +                PortletStats.logAccess(rundata, this, PortletStats.ACCESS_DENIED);
               }
               return new ClearElement("Sorry, you have no permission to see this portlet");
           }
  
  
  

--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message