portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwat...@apache.org
Subject svn commit: r800200 - /portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/profiler/src/java/org/apache/jetspeed/profiler/impl/JetspeedProfilerImpl.java
Date Mon, 03 Aug 2009 05:28:33 GMT
Author: rwatler
Date: Mon Aug  3 05:28:33 2009
New Revision: 800200

URL: http://svn.apache.org/viewvc?rev=800200&view=rev
Log:
JS2-676 backport: do not use 2.2 style user principal

Modified:
    portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/profiler/src/java/org/apache/jetspeed/profiler/impl/JetspeedProfilerImpl.java

Modified: portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/profiler/src/java/org/apache/jetspeed/profiler/impl/JetspeedProfilerImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/profiler/src/java/org/apache/jetspeed/profiler/impl/JetspeedProfilerImpl.java?rev=800200&r1=800199&r2=800200&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/profiler/src/java/org/apache/jetspeed/profiler/impl/JetspeedProfilerImpl.java
(original)
+++ portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/profiler/src/java/org/apache/jetspeed/profiler/impl/JetspeedProfilerImpl.java
Mon Aug  3 05:28:33 2009
@@ -86,12 +86,7 @@
     /**
      * This is the principal that is used if there are no principal to rule associations
for the current principal
      */
-    public final static Principal DEFAULT_RULE_PRINCIPAL = new Principal() {
-        public String getName()
-        {
-            return DEFAULT_RULE_PRINCIPAL_NAME;
-        }
-    };
+    public final static Principal DEFAULT_RULE_PRINCIPAL = new UserPrincipalImpl(DEFAULT_RULE_PRINCIPAL_NAME);
 
     /** The default locator class implementation */
     private String locatorBean = "ProfileLocator";



---------------------------------------------------------------------
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