[opencms-dev] Re: Urgent: Opening a WYSWIG Editor

Armen Markarian markarian at inexweb.de
Wed Sep 24 11:31:01 CEST 2003


javascript:void(window.open("http://<SERVER>:<PORT>/opencms/opencms/syst
em/workplace/action/edit_page.html?init=true&file=<file-path>","editpage
","width=800,height=600,toolbar=no,directories=no,status=no,scrollbars=y
es,menubar=no,resizable=yes"))

Hopes helped u

Regards

armen

-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] Im Auftrag von
opencms-dev-request at opencms.org
Gesendet: Mittwoch, 24. September 2003 10:17
An: opencms-dev at opencms.org
Betreff: opencms-dev digest, Vol 1 #456 - 4 msgs


Send opencms-dev mailing list submissions to
	opencms-dev at opencms.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://mail.opencms.org/mailman/listinfo/opencms-dev
or, via email, send a message with subject or body 'help' to
	opencms-dev-request at opencms.org

You can reach the person managing the list at
	opencms-dev-admin at opencms.org

When replying, please edit your Subject line so it is more specific than
"Re: Contents of opencms-dev digest..."


Today's Topics:

   1. Workflow related question (Srikanth Addala)
   2. Re: opencms-dev digest, Vol 1 #455 - 12 msgs (ÁªÖÇ)
   3. Urgent: Opening a WYSWIG Editor (srinivas voleti)
   4. RE: how does opencms start (Alexander Kandzior)

--__--__--

Message: 1
Date: Tue, 23 Sep 2003 15:43:38 -0500
From: "Srikanth Addala" <SAddala at ifmc.org>
To: <opencms-dev at opencms.org>
Subject: [opencms-dev] Workflow related question
Reply-To: opencms-dev at opencms.org

Hi Friends,
I am in the process of evaluating OpenCMS for a website we work on. I am
looking into the workflow and have a few questions, I was wondering if
any of you can answer.

------------------------------------------------------------------------
--------------------
In my experience, I am used to creating a workflow process - lets call
it the 
Article Workflow --> Which will have 3 steps
Authoring --> Editing & Approving-->  Publising

I want to assign an author (a person that belongs to the Author role) to
the Authoring Process, an Editor to the Editing process and a publisher
to the Publishing process. So when an author creates an item (after he
is done creating it) can assign this workflow to the item he just
created and send it off to the Editor. The editor makes any necessary
changes and sends it to the Publisher who finally publishes the item. So
there is a relation between the Content Item and the Workflow process.
------------------------------------------------------------------------
--------------------------------
As I am looking into OpenCMS workflow, I was not able to see (out of the
box atleast) this kind of functionality. While I am reading the
documentation, I am coming across information like "OpenCms features
powerful mechanisms for workflow management. A "4-eyes" workflow is
always active for content creation because of the integrated project
mechanism with "online" and "offline" projects". What does this mean?

Do any of you know how to assign a workflow to an item (or if this
feature is there at all)? Or we can only create discrete workflow task
items that are not related to an item (which is not really much useful
to me)?

Please let me know if any of you know more about the workflow features
of OpenCMS, I will really appreciate your help.

Thank You,
Sri Addala. 

--__--__--

Message: 2
Date: Wed, 24 Sep 2003 08:29:04 +0800 (CST)
From: "ÁªÖÇ" <linlianzhi at 21cn.com>
To: opencms-dev at opencms.org
Cc: 
Subject: [opencms-dev] Re: opencms-dev digest, Vol 1 #455 - 12 msgs
Reply-To: opencms-dev at opencms.org

> Send opencms-dev mailing list submissions to
> 	opencms-dev at opencms.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mail.opencms.org/mailman/listinfo/opencms-dev
> or, via email, send a message with subject or body 'help' to
> 	opencms-dev-request at opencms.org
> 
> You can reach the person managing the list at
> 	opencms-dev-admin at opencms.org
> 
> When replying, please edit your Subject line so it is more specific 
> than "Re: Contents of opencms-dev digest..."
> 
> 
> Today's Topics:
> 
>    1. Integration of OpenCms to a Portale(Website) (solomon
woldeyohannes)
>    2. Re: Integration of OpenCms to a Portale(Website) (Joachim
Arrasz)
>    3. Problems with Lucene based module (Romano Tiziano)
>    4. Re: Basic or forms-based authentication for folders - how?
(Claus Priisholm)
>    5. Upload a file with a java class (Biesemans, Jef)
>    6. Re: Upload a file with a java class (Irene Santerini)
>    7. Re: Upload a file with a java class (Joachim Arrasz)
>    8. Re: how does opencms start (Erik Itter)
>    9. OpenCMS/Weblogic Content integration (Greg Murray)
>   10. RE: Basic or forms-based authentication for folders
>        - how? (RReppel at burntsand.com)
>   11. JSP pages are executed twice (Noel Gelineau)
> 
> -- __--__--
> 
> Message: 1
> Date: Tue, 23 Sep 2003 14:36:44 +0200 (MEST)
> From: "solomon woldeyohannes" <woldeyohannes at gmx.de>
> To: opencms-dev at opencms.org <opencms-dev at opencms.org>
> Subject: [opencms-dev] Integration of OpenCms to a Portale(Website)
> Reply-To: opencms-dev at opencms.org
> 
> Hi all,
> i have started to work with OpenCMS for a week and i find it pretty 
> good. I 've a question regarding the ingeration of OpenCMS to an 
> existing website(implemented with Struts, struts-layout). Is there any

> documentation or references or can someone help me?
> 
> 
> 
> Regards
> Solomon
> 
> --
> Solomon Woldeyohannes
> 
> +++ GMX - die erste Adresse für Mail, Message, More! +++
> 
> Getestet von Stiftung Warentest: GMX FreeMail (GUT), GMX ProMail (GUT)

> (Heft 9/03 - 23 e-mail-Tarife: 6 gut, 12 befriedigend, 5 ausreichend)
> 
> Jetzt selbst kostenlos testen: http://www.gmx.net
> 
> 
> -- __--__--
> 
> Message: 2
> Date: Tue, 23 Sep 2003 14:54:55 +0200 (CEST)
> Subject: Re: [opencms-dev] Integration of OpenCms to a 
> Portale(Website)
> From: "Joachim Arrasz" <info at arrasz.de>
> To: <opencms-dev at opencms.org>
> Reply-To: opencms-dev at opencms.org
> 
> There is a project hosted under sourceforge.net
> 
> called opencms-struts ... it`s actually in an alpha stadium ...
> 
> Bye Achim
> 
> --
> Questions about OpenCMS?
> --> www.opencms-forum.de
> 
> 
> > solomon woldeyohannes>
> > Hi all,
> > i have started to work with OpenCMS for a week and i find it pretty 
> > good. I 've a question regarding the ingeration of OpenCMS to an 
> > existing website(implemented with Struts, struts-layout). Is there 
> > any documentation or references or can someone help me?
> >
> >
> >
> > Regards
> > Solomon
> >
> > --
> > Solomon Woldeyohannes
> >
> > +++ GMX - die erste Adresse für Mail, Message, More! +++
> >
> > Getestet von Stiftung Warentest: GMX FreeMail (GUT), GMX ProMail 
> > (GUT) (Heft 9/03 - 23 e-mail-Tarife: 6 gut, 12 befriedigend, 5 
> > ausreichend)
> >
> > Jetzt selbst kostenlos testen: http://www.gmx.net
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list To change

> > your list options, or to unsubscribe from the list, please visit 
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 
> 
> 
> -- __--__--
> 
> Message: 3
> Date: Tue, 23 Sep 2003 15:03:55 +0200
> From: "Romano Tiziano" <tiziano.romano at netikos.com>
> To: <opencms-dev at opencms.org>
> Subject: [opencms-dev] Problems with Lucene based module
> Reply-To: opencms-dev at opencms.org
> 
> 
> Hi all,
> can anyone tell me if Lucene based module is able to indexing files = 
> (html, xml etc, etc...) uploaded in a vfs directory? I mean, after i 
> uploaded a file (Upload new file - Upload File - = Suggested file type

> etc..) and published my project, can I run the = index manager on that

> file? Or do I have to insert a content in a page = previously 
> associated to a template? Thanks a lot
> 
> Tiziano
> 
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=
> 3D-=
> =3D-=3D-=3D-=3D-=3D-=3D
> Tiziano Romano
> NETikos S.p.A.
> Via Matteucci, 34 B
> 56124 PISA - ITALY
> Tel.: + 39 050 968 553
> Fax: + 39 050 968 525
> <mailto:tiziano.romano at netikos.com>
> www.netikos.com=20
>
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D
-=
> =3D-=3D-=3D-=3D-=3D-=3D
> 
> 
> -- __--__--
> 
> Message: 4
> Date: Tue, 23 Sep 2003 15:41:54 +0200
> Subject: Re: [opencms-dev] Basic or forms-based authentication for 
> folders - how?
> From: Claus Priisholm <cpr at codedroids.com>
> To: opencms-dev at opencms.org
> Reply-To: opencms-dev at opencms.org
> 
> Me too :-)
> 
> I have the same idea of using the permissions as a generic access
> control for the site as well. Haven't had any luck so far though.
> I can understand why I would get an error upon publishing and thus 
> exporting a 'static' resource, since once exported it is really not in

> the hands of OpenCms any longer so it cannot really enforce any logic.

> But 'dynamic' pages could be enforced by OpenCms.
> I guess that combining apache (possible tomcat) realms with the user 
> database of OpenCms could achieve some of the wanted effect, but there

> would still be a problem with the navigation method as it returns all 
> the resources independently of permissions (at least it seemed to be 
> what happened when I tried).
> 
> So I would appreciate any pointers as well, to whether the access
> control of OpenCms workplace extends (or can be extended) to include 
> the non-static-exported parts of a site as well.
> 
> On fredag, sep 19, 2003, at 18:57 Europe/Copenhagen,
> RReppel at burntsand.com wrote:
> 
> > Hi,
> >
> > I'm trying to protect a subfolder via Basic Authentication, i.e. 
> > there
> > is a
> > part of my site which is available to the public and another one for

> > which
> > login is required. Can this be done with the built-in security 
> > mechanisms of
> > OpenCMS?
> >
> > One approach I have tried is to go into the OpenCMS Workplace and
> > remove the
> > "r" and "v" permissions for "Others" on the folder to be protected. 
> > However,
> > upon publishing this leads to the following error message:
> >
> > Exception com.opencms.core.CmsException: 31 Access denied to 
> > resource. Detailed error: [com.opencms.file.mySql.CmsResourceBroker]
> > /default/vfs/intra/index.html.
> >
> > .... Where "intra" is the name of the folder I'm trying to protect.
> >
> >
> > Is there another way of doing this?
> >
> > If so, is forms-based authentication supported?
> >
> > Thanks for your help.
> >
> > Regards,
> >
> > Robert
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list To change

> > your list options, or to unsubscribe from the list, please visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> >
> --
> Claus Priisholm
> +45 48 22 46 46, fax: +45 48 22 46 43
> cpr at codedroids.com
> http://www.codedroids.com
> 
> 
> -- __--__-- 
> 
> Message: 5
> From: "Biesemans, Jef" <Jef.Biesemans at eu.fishersci.com>
> To: "'opencms-dev at opencms.org'" <opencms-dev at opencms.org>
> Date: Tue, 23 Sep 2003 16:11:00 +0200
> Subject: [opencms-dev] Upload a file with a java class
> Reply-To: opencms-dev at opencms.org
> 
> Hi,
> 
> I'm devoloping a site with OpenCMS. To put files on the site, I would
like to use a Java class. Is it possible to upload a file to OpenCMS
with Java. And if this is possible, what do I have to do.
> 
> Sorry for my terrible English, but I hope you can understand what I
mean.
> 
> Best regards,
> Jef
> 
> 
>     The information contained in this message is confidential and is
intended for the addressee only
> 
> -- __--__-- 
> 
> Message: 6
> From: "Irene Santerini" <i.santerini at inera.it>
> To: <opencms-dev at opencms.org>
> Subject: Re: [opencms-dev] Upload a file with a java class
> Date: Tue, 23 Sep 2003 16:34:31 +0200
> Reply-To: opencms-dev at opencms.org
> 
> Hi Jef,
> 
> Yes, it's possibile. You can use the method:
> 
> --> getFile
>
------------------------------------------------------------------------
----
> -----------------------------------------------
> public byte[] getFile(java.lang.String name)
> 
> Returns the content of an uploaded file.
> Returns null if no file with this name has been uploaded with this
request.
> Returns an empty byte[] if a file without content has been uploaded.
> Parameters:
> name - The name of the uploaded file.
> Returns:
> The selected uploaded file content.
> 
>
------------------------------------------------------------------------
----
> -----------------------------------------------
> My Java class:
> ...................
> 
> public byte[] getContent(CmsObject cms .......... ) {
> ...............................
> String name_file= (String) parameters.get("name_file");
> byte[] file = cms.getRequestContext().getRequest().getFile(name_file);
> ..................
> }
> 
> where "name" is the name of the uploaded file.
> For ex: <input class="input450" type="file" name="name_file"
id="name_file"
> value="">
> 
> I hope this can help you.
> Bye
> Irene
> 
> ----- Original Message ----- 
> From: "Biesemans, Jef" <Jef.Biesemans at eu.fishersci.com>
> To: <opencms-dev at opencms.org>
> Sent: Tuesday, September 23, 2003 4:11 PM
> Subject: [opencms-dev] Upload a file with a java class
> 
> 
> > Hi,
> >
> > I'm devoloping a site with OpenCMS. To put files on the site, I
would like
> to use a Java class. Is it possible to upload a file to OpenCMS with
Java.
> And if this is possible, what do I have to do.
> >
> > Sorry for my terrible English, but I hope you can understand what I
mean.
> >
> > Best regards,
> > Jef
> >
> >
> >     The information contained in this message is confidential and is
> intended for the addressee only
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> 
> 
> -- __--__-- 
> 
> Message: 7
> Date: Tue, 23 Sep 2003 17:10:38 +0200 (CEST)
> Subject: Re: [opencms-dev] Upload a file with a java class
> From: "Joachim Arrasz" <info at arrasz.de>
> To: <opencms-dev at opencms.org>
> Reply-To: opencms-dev at opencms.org
> 
> One more hint,
> 
> if you use JSP`s you can make this available with the Apache.commons
> packages. There are some ready to use tools doing this with
scriptlet`s or
> a taglib...
> Hope this helps
> 
> Achim
> 
> 
> 
> 
> -- __--__-- 
> 
> Message: 8
> From: erik.itter at t-online.de (Erik Itter)
> To: <opencms-dev at opencms.org>
> Subject: Re: [opencms-dev] how does opencms start
> Date: Tue, 23 Sep 2003 17:36:32 +0200
> Reply-To: opencms-dev at opencms.org
> 
> 1.)
> danke, guess org.opencms.main.OpenCmsServlet will be used in future?
(as it calls/creates the
> OpenCmsCore)
> 
> 2.)
> is there a possibility to check out the sources for the current binary
version (would like to
> understand what the software i might run is doing) - your CVS server
does not seem to provide any
> versions/branches (at least i do not see any at eclipse)
> 
> 
> 
> ----- Original Message ----- 
> From: "Alexander Kandzior" <alex at opencms.org>
> To: <opencms-dev at opencms.org>
> Sent: Tuesday, September 23, 2003 9:30 AM
> Subject: RE: [opencms-dev] how does opencms start
> 
> 
> Don't look in the HEAD branch, look in the "branch_5_0_x" branch. The
class
> in question is deleted in the HEAD.
> 
>
http://www.opencms.org/cvs/viewcvs.cgi/opencms/src/com/opencms/core/Atti
c/Op
> enCmsHttpServlet.java?only_with_tag=branch_5_0_x
> 
> 
> Best Regards,
> Alex.
> 
> Alexander Kandzior
> Alkacon Software - The OpenCms Experts
> http://www.alkacon.com
> 
> 
> > -----Original Message-----
> > From: opencms-dev-admin at opencms.org
> > [mailto:opencms-dev-admin at opencms.org] On Behalf Of Erik Itter
> > Sent: Monday, September 22, 2003 11:28 PM
> > To: opencms-dev at opencms.org
> > Subject: Re: [opencms-dev] how does opencms start
> >
> >
> > sorry, must be leck of sleep but my second post was wrong -
> > the class is not there - therefor still: where is
> > com.opencms.core.OpenCmsHttpServlet or what am i missing?
> >
> > (i think i am using the correct CVS version [head], since it
> > is the only one i can see [no versions or branches???])
> >
> > sorry for tripple posting - i'll have some sleep now
> >
> > --------------------------------------------------------------
> > ------------
> >
> > ----- Original Message ----- 
> > From: "Erik Itter" <erik.itter at t-online.de>
> > To: <opencms-dev at opencms.org>
> > Sent: Monday, September 22, 2003 11:16 PM
> > Subject: Re: [opencms-dev] how does opencms start
> >
> >
> > sometimes things solve themselfes - just checked out
> > tonight's version, seems as if someone had deleted that class
> > before (and a few other important ones as well, sigh)...
> >
> >
> >
> > ----- Original Message ----- 
> > From: "Erik Itter" <erik.itter at t-online.de>
> > To: <opencms-dev at opencms.org>
> > Sent: Monday, September 22, 2003 11:06 PM
> > Subject: [opencms-dev] how does opencms start
> >
> >
> > hi currently trying to understand how opencms is working,
> >
> > my understanding from the web.xml was that processing
> > requests at the servlet container opencms starts by calling
> > com.opencms.core.OpenCmsHttpServlet.
> >
> > i cannot find that class in the project i checked out from
> > the CVS server.
> >
> > where is the class or what am i missing?
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list,
> > please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list,
> > please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list,
> > please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> >
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 
> -- __--__-- 
> 
> Message: 9
> Date: Tue, 23 Sep 2003 11:52:09 -0400
> From: "Greg Murray" <GMurray at edgewater.com>
> To: <opencms-dev at opencms.org>
> Subject: [opencms-dev] OpenCMS/Weblogic Content integration
> Reply-To: opencms-dev at opencms.org
> 
> This is a multi-part message in MIME format.
> 
> ------_=_NextPart_001_01C381EA.A584E434
> Content-Type: text/plain;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> Hello,
> 
> I'm currently trying to configure Weblogic Portal 8.1 to include a =
> OpenCMS 5.0 content repository in WLP's Virtual Content Repository.  =
> Theoretically, when setting this up in WLP, the main thing that's =
> required is some sort of "connection class" - i.e., a class that
allows =
> WLP to talk to the OpenCMS repository directly.  I haven't been able
to =
> find anything like this, neither here on the OpenCMS site nor
elsewhere. =
> =20
> 
> Has anyone attempted this, or does anyone know of how to do this or
have =
> some pointers on where to start?
> 
> Thanks in advance,
> 
> Greg
> 
> This e-mail and any files transmitted with it are confidential and are
=
> intended solely for the use of the individual or entity to whom they
are =
> addressed.  This communication may contain information that is
protected =
> from disclosure by applicable law.  If you are not the intended =
> recipient, or the employee or agent responsible for delivering this =
> communication to the intended recipient, be advised that you have =
> received this e-mail in error and any use, dissemination, forwarding,
=
> printing or copying of this e-mail is strictly prohibited.  If you =
> believe that you have received this e-mail in error, please
immediately =
> notify Edgewater Technology by telephone at (781) 246-3343 and delete
=
> the communication from all e-mail files.
> 
> 
> 
> 
> 
> ------_=_NextPart_001_01C381EA.A584E434
> Content-Type: text/html;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
> charset=3Diso-8859-1">
> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
> 6.0.6249.1">
> <TITLE>OpenCMS/Weblogic Content integration</TITLE>
> </HEAD>
> <BODY>
> <!-- Converted from text/rtf format -->
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">Hello,</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">I'm currently trying to configure =
> Weblogic Portal 8.1 to include a OpenCMS 5.0 content repository in
WLP's =
> Virtual Content Repository.  Theoretically, when setting this up
in =
> WLP, the main thing that's required is some sort of "connection =
> class" - i.e., a class that allows WLP to talk to the OpenCMS =
> repository directly.  I haven't been able to find anything like =
> this, neither here on the OpenCMS site nor elsewhere. 
</FONT></P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">Has anyone attempted this, or does =
> anyone know of how to do this or have some pointers on where to =
> start?</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">Thanks in advance,</FONT>
> </P>
> 
> <P><FONT SIZE=3D2 FACE=3D"Arial">Greg</FONT>
> </P>
> 
> </BODY>
> <FONT face=3DTahoma size=3D2>
> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 5pt; MARGIN-LEFT: 12pt; =
> MARGIN-RIGHT: 0in; mso-margin-top-alt: 5.0pt; mso-layout-grid-align: =
> none"><SPAN style=3D"FONT-SIZE: 12pt"><FONT face=3D"Times New =
> Roman">This e-mail and any files transmitted with it are confidential
=
> and are intended solely for the use of the individual or entity to
<SPAN =
> class=3DGramE>whom</SPAN> they are addressed.<SPAN =
> style=3D"mso-spacerun: yes">  </SPAN>This communication may
contain =
> information that is protected from disclosure by applicable law.<SPAN
=
> style=3D"mso-spacerun: yes">  </SPAN>If you are not the intended
=
> recipient, or the employee or agent responsible for delivering this =
> communication to the intended recipient, be advised that you have =
> received this e-mail in error and any use, dissemination, forwarding,
=
> printing or copying of this e-mail is strictly prohibited.<SPAN =
> style=3D"mso-spacerun: yes">  </SPAN>If you believe that you have
=
> received this e-mail in error, please immediately notify Edgewater =
> Technology by telephone at (781) 246-3343 and delete the communication
=
> from all e-mail files.<?xml:namespace prefix =3D o ns =3D =
> "urn:schemas-microsoft-com:office:office" =
> /><o:p></o:p></FONT></SPAN></P></FONT></HTML>
> ------_=_NextPart_001_01C381EA.A584E434--
> 
> -- __--__-- 
> 
> Message: 10
> From: RReppel at burntsand.com
> To: opencms-dev at opencms.org
> Subject: RE: [opencms-dev] Basic or forms-based authentication for
folders
> 	 - how?
> Date: Tue, 23 Sep 2003 09:39:33 -0700
> Reply-To: opencms-dev at opencms.org
> 
> Claus,
> 
> ... I have found one way of doing basic authentication for folders:
> 
> 1. Edit tomcat-users.xml to contain a copy of the users and roles
defined in
> OpenCMS. (I'm no Tomcat expert, but it seems likely that Tomcat can be
made
> to authenticate against the same authentication source which OpenCMS
uses,
> in which case this step shouldn't be necessary anymore.)
> 
> 2. Put the appropriate <security-constraint> into
> $CATALINA_HOME/webapps/opencms/WEB-INF/web.xml. 
> 
> Example:
> 
>     <security-constraint>
> 	    <web-resource-collection>
>
<web-resource-name>HealthProfessionals</web-resource-name>
> 		<description>
> 		Security constraint forresources in the intra directory
> 		</description>
> 		<url-pattern>/*</url-pattern>
> 		<http-method>POST</http-method>
> 		<http-method>GET</http-method>
> 	    </web-resource-collection>
> 	    <auth-constraint>
> 		<description>Constraint for Health
> Professionals</description>
> 		<role-name>Administrators</role-name>
> 		<role-name>manager</role-name>
> 	    </auth-constraint>
> 	    <user-data-constraint>
> 		<description>SSL not required</description>
> 		<transport-guarantee>NONE</transport-guarantee>
> 	    </user-data-constraint>
>     </security-constraint>
>     
>     <login-config>
>     	<auth-method>BASIC</auth-method>
>     </login-config>
>     
>     <security-role>
>     	<description>Health Professionals Role</description>
>     	<role-name>Administrators</role-name>
>     </security-role>
> 
> Haven't tested it fully yet, but this seems to work so far ...
> 
> Regards,
> 
> Robert
> 
> -----Original Message-----
> From: Claus Priisholm [mailto:cpr at codedroids.com] 
> Sent: Tuesday, September 23, 2003 6:42 AM
> To: opencms-dev at opencms.org
> Subject: Re: [opencms-dev] Basic or forms-based authentication for
folders -
> how?
> 
> 
> Me too :-)
> 
> I have the same idea of using the permissions as a generic access 
> control for the site as well. Haven't had any luck so far though. I
can
> understand why I would get an error upon publishing and thus 
> exporting a 'static' resource, since once exported it is really not in

> the hands of OpenCms any longer so it cannot really enforce any logic.

> But 'dynamic' pages could be enforced by OpenCms.
> I guess that combining apache (possible tomcat) realms with the user 
> database of OpenCms could achieve some of the wanted effect, but there

> would still be a problem with the navigation method as it returns all 
> the resources independently of permissions (at least it seemed to be 
> what happened when I tried).
> 
> So I would appreciate any pointers as well, to whether the access 
> control of OpenCms workplace extends (or can be extended) to include 
> the non-static-exported parts of a site as well.
> 
> On fredag, sep 19, 2003, at 18:57 Europe/Copenhagen, 
> RReppel at burntsand.com wrote:
> 
> > Hi,
> >
> > I'm trying to protect a subfolder via Basic Authentication, i.e.
there
> > is a
> > part of my site which is available to the public and another one for

> > which
> > login is required. Can this be done with the built-in security 
> > mechanisms of
> > OpenCMS?
> >
> > One approach I have tried is to go into the OpenCMS Workplace and
> > remove the
> > "r" and "v" permissions for "Others" on the folder to be protected. 
> > However,
> > upon publishing this leads to the following error message:
> >
> > Exception com.opencms.core.CmsException: 31 Access denied to
resource. 
> > Detailed error: [com.opencms.file.mySql.CmsResourceBroker]
> > /default/vfs/intra/index.html.
> >
> > .... Where "intra" is the name of the folder I'm trying to protect.
> >
> >
> > Is there another way of doing this?
> >
> > If so, is forms-based authentication supported?
> >
> > Thanks for your help.
> >
> > Regards,
> >
> > Robert
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> > visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> >
> --
> Claus Priisholm
> +45 48 22 46 46, fax: +45 48 22 46 43
> cpr at codedroids.com
> http://www.codedroids.com
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> -- __--__-- 
> 
> Message: 11
> Date: Tue, 23 Sep 2003 15:10:56 -0500
> From: "Noel Gelineau" <ngelineau at greenridge.ca>
> To: <opencms-dev at opencms.org>
> Subject: [opencms-dev] JSP pages are executed twice
> Reply-To: opencms-dev at opencms.org
> 
> We found that JSP pages are being ran twice for some reason, whether =
> you're offline or online.  We found this out because one of our JSP =
> pages inserts a record in a database table but it inserts 2 of them, =
> then we tried a session counter on the page and it always increments
by =
> 2! Is this expected behaviour?
> 
> Noel Gelineau
> 
> 
> -- __--__-- 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
visit 
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> End of opencms-dev Digest
----------------------------------------------
Óµ±§ÀËÂþ£¬³¢ÊÔ¼¤Ç飬¼ÓÈë¿¡ÄÐÃÀÅ®µÄ¼¤Çé½»ÓÑÀÖÔ° 
http://y.21cn.com 
21CNÐÂÎÅÖÐÐÄ£ºÐÂÎÅÌìÌì¶Á£¬Ç¿µµÖð¸öÊý 
http://news.21cn.com 
¸öÈËÍøÕ¾Á÷Á¿±ä½ðÇ®£¬»¶Ó­¼ÓÈë21CNÓʼþÁªÃË£¡ 
http://mail.21cn.com/alliance/ 
̨ÍåµÚÒ»¸»ÆÅÉí¼ÛÓâ°ÙÒÚ µÚÒ»¸»Í¯Éí¼ÛÁùÒÚ 
http://news.21cn.com/social/ 



--__--__--

Message: 3
From: "srinivas voleti" <srini_2105 at hotmail.com>
To: opencms-dev at opencms.org
Date: Wed, 24 Sep 2003 07:18:22 +0000
Subject: [opencms-dev] Urgent: Opening a WYSWIG Editor
Reply-To: opencms-dev at opencms.org

Hi:

Is there any way to open the page in a WYSWIG Editor from outside of 
OpenCms. The parameter to be passed will be the entire path for the
page.

Thanks,
Srini.

_________________________________________________________________
Interact with peers. Learn from experts. 
http://server1.msn.co.in/sp03/teched/index.asp Be tech-empowered!


--__--__--

Message: 4
From: "Alexander Kandzior" <alex at opencms.org>
To: <opencms-dev at opencms.org>
Subject: RE: [opencms-dev] how does opencms start
Date: Wed, 24 Sep 2003 10:50:05 +0200
Organization: Alexander Kandzior
Reply-To: opencms-dev at opencms.org

> 1.)
> danke, guess org.opencms.main.OpenCmsServlet will be used in=20
> future? (as it calls/creates the
> OpenCmsCore)

Yes. Even though this area is still "work in progress".
=20
> 2.)
> is there a possibility to check out the sources for the=20
> current binary version (would like to understand what the=20
> software i might run is doing) - your CVS server does not=20
> seem to provide any versions/branches (at least i do not see=20
> any at eclipse)

I can assure you our server does support branches and versions, we use =
them
every day and they are also visible in the web interface. Check the tool
=
you
are using. A good file to look for branch and version tags is
/opencms/histrory.txt.

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com



--__--__--

_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit 
http://mail.opencms.org/mailman/listinfo/opencms-dev

End of opencms-dev Digest




More information about the opencms-dev mailing list