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: [email protected]
For additional commands, e-mail: [email protected]