You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by "M. Siebeneicher" <tr...@gmx.net> on 2003/12/21 16:06:03 UTC

Access Control Exporter

Hallo List,

I have a problem to implement an exporter which exports sets of files into
static html. I thougt it is an good idea to use the features of Wget, but it
doesn't work, you know.

What other possabilities exists to export protected sites? In my case users
are logged in and want to export sets of protected sites. Is should only work
if the user has access rights.

I now I asked this before, but it's really importent for me.


greetz && thx
Manuel

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Access Control Exporter

Posted by Michael Wechner <mi...@wyona.com>.
Manuel Siebeneicher wrote:

> Am Sonntag, 21. Dezember 2003 19:12 schrieb Michael Wechner:
> 
>>M. Siebeneicher wrote:
>>
>>>Hallo List,
>>>
>>>I have a problem to implement an exporter which exports sets of files
>>>into static html. I thougt it is an good idea to use the features of
>>>Wget, but it doesn't work, you know.
>>>
>>>What other possabilities exists to export protected sites?
>>
>>  In my case users
>>
>>
>>>are logged in and want to export sets of protected sites. Is should only
>>>work if the user has access rights.
>>
>>I guess this means you need to pass the session id (resp. cookie) to
>>WGet or whatever you are using to export the files. You might want to
>>take a look at the Proxy classes how this could be done.
>>
> 
> 
> It seems to be a good idea.
> 
> The Proxy classes import some classes in package 
> 'org.apache.commons.httpclient'. Do you know where I could get the 
> Documentation? Neither Cocoon nor lenya include this.

right, I can't find the ProxyGenerator within  Cocoon-2.1.2 neither. 
There used to be one. You might ask on the Cocoon mailing list.

Well, you might want to take a look at

src/java/org/apache/lenya/cms/cocoon/generation/ProxyGenerator

but which isn't using the MultiHttpClient, but I hope it's leading you 
into the right direction.

HTH

Michi


> 
> 
> 
>>HTH
>>
>>Michi
>>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> 
> 


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Access Control Exporter

Posted by "Scherler, Thorsten" <th...@apache.org>.
Manuel Siebeneicher wrote:
> Am Sonntag, 21. Dezember 2003 19:12 schrieb Michael Wechner:
> 
>>M. Siebeneicher wrote:
>>
>>>Hallo List,
>>>
>>>I have a problem to implement an exporter which exports sets of files
>>>into static html. I thougt it is an good idea to use the features of
>>>Wget, but it doesn't work, you know.
>>>
>>>What other possabilities exists to export protected sites?
>>
>>  In my case users
>>
>>
>>>are logged in and want to export sets of protected sites. Is should only
>>>work if the user has access rights.
>>
>>I guess this means you need to pass the session id (resp. cookie) to
>>WGet or whatever you are using to export the files. You might want to
>>take a look at the Proxy classes how this could be done.
>>
> 
> 
> It seems to be a good idea.
> 
> The Proxy classes import some classes in package 
> 'org.apache.commons.httpclient'. Do you know where I could get the 
> Documentation? Neither Cocoon nor lenya include this.
> 

For commons-httpclient hava a look at 
http://jakarta.apache.org/commons/httpclient/

king regards

> 
> 
>>HTH
>>
>>Michi
>>


-- 
<thorsten>
  <name>Thorsten Scherler</name>
  <country>Spain</country>
  <@mail> thorsten@apache.org</...@mail>
  <@cocoon-WIKI> 
http://wiki.cocoondev.org/Wiki.jsp?page=Scherler</...@cocoon-WIKI>
  <http>http://www.target-x.de</http>
</thorsten>



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Access Control Exporter

Posted by Manuel Siebeneicher <tr...@gmx.net>.
Am Sonntag, 21. Dezember 2003 19:12 schrieb Michael Wechner:
> M. Siebeneicher wrote:
> > Hallo List,
> >
> > I have a problem to implement an exporter which exports sets of files
> > into static html. I thougt it is an good idea to use the features of
> > Wget, but it doesn't work, you know.
> >
> > What other possabilities exists to export protected sites?
>
>   In my case users
>
> > are logged in and want to export sets of protected sites. Is should only
> > work if the user has access rights.
>
> I guess this means you need to pass the session id (resp. cookie) to
> WGet or whatever you are using to export the files. You might want to
> take a look at the Proxy classes how this could be done.
>

It seems to be a good idea.

The Proxy classes import some classes in package 
'org.apache.commons.httpclient'. Do you know where I could get the 
Documentation? Neither Cocoon nor lenya include this.


> HTH
>
> Michi
>



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Access Control Exporter

Posted by Michael Wechner <mi...@wyona.com>.
M. Siebeneicher wrote:

> Hallo List,
> 
> I have a problem to implement an exporter which exports sets of files into
> static html. I thougt it is an good idea to use the features of Wget, but it
> doesn't work, you know.
> 
> What other possabilities exists to export protected sites?

  In my case users
> are logged in and want to export sets of protected sites. Is should only work
> if the user has access rights.

I guess this means you need to pass the session id (resp. cookie) to 
WGet or whatever you are using to export the files. You might want to 
take a look at the Proxy classes how this could be done.

HTH

Michi


> 
> I now I asked this before, but it's really importent for me.
> 
> 
> greetz && thx
> Manuel
> 


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org