Form Runner - when closing editing of a form basic authentication form is displayed

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Form Runner - when closing editing of a form basic authentication form is displayed

Adrian Butnaru
Hi,
I built an XForm application using Form Runner. It is working quite
nicely with Tomcat 6. But when I enter to edit a form and then press
Close button the Basic AUthentication form appears on the screen.
Have anybody any ideea what the cause is?

Thanks,
A.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Form Runner - when closing editing of a form basic authentication form is displayed

Adrian Butnaru
I just solved the problem and I make a note for everybody who has this
problem.
Authentication paragraph in web.xml should be commented otherwise theses
problem appears.

A.

Adrian Butnaru schreef:
> Hi,
> I built an XForm application using Form Runner. It is working quite
> nicely with Tomcat 6. But when I enter to edit a form and then press
> Close button the Basic AUthentication form appears on the screen.
> Have anybody any ideea what the cause is?
>
> Thanks,
> A.
>



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Form Runner - when closing editing of a form basic authentication form is displayed

Alessandro Vernet
Administrator
Adrian,

On Sun, Aug 31, 2008 at 12:34 PM, Adrian Butnaru <[hidden email]>
wrote:
> I just solved the problem and I make a note for everybody who has this
> problem.
> Authentication paragraph in web.xml should be commented otherwise theses
> problem appears.

Are you talking about this:

     <security-constraint>
         <web-resource-collection>
             <web-resource-name>Authentication example</web-resource-name>
             <url-pattern>/java-authentication/</url-pattern>
         </web-resource-collection>
         <auth-constraint>
             <role-name>orbeon-admin</role-name>
         </auth-constraint>
     </security-constraint>

This just protects /java-authentication/, which should not be hit when
you are using Form Runner. Or are you talking about something different?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Form Runner - when closing editing of a form basic authentication form is displayed

Adrian Butnaru
Yes,
I modified this before in order to make authentication via Tomcat basic
authentication. Somehow when I came back from my xforms into the summary
page I was forced to authenticate. Commenting the respective paragraph
in web.xml solved the problem.

Alessandro Vernet schreef:

> Adrian,
>
> On Sun, Aug 31, 2008 at 12:34 PM, Adrian Butnaru <[hidden email]>
> wrote:
>> I just solved the problem and I make a note for everybody who has this
>> problem.
>> Authentication paragraph in web.xml should be commented otherwise theses
>> problem appears.
>
> Are you talking about this:
>
>     <security-constraint>
>         <web-resource-collection>
>             <web-resource-name>Authentication example</web-resource-name>
>             <url-pattern>/java-authentication/</url-pattern>
>         </web-resource-collection>
>         <auth-constraint>
>             <role-name>orbeon-admin</role-name>
>         </auth-constraint>
>     </security-constraint>
>
> This just protects /java-authentication/, which should not be hit when
> you are using Form Runner. Or are you talking about something different?
>
> Alex


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Form Runner - when closing editing of a form basic authentication form is displayed

Alessandro Vernet
Administrator
Adrian,

On Tue, Sep 2, 2008 at 11:35 PM, Adrian Butnaru <[hidden email]> wrote:
> I modified this before in order to make authentication via Tomcat basic
> authentication. Somehow when I came back from my xforms into the summary
> page I was forced to authenticate. Commenting the respective paragraph in
> web.xml solved the problem.

So you had modified the default web.xml to protect more than just
/java-authentication/. OK, I understand.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws