portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwat...@apache.org
Subject svn commit: r923396 - in /portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/main/java/org/apache/jetspeed/portalsite: impl/PortalSiteSessionContextImpl.java view/SiteViewSearchPath.java
Date Mon, 15 Mar 2010 19:24:57 GMT
Author: rwatler
Date: Mon Mar 15 19:24:57 2010
New Revision: 923396

URL: http://svn.apache.org/viewvc?rev=923396&view=rev
Log:
cleanup comments and commented out code

Modified:
    portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/main/java/org/apache/jetspeed/portalsite/impl/PortalSiteSessionContextImpl.java
    portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/main/java/org/apache/jetspeed/portalsite/view/SiteViewSearchPath.java

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/main/java/org/apache/jetspeed/portalsite/impl/PortalSiteSessionContextImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/main/java/org/apache/jetspeed/portalsite/impl/PortalSiteSessionContextImpl.java?rev=923396&r1=923395&r2=923396&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/main/java/org/apache/jetspeed/portalsite/impl/PortalSiteSessionContextImpl.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/main/java/org/apache/jetspeed/portalsite/impl/PortalSiteSessionContextImpl.java
Mon Mar 15 19:24:57 2010
@@ -1136,30 +1136,6 @@ public class PortalSiteSessionContextImp
         // valid request profile locators are required
         if ((requestProfileLocators == null) || !requestProfileLocators.isEmpty())
         {
-            // get current user principal; ignore derivative
-            // changes in role and group principals
-            //String currentUserPrincipal = null;
-            //Subject subject = JSSubject.getSubject(AccessController.getContext());
-            //if (subject != null)
-            //{
-            //    Iterator principals = subject.getPrincipals().iterator();
-            //    while (principals.hasNext())
-            //    {
-            //        Principal principal = (Principal) principals.next();
-            //        if (principal instanceof User)
-            //        {
-            //            if (currentUserPrincipal == null)
-            //            {
-            //                currentUserPrincipal = principal.getName();
-            //            }
-            //            else
-            //            {
-            //                currentUserPrincipal += "|" + principal.getName();
-            //            }
-            //        }
-            //    }
-            //}
-
             // detect stale session, modification of user
             // principal, or changed profile locators for
             // this session context

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/main/java/org/apache/jetspeed/portalsite/view/SiteViewSearchPath.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/main/java/org/apache/jetspeed/portalsite/view/SiteViewSearchPath.java?rev=923396&r1=923395&r2=923396&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/main/java/org/apache/jetspeed/portalsite/view/SiteViewSearchPath.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/main/java/org/apache/jetspeed/portalsite/view/SiteViewSearchPath.java
Mon Mar 15 19:24:57 2010
@@ -58,7 +58,6 @@ public class SiteViewSearchPath
 
     /**
      * SiteViewSearchPath - root path constructor
-     *                      folder separator from search path
      *
      * @param locatorName profile locator name
      */



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


Mime
View raw message