[opencms-dev] Struts Integration

Anil Patel toanilpatel at hotmail.com
Wed Jan 15 19:56:06 CET 2003


Ken,
It looks like I understand little bit. Thanks for details.
Regards
Anil






>From: "Kenneth Lewelling" <klewelling at curoalemanz.com>
>Reply-To: opencms-dev at www.opencms.org
>To: <opencms-dev at www.opencms.org>
>Subject: RE: [opencms-dev] Struts Integration
>Date: Tue, 14 Jan 2003 23:16:56 -0600
>
>	Thank you for your comment and I agree completely. I probably wasn't very
>clear. OpenCms would manage the jsp files from Struts applications natively
>(like an other jsp file), however in Struts you use a mapping scheme to
>access Struts Actions (which extend an interface). Any security is handled
>in the jsp files or the your Action class. Typically all request from .do
>(i.e. http://somedomain.com/login.do) are checked against a logical name in
>the struts.xml file (i.e.. any requests to /login.do goes to
>com.yourpackage.MyLogin which extends the Action interface.
>	The whole idea of having an addition resources is to control access to
>these logical names declaratively. Just as the Struts jsp files will follow
>OpenCms security model, the logical mappings to Actions will also. This
>should have no affect on importing or exporting a Struts application.
>Actions can still implement a security model, however in the OpenCms
>environment it will have OpenCms's security model as well. Having Actions
>(really the logical mapping) identified by a new OpenCms resource would 
>have
>the additional benefit of integrating with the current project management
>system as well.
>
>Hope this clears things up, not confuse them further. I will probably do a
>more in-depth case study and post it on my website.
>Kenneth Lewelling
>http://opencmsstruts.sourceforge.net
>
>-----Original Message-----
>From: owner-opencms-dev at www.opencms.org
>[mailto:owner-opencms-dev at www.opencms.org]On Behalf Of Anil K Patel
>Sent: Tuesday, January 14, 2003 9:02 PM
>To: opencms-dev at www.opencms.org
>Subject: Re: [opencms-dev] Struts Integration
>
>
>Kenneth,
>I am not able to imagine what exactly you want to get with Integrating
>OpenCMS/Struts.
>To me It means.
>the View part is Managed by OpenCMS. We should be able to develop web
>applicaiton without OpenCMS. Once developed, We should be able to import,
>All JSP/html files into OpenCMS Keeping the Directory hirarcy. The JSP
>should become body with Page template coming from OpenCMS templating 
>system.
>By usiing OpenCMS Management of View becomes Lot easier and Organised. By
>using Struts Application development becomes easy.
>
>All this is Just what I think.
>
>Anil K Patel
>Aditisoft Inc
>www.aditisoft.com
>
>----- Original Message -----
>From: "Kenneth Lewelling" <klewelling at curoalemanz.com>
>To: <opencms-dev at www.opencms.org>
>Sent: Monday, January 13, 2003 6:24 PM
>Subject: RE: [opencms-dev] Struts Integration
>
>
> >
> > Please let me know if this is possible so that I don't waste a time 
>doing
> > something that is impossible. It has to do with creating a CmsLauncher 
>for
> > Struts actions (when I refer to actions I am realy refering to the url
> > mapping to the action (ie map /logon.do to 
>com.somepackage.logonaction)).
>I
> > would like to figure out a way to use OpenCms's declarative security 
>model
> > for the Struts actions. The logical choice is to have the actions in the
> > workplace. This would require a new OpenCms resouce (like jsp, xml
>template,
> > text,etc) because these "action resouces" would have no content, they
>would
> > be place-holders to allow declarative security. These "ation resouces"
>would
> > need to be tightly managed through a Struts administrative interface so
>that
> > they were not created or deleted in the workplace breaking the Struts
> > application.  My question is, would it be possible to restrict users 
>from
> > create/deleting an "action resource" in the OpenCms workplace?
> >
> > Kenneth Lewelling
> > http://opencmsstruts.sourceforge.net
> >
> > -----Original Message-----
> > From: owner-opencms-dev at www.opencms.org
> > [mailto:owner-opencms-dev at www.opencms.org]On Behalf Of Alexander
> > Kandzior
> > Sent: Saturday, January 11, 2003 3:04 AM
> > To: opencms-dev at www.opencms.org
> > Subject: RE: [opencms-dev] Struts Integration
> >
> >
> > Very good. I will try and help as much as I can.
> >
> > Best Regards,
> > Alex.
> >
> > Alexander Kandzior
> > Alkacon Software - The OpenCms Experts
> > http://www.alkacon.com
> >


_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail




More information about the opencms-dev mailing list