cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gallardo <agalla...@agssa.net>
Subject Re: AW: authentication @ cocoon
Date Wed, 28 May 2014 19:54:28 GMT
Hi Andreas,

Did you try to use the authentication framework [1]?

Best Regards,

Antonio Gallardo.

[1] http://cocoon.apache.org/2.1/developing/webapps/authentication.html

On 28/05/14 13:31, spintus-mailing@web.de wrote:
> Good evening :) 
> authentication is intended that not everyone can take advantage of the
> service on the intranet - thinking of user accounts :). 
>
> What is the correct syntax for the disclosure of 'application / xml'? 
>
> Best greetings
>
> -----Ursprüngliche Nachricht-----
> Von: Andreas Kuehne [mailto:kuehne@trustable.de] 
> Gesendet: Dienstag, 27. Mai 2014 21:57
> An: users@cocoon.apache.org
> Betreff: Re: authentication @ cocoon
>
> Hi,
> what kind of authentication do you think of?
>
> BasicAuth? Just get the header!
> SSL Client Auth? Get the client certificate!
> Web Service Security? I got a transformer at hand ...
>
> Greetings,
>
> Andreas
>
> PS: Use 'application/xml' encoding, otherwise the stream generator assumes
> 'form-urlencoded' and expects a form.  
>> Good evening together,
>> I currently use the stream generator for XML files via HTTP post to
> cocoon.
>> Now I would like to introduce an authentication. 
>>
>> My current pipeline: 
>>          <map:pipeline> 
>>              <map:match pattern="get"> 
>>                  <map:generate type="stream"> 
>>                      <map:parameter name="form-name" value="file"/> 
>>                  </ map: generate> 
>>                  <map:transform src="convert.xsl" /> 
>>                  <map:serialize type="html"/> 
>>              </ map: match> 
>>          </ map: pipeline>
>>
>> Is there an easy way to implement this? Furthermore, I ask myself 
>> currently, for which the form-name is required? Via REST I can also 
>> send data successfully without the form to specify?
>>
>> Greetings
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>
> --
> Andreas Kühne
> phone: +49 177 293 24 97
> mailto: kuehne@trustable.de
>
> Trustable Ltd. Niederlassung Deutschland Ströverstr. 18 - 59427 Unna
> Amtsgericht Hamm HRB 5868
>
> Directors Andreas Kühne, Heiko Veit
>
> Company UK Company No: 5218868 Registered in England and Wales 
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


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


Mime
View raw message