Problem with Request-security processor in ops 3.5.1

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

Problem with Request-security processor in ops 3.5.1

Laxmi Narayana-3
Hi All,

Click event on view button , opens new window from parent window there
I configured like below in xpl:

 <p:processor name="oxf:request-security">
                         <p:input name="data" href="#instance"/>
                          <p:input name="config">
                          <config>
                            <role>administrator</role>
                           <role>user</role>
                            </config>
                                </p:input>

                           <p:output name="data" id="user"/>
         </p:processor>
       
        <p:processor name="oxf:xslt-2.0">
        <p:input name="data" href="aggregate('result',#instance,#user)"/>
        <p:input name="config">
            <query xsl:version="2.0">
                <username><xsl:value-of select="//remote-user"/></username>
            </query>
        </p:input>
        <p:output name="data" id="query"/>
    </p:processor>

But i am not getting remote-user value .
Plz help me. is it  problem with new window.

Thanks in advance,
Laxmi Narayana.


--
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: Problem with Request-security processor in ops 3.5.1

Erik Bruchez
Administrator
Laxmi,

Is that page protected in your web.xml by <security-constraint>  
elements?

-Erik

On Aug 26, 2008, at 12:00 AM, Laxmi Narayana wrote:

> Hi All,
>
> Click event on view button , opens new window from parent window there
> I configured like below in xpl:
>
> <p:processor name="oxf:request-security">
> <p:input name="data" href="#instance"/>
>  <p:input name="config">
>  <config>
>    <role>administrator</role>
>   <role>user</role>
>    </config>
> </p:input>
>
>   <p:output name="data" id="user"/>
> </p:processor>
>
> <p:processor name="oxf:xslt-2.0">
>        <p:input name="data"  
> href="aggregate('result',#instance,#user)"/>
>        <p:input name="config">
>            <query xsl:version="2.0">
> <username><xsl:value-of select="//remote-user"/></username>
>            </query>
>        </p:input>
>        <p:output name="data" id="query"/>
>    </p:processor>
>
> But i am not getting remote-user value .
> Plz help me. is it  problem with new window.
>
> Thanks in advance,
> Laxmi Narayana.
>
> --
> 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 for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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: Problem with Request-security processor in ops 3.5.1

Laxmi Narayana-3
No .
There is no <security-constraint> element in web.xml.

On Tue, Aug 26, 2008 at 10:31 PM, Erik Bruchez <[hidden email]> wrote:
Laxmi,

Is that page protected in your web.xml by <security-constraint> elements?

-Erik


On Aug 26, 2008, at 12:00 AM, Laxmi Narayana wrote:

Hi All,

Click event on view button , opens new window from parent window there
I configured like below in xpl:

<p:processor name="oxf:request-security">
                        <p:input name="data" href="#instance"/>
                         <p:input name="config">
                         <config>
                           <role>administrator</role>
                          <role>user</role>
                           </config>
                               </p:input>

                          <p:output name="data" id="user"/>
        </p:processor>
       
       <p:processor name="oxf:xslt-2.0">
      <p:input name="data" href="aggregate('result',#instance,#user)"/>
      <p:input name="config">
          <query xsl:version="2.0">            
               <username><xsl:value-of select="//remote-user"/></username>
          </query>
      </p:input>
      <p:output name="data" id="query"/>
  </p:processor>

But i am not getting remote-user value .
Plz help me. is it  problem with new window.

Thanks in advance,
Laxmi Narayana.

--
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 for the Enterprise Done the Right Way
http://www.orbeon.com/



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