You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by at...@apache.org on 2005/05/24 22:03:21 UTC

cvs commit: jakarta-jetspeed-2/applications/pam/src/java/org/apache/jetspeed/portlets/pam PortletApplicationDetail.java

ate         2005/05/24 13:03:21

  Modified:    applications/pam/src/java/org/apache/jetspeed/portlets/pam
                        PortletApplicationDetail.java
  Log:
  make sure new user attribute names are trimmed
  
  Revision  Changes    Path
  1.38      +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.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- PortletApplicationDetail.java	26 Apr 2005 23:17:01 -0000	1.37
  +++ PortletApplicationDetail.java	24 May 2005 20:03:21 -0000	1.38
  @@ -352,7 +352,7 @@
                   {
                       MutablePortletApplication mpa = registry.getPortletApplication(paName);
                       
  -                    mpa.addUserAttribute(userAttrName, userAttrDesc);                
  +                    mpa.addUserAttribute(userAttrName.trim(), userAttrDesc);                
                       
                       registry.updatePortletApplication(mpa);
                   }
  
  
  

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