cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: AW: authentication @ cocoon
Date Sat, 31 May 2014 06:08:17 GMT
spintus-mailing@web.de wrote:
> Hello :) 
> I'll check it out once authentication framework. I still have the following questions:

> 
> - What is the correct syntax for the disclosure of 'application / xml' @ stream generator?

> 
> - Is it possible to validate an xml file via XSD? (entry in sitemap) 

Too may questions in one thread. Anyway i will try to help with this one.

There is the very useful Cocoon Validation Block.

However the Cocoon docs are broken. We have some notes at Apache Forrest
that will help:
http://forrest.apache.org/howto-dev.html#debug-validation
and it refers to Cocoon-2332
which also links to the Wayback Machine for the missing docs.

-David

> - Is there a good solution to the h1, h2, h3 hierarchy in HTML via XSL represent? 
>   <h1> 
>                      <xsl:number count="@titel" format="1. "level="multiple"/>

>                      <xsl:value-of select="@titel"/> 
> </ h1> 
> 
> 
> Best greetings
> 
> -----Ursprüngliche Nachricht-----
> Von: Antonio Gallardo [mailto:agallardo@agssa.net] 
> Gesendet: Mittwoch, 28. Mai 2014 21:54
> An: users@cocoon.apache.org
> Betreff: Re: AW: authentication @ cocoon
> 
> 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
> 
> 
> 
> ---------------------------------------------------------------------
> 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