portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/applications/pam/src/java/org/apache/jetspeed/portlets/pam PortletApplicationDetail.java
Date Fri, 01 Oct 2004 19:23:35 GMT
taylor      2004/10/01 12:23:35

  Modified:    applications/pam/src/java/org/apache/jetspeed/portlets/pam
                        PortletApplicationDetail.java
  Log:
  don't allow empty or bland user attribute names
  
  Revision  Changes    Path
  1.29      +2 -2      jakarta-jetspeed-2/applications/pam/src/java/org/apache/jetspeed/portlets/pam/PortletApplicationDetail.java
  
  Index: PortletApplicationDetail.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/applications/pam/src/java/org/apache/jetspeed/portlets/pam/PortletApplicationDetail.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- PortletApplicationDetail.java	1 Oct 2004 19:16:32 -0000	1.28
  +++ PortletApplicationDetail.java	1 Oct 2004 19:23:35 -0000	1.29
  @@ -322,7 +322,7 @@
           {
               String userAttrName = actionRequest.getParameter("user_attr_name");
               String userAttrDesc = actionRequest.getParameter("user_attr_desc");
  -            if(userAttrName != null)
  +            if (userAttrName != null && userAttrName.trim().length() > 0)  
             
               {
                   try
                   {
  
  
  

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


Mime
View raw message