portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions FusionAccessController.java
Date Wed, 11 Aug 2004 21:24:10 GMT
taylor      2004/08/11 14:24:10

  Modified:    fusion/src/java/org/apache/jetspeed/fusion/modules/actions
                        FusionAccessController.java
  Log:
  Suport Portlet API Security PLT.20 in Fusion
  - implemented Fusion security valve to handle J1 specific security in JSR168 Portlets
  - added a user principal with knowledge of JetspeedUser
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.4       +10 -3     jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/FusionAccessController.java
  
  Index: FusionAccessController.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/FusionAccessController.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- FusionAccessController.java	11 Aug 2004 06:40:05 -0000	1.3
  +++ FusionAccessController.java	11 Aug 2004 21:24:10 -0000	1.4
  @@ -88,6 +88,10 @@
               HttpServletRequest request = data.getRequest();
               HttpServletResponse response = data.getResponse();            
               NavigationalStateComponent nav = (NavigationalStateComponent)Jetspeed.getComponentManager().getComponent(NavigationalStateComponent.class);
  +            
  +            //
  +            // Handle Action Phase via Action Pipeline
  +            //
               String action[] = nav.parsePortalParameter(request, NavigationalStateComponent.ACTION);
               if (null != action)
               {                
  @@ -97,10 +101,13 @@
                   contextComponent = (RequestContextComponent)Jetspeed.getComponentManager().getComponent(RequestContextComponent.class);
                   context = contextComponent.create(request, response, config);
                   context.setAttribute(PortalReservedParameters.PIPELINE, PortalReservedParameters.ACTION_PIPELINE);
               
  -                // context.setAttribute(PortalReservedParameters.PORTLET_ENTITY, entityId);
                   
                   engine.service(context);
  -            }            
  +            }
  +            
  +            //
  +            // Sync up navigational state for J1 Portlet Control decorators
  +            //            
               String state[] = nav.parsePortalParameter(request, NavigationalStateComponent.STATE);
               if (state != null)
               {
  
  
  

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


Mime
View raw message