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, [email protected] 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:[email protected]] > Gesendet: Dienstag, 27. Mai 2014 21:57 > An: [email protected] > 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: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > -- > Andreas Kühne > phone: +49 177 293 24 97 > mailto: [email protected] > > 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: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
