FW: RE: Strange issue that I have encounter when trying to add security in tomcat.

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

FW: RE: Strange issue that I have encounter when trying to add security in tomcat.

Rodney Wild

Hi Alex, here is the updated web.xml as per last email.

 

Rod



--
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

OrbeonForms-error_when_adding_security..png (226K) Download Attachment
tomcat logs.zip (15K) Download Attachment
message-footer.txt (352 bytes) Download Attachment
web.xml (21K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: FW: RE: Strange issue that I have encounter when trying to add security in tomcat.

Alessandro  Vernet
Administrator
Rod,

Thank you for the web.xml; I was able to reproduce the issue you
described. For this to work, you need to forward the Authorization
header, otherwise Orbeon Forms make a request to /fr/service/... (the
REST persistence layer API), which fails as that resource is
protected. Defining the following property in your
properties-local.xml will do it:

<property as="xs:string" name="oxf.xforms.forward-submission-headers"
value="Authorization"/>

Alex

On Mon, Jul 26, 2010 at 3:28 PM, Wild, Rodney
<[hidden email]> wrote:

> Hi Alex, here is the updated web.xml as per last email.
>
>
>
> Rod
>
> --
> 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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My 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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: Re: FW: RE: Strange issue that I have encounter when trying to add security in tomcat.

Rodney Wild
Hi Alex/Erik, I have tried adding the below string to my properties-local.xml and rebooting the machine and I get the login prompt when I try and access pages but I don't get a list of forums as was originally the problem.  Any help would be greatly appreciated.  Thanx.

Rod

-----Original Message-----
From: Alessandro Vernet [mailto:[hidden email]]
Sent: August 10, 2010 6:20 PM
To: ops-users
Subject: [ops-users] Re: FW: RE: Strange issue that I have encounter when trying to add security in tomcat.

Rod,

Thank you for the web.xml; I was able to reproduce the issue you described. For this to work, you need to forward the Authorization header, otherwise Orbeon Forms make a request to /fr/service/... (the REST persistence layer API), which fails as that resource is protected. Defining the following property in your properties-local.xml will do it:

<property as="xs:string" name="oxf.xforms.forward-submission-headers"
value="Authorization"/>

Alex

On Mon, Jul 26, 2010 at 3:28 PM, Wild, Rodney <[hidden email]> wrote:

> Hi Alex, here is the updated web.xml as per last email.
>
>
>
> Rod
>
> --
> 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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My 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: FW: RE: Strange issue that I have encounter when trying to add security in tomcat.

Rodney Wild
Nudge.

-----Original Message-----
From: Wild, Rodney [mailto:[hidden email]]
Sent: September 20, 2010 8:54 AM
To: '[hidden email]'
Subject: [ops-users] RE: Re: FW: RE: Strange issue that I have encounter when trying to add security in tomcat.

Hi Alex/Erik, I have tried adding the below string to my properties-local.xml and rebooting the machine and I get the login prompt when I try and access pages but I don't get a list of forums as was originally the problem.  Any help would be greatly appreciated.  Thanx.

Rod

-----Original Message-----
From: Alessandro Vernet [mailto:[hidden email]]
Sent: August 10, 2010 6:20 PM
To: ops-users
Subject: [ops-users] Re: FW: RE: Strange issue that I have encounter when trying to add security in tomcat.

Rod,

Thank you for the web.xml; I was able to reproduce the issue you described. For this to work, you need to forward the Authorization header, otherwise Orbeon Forms make a request to /fr/service/... (the REST persistence layer API), which fails as that resource is protected. Defining the following property in your properties-local.xml will do it:

<property as="xs:string" name="oxf.xforms.forward-submission-headers"
value="Authorization"/>

Alex

On Mon, Jul 26, 2010 at 3:28 PM, Wild, Rodney <[hidden email]> wrote:

> Hi Alex, here is the updated web.xml as per last email.
>
>
>
> Rod
>
> --
> 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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My 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