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 2006/01/10 03:23:17 UTC

svn commit: r367463 - /portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/security/impl/SecurityValveImpl.java

Author: ate
Date: Mon Jan  9 18:23:08 2006
New Revision: 367463

URL: http://svn.apache.org/viewcvs?rev=367463&view=rev
Log:
Made SecurityValveImpl.getUserPrincipal(RequestContext) method properly extendable:
- removed final
- added throws Exception just as defined (abstract) in parent AbstractSecurityValve

Modified:
    portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/security/impl/SecurityValveImpl.java

Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/security/impl/SecurityValveImpl.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/security/impl/SecurityValveImpl.java?rev=367463&r1=367462&r2=367463&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/security/impl/SecurityValveImpl.java (original)
+++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/security/impl/SecurityValveImpl.java Mon Jan  9 18:23:08 2006
@@ -134,7 +134,7 @@
      * @param request
      * @return
      */
-    protected final Principal getUserPrincipal(RequestContext request)
+    protected Principal getUserPrincipal(RequestContext request) throws Exception
     {
         Principal userPrincipal = request.getRequest().getUserPrincipal();
         if (userPrincipal == null)



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