Re: AW: authentication @ cocoon

2014-05-31 Thread David Crossley
spintus-mail...@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:agalla...@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-mail...@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:kue...@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-unsubscr...@cocoon.apache.org
  For additional commands, e-mail: users-h...@cocoon.apache.org
 
 
 
  --
  Andreas Kühne
  phone: +49 177 293 24 97
  mailto: kue...@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-unsubscr...@cocoon.apache.org
  For additional commands, e-mail: users-h...@cocoon.apache.org
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
  For additional commands, e-mail: users-h...@cocoon.apache.org
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
 For additional commands, e-mail: users-h...@cocoon.apache.org
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
 For additional commands, e-mail: users-h...@cocoon.apache.org
 

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



AW: AW: authentication @ cocoon

2014-05-29 Thread spintus-mailing
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) 

- 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:agalla...@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-mail...@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:kue...@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-unsubscr...@cocoon.apache.org
 For additional commands, e-mail: users-h...@cocoon.apache.org



 --
 Andreas Kühne
 phone: +49 177 293 24 97
 mailto: kue...@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-unsubscr...@cocoon.apache.org
 For additional commands, e-mail: users-h...@cocoon.apache.org



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



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



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



AW: authentication @ cocoon

2014-05-28 Thread spintus-mailing
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:kue...@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-unsubscr...@cocoon.apache.org
 For additional commands, e-mail: users-h...@cocoon.apache.org




--
Andreas Kühne
phone: +49 177 293 24 97
mailto: kue...@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-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



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



Re: AW: authentication @ cocoon

2014-05-28 Thread Antonio Gallardo
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-mail...@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:kue...@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-unsubscr...@cocoon.apache.org
 For additional commands, e-mail: users-h...@cocoon.apache.org



 --
 Andreas Kühne
 phone: +49 177 293 24 97
 mailto: kue...@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-unsubscr...@cocoon.apache.org
 For additional commands, e-mail: users-h...@cocoon.apache.org



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



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



authentication @ cocoon

2014-05-27 Thread spintus-mailing
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-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: authentication @ cocoon

2014-05-27 Thread Andreas Kuehne
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-unsubscr...@cocoon.apache.org
 For additional commands, e-mail: users-h...@cocoon.apache.org




-- 
Andreas Kühne 
phone: +49 177 293 24 97 
mailto: kue...@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-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org