Author: taylor
Date: Fri Mar 11 21:01:03 2016
New Revision: 1734629
URL: http://svn.apache.org/viewvc?rev=1734629&view=rev
Log:
JS2-1350: wrong profile locators assigned to new users
Modified:
portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java
Modified:
portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java
URL:
http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java?rev=1734629&r1=1734628&r2=1734629&view=diff
==============================================================================
---
portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java
(original)
+++
portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java
Fri Mar 11 21:01:03 2016
@@ -29,6 +29,7 @@ import org.apache.jetspeed.portlets.wick
import org.apache.jetspeed.portlets.wicket.component.CheckBoxPropertyColumn;
import
org.apache.jetspeed.portlets.wicket.component.JavascriptEventConfirmation;
import org.apache.jetspeed.portlets.wicket.component.PortletOddEvenItem;
+import org.apache.jetspeed.profiler.ProfileLocator;
import org.apache.jetspeed.profiler.Profiler;
import org.apache.jetspeed.profiler.rules.PrincipalRule;
import org.apache.jetspeed.profiler.rules.ProfilingRule;
@@ -801,7 +802,7 @@ public class JetspeedPrincipalManagement
if (profilingRule != null)
{
- profiler.setRuleForPrincipal(principal,
profilingRule, "default");
+ profiler.setRuleForPrincipal(principal,
profilingRule, ProfileLocator.PAGE_LOCATOR);
}
else
{
@@ -814,7 +815,7 @@ public class JetspeedPrincipalManagement
if (defaultProfilingRule != null)
{
- profiler.setRuleForPrincipal(principal,
defaultProfilingRule, "default");
+ profiler.setRuleForPrincipal(principal,
defaultProfilingRule, ProfileLocator.PAGE_LOCATOR);
}
else
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]