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

classic Classic list List threaded Threaded
2 messages Options
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: [hidden email]

> For general help: [hidden email]

> 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

 

 

Rodney Wild

IT Support

Prism Distribution

403-538-8042

 



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

Erik Bruchez
Administrator
Any exception in the logs? If the summary page is empty, it could mean
that the service listing the forms failed.

-Erik

On Mon, Sep 27, 2010 at 10:07 AM, Wild, Rodney
<[hidden email]> wrote:

> 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
>
>
>
>
>
> Rodney Wild
>
> IT Support
>
> Prism Distribution
>
> 403-538-8042
>
>
>
> --
> 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
>
>


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