ObRequestedUrl header variable missing!

Hello,
I'm trying to figure out why the ObRequestedUrl is missing from the HTTP header of my login form. The form is behind an SunOne 6.1, 32-bit web server running on Solaris. I've got the authentication scheme configured for "passthrough:yes". But the target URL (the 'action' parameter) never sees the ObRequestedURL header value!
I'm fairly sure it's not a problem with the authentication scheme configuration, because I've got a very similar form set up on an Apache 2, Linux web server that works fine.
Has anyone else seen this??
Thanks,
- Jim
Edited by: user3982020 on Jan 15, 2010 7:43 AM
Edited by: user3982020 on Jan 15, 2010 7:44 AM

Hi,
obrequestedurl is usually set as a header variable (so seen server-side only), but it seems that it is an intended (though undocumented) side-effect of the SlowLoginForm:true setting is that its contents are instead placed in a cookie - something to do with SlowLoginForm telling the web server that it is not sending anything other than the credentials in POST data, so it has to store the requested url somewhere. As I understand it, SlowLoginForm is not required for solving the performance issue (the web server polling for extra POST data) in recent versions of the web server. I'm not sure how helpful this is, and I don't know why you're not seeing the obrequestedurl as a header variable when the SlowLoginForm parameter is not set - this could be a bug, or perhaps a limitation with the web server API that the WebGate is using.
As you've got this working with Apache, could you send all your authentication requests to an Apache web server via the Challenge Redirect parameter?
Regards,
Colin
Edited by: user497666 on Jan 19, 2010 3:36 PM

Similar Messages

  • How to pass  soap header variable for invoking siebel service in BPEL

    Hi,
    I am invoking siebel service in soa composite. siebel service have header variables username/password and session type. I have created global variable (message type) in BPEL anddeclare same in messages port in siebel wsdl. after that I passed the username/password and session type as hard coded in assign activity. I have deployed and tested this but, I have an exception like javax.xml.ws.soap.SOAPFaultException: Error Code: 10944642 Error Message: Error: Inbound SOAP Message - Session Token is missing or invalid or has expired
    Can you please help on this..

    Hi,
    check this thread
    http://help.sap.com/saphelp_nw04/helpdata/en/71/bcf3bf2ed7e142a5011b43c288f08c/content.htm
    HTTP Header parameters in iView.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/bc-jas/~form/handler
    May help you
    Regards,
    RK

  • How to include wildcard in FTP adapter header variable?

    I have two partner links that use FTP adapters. The first one puts a file on the FTP server. It specifies a dynamic outbound file name based upon an input variable and the timestamp in the format "test_BATCHID_yyyyMMddHHmmss.csv" (e.g. test_1011_20050925153059.csv). This part works as expected.
    The second partner link is supposed to pick up a file on the same FTP server. This inbound filename will be based upon the outbound filename and another timestamp in a format such as "originalfilename.yyyyMMddHHmmss.txt" (e.g. test_1011_20050925153059.csv.20050926091541.txt). I have created a Transform action with a mapping to convert the outbound filename and assign it to the inbound header variable. It concatenates the outbound filename and ".*.txt" within the mapping. The inbound header shows up as test_1011_20050925153059.csv.*.txt in the audit, but the process hangs at the receive activity and the file never gets retrieved. Perhaps the asterisk is being interpreted literally?
    Does anyone know how to specify a wildcard character in an xpath expression in a way that it will be interpreted as a true wildcard? Or is there another way to tell the inbound adapter to look for a dynamic filename using wildcards?

    BPEL patch 1 supports performing a synchronous read using a BPEL invoke activity. The following forum post shows how to configure a read adapter manually.
    Re: Help! Three questions about FileAdapater.
    The subsequent patches of JDeveloper allow such an apdater to be configured automatically.
    ps: This adapter can be used to read a single file only i.e. you cannot use a wild character.

  • SSO to a weblogic application via a header variable, possible?

    Hi
    Is it possible to provide single sign on to a weblogic application via a header variable?
    We would like to follow a similar model to what's used with OC4J at:
    http://download.oracle.com/docs/cd/E10761_01/doc/oam.1014/e10356/osso.htm#BJFJBCHB
    Any feedback is appreciated.

    Yes this is possible via a custom Identity Assertion Provider if you are using Weblogic security. You can write the J2EE provider to extract the header and map the user to a LDAP user when you configure the authentication provider to use the same user store as OAM.

  • SSO to other apps via HTTP header variable

    We are on NW EP6.0 SP16. We need to add the "user id" as http header variable so that other apps which are non SAP can access our header variable and log on with that user id. Is this available by default? Or we want to achieve this how best we can achieve this.
    We can use the code to get the user id and add it to header variable. If we use this route which is the jsp page we need to add the code?
    Thanks

    Hi,
      we can you login modules provided by SAP to accomplish this.. you can use header variable authentication login module to acheive your requirement.
      please refer: http://help.sap.com/saphelp_nw04/helpdata/en/8f/ae29411ab3db2be10000000a1550b0/frameset.htm
    Hope that helps.
    Regards,
    S.Divakar

  • How to set the header variables in weblogic

    Hi,
    We have a following set up in our environment.
    We have weblogic and on the top of it we have apex listener deployed which redirects Oracle Apex.
    My Issue:
    How can we set up the header variables in weblogic once the user is authenticated against weblogic server.
    We are struck here, not knowing how to set the header variables in weblogic server. Its fairly straight forward for Oracle Access Manager or others..
    Thanks
    Ramesh P.

    maybe you are looking for the routing options
    http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1125348

  • Error in setting up HTTP Header Variable Authentication

    Hi,
    I am trying to set-up SSO for SAP Biller Direct aplication (deployed on SAP J2EE 7.0) using HTTP Header variable authentication.
    As per SAP documentation I have created a new login module "HeaderVariableLoginModule" pointing to class "com.sap.security.core.server.jaas.HeaderVariableLoginModule".
    Then I have added this new login module to Statck "Ticket" and the new config looks as below. HTTP header when UID is passed is USI_LOP.
    Name                                                                                Flag                                            Options
    com.sap.security.core.server.jaas.HeaderVariableLoginModule    Sufficient                                    ume.configuration.active= tue,
                                                                                    Header=USI_LOP
    BasicPasswordLoginModule                                                           Optional
    CreateTicketLoginModule                                                                 Optional                                         ume.configuration.active= tue
    EvaluateTicketLoginModule                                                              Sufficient                                      ume.configuration.active= tue
    The problem I am now having is that the authentication through HTTP_HEADEr does not work. Even though I ahve increased the trace level for JAAS module to debug, there is not any type of information generated in the log.
    Each time I call the Biller Direct URL from the extrenal web server which also passes the HEADER variable for Authntication, the authrisation just fails and I am being shown a Logon Screen to pust UID/PASSWORD.
    Can someone please guide me, how I can debug this? There is very no information whether anyone tried to login with HEADER varibale and that has failed...
    Also, I am not pretty sure whether I am using the right Authentication Stack, which is is Ticket in my case..
    But when I enter the application without any URL redirects and enter UID and password directly for Biller Direct, I get the following in log file, which makes me believe that I am using the right stack.
    LOGIN.OK
    User: CONDLG
    Authentication Stack: ticket
    Login Module                                                               Flag        Initialize  Login      Commit     Abort      Details
    1. com.sap.security.core.server.jaas.HeaderVariableLoginModule             SUFFICIENT  ok          false      false                
    2. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule   OPTIONAL    ok          true       true                 
    3. com.sap.security.core.server.jaas.CreateTicketLoginModule               OPTIONAL    ok          true       true                 
    4. com.sap.security.core.server.jaas.EvaluateTicketLoginModule             SUFFICIENT  ok          false      false                
    Central Checks                                                                                true                 
    Any help will be very much apprecated..
    Thanks,
    Vikrant Sud

    Vikrant,
    The reason why it is not working is because your login modules in ticket stack are in wrong order and with wrong flags. The first one should be EvaluateTicketLoginModule with flag=SUFFICIENT, then the Header Variable login module, with flag=OPTIONAL, then CreateTicketLoginModule with flag=SUFFICIENT, then BasicPasswordLoginModule with flag=REQUISITE, and lastly CreateTicektLoginModule with flag=OPTIONAL
    Thanks,
    Tim

  • How to pass header Variables along with body

    Hi,
    Here I am invoking siebel web service which is wsdl(SOAP) based web service. I tested it through sopaUI and it is working fine for me as I am getting proper response. here is the input payload structure.
    Note: it is running on HTTPS, so SSL has been applied to this  site.
    it is loading as http not https. For every operation when we make a request, we are changing the link to https and submitting it. Then it is working for us.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.xxxxxx.com/2005/">
       <soapenv:Header>
          <ns:AuthorizationToken>
             <ns:Token>userName;Password</ns:Token>
          </ns:AuthorizationToken>
       </soapenv:Header>
       <soapenv:Body>
          <ns:WEBIndividualGet>
             <ns:key>{6D803C43-3917-4C99-91F3-003EB9E16E1F}</ns:key>
          </ns:WEBIndividualGet>
       </soapenv:Body>
    </soapenv:Envelope>
    Now I created the bpel projects like this.
    Step 1:- in the xsd, I created two elements types
    <xsd:element name="UsernameToken" type="xsd:string"/>
        <xsd:element name="PasswordText" type="xsd:string"/>
    Step 2:- Then I created the WSDL in respect to above elements
    <!-- Message section -->
    <wsdl:message name="WEBAutTokenOut">
      <wsdl:part name="userName" element="netObj:UsernameToken"/>
      <wsdl:part name="passWord" element="netObj:PasswordText"/>
    </wsdl:message>
    <wsdl:portType name="portTypeName">
      <wsdl:operation name="operationName">
      <soap:operation soapAction="sopaAction">
      </soap:operation>
       <wsdl:input message="netSer:SvcRequestMessage">
        <soap:header message="netSer:WEBGetAutToken" part="userName" use="literal"/>
        <soap:header message="netSer:WEBGetAutToken" part="passWord" use="literal"/>
       </wsdl:input>
       <wsdl:output message="netSer:SvcResponseMessage">   
        <soap:header message="netSer:WEBAutTokenOut" part="userName" use="literal"/>
        <soap:header message="netSer:WEBAutTokenOut" part="passWord" use="literal"/>
       </wsdl:output>
      </wsdl:operation>
    </wsdl:portType>
    Step 3:- and My Bpel looks like
    <!--Variable Declaration -->
    <variable name="customHeaderVar" messageType="netSer:WEBGetAutToken"/>
        <variable name="customOutputHeaderVar" messageType="netSer:WEBAutTokenOut"/>
    <sequence name="main">
    <receive name="receiveInput" partnerLink="xxxxxxx"
                 portType="netSer:xxxxxxxxxxx" operation="xxxxxx"
                 variable="inputVariable" createInstance="yes"
                bpelx:headerVariable="customHeaderVar"/>
    <assign name="AssignHeaderVariables">
          <copy>
            <from expression='"username"'/>
            <to variable="customHeaderVar" part="userName"
                query="/ns2:UsernameToken"/>
          </copy>
          <copy>
            <from expression='"soa1234"'/>
            <to variable="customHeaderVar" part="passWord"
                query="/ns2:PasswordText"/>
          </copy>
        </assign>
    <invoke name="Invoke" inputVariable="xxxxxxxxxxxxxxxx"
                outputVariable="Invoke_OutputVar"
                partnerLink="xxxxxxxxxxx" portType="ns1:XMLSoap"
                operation="WEBGet" bpelx:invokeAsDetail="no"
               bpelx:inputHeaderVariable="customHeaderVar">
                bpelx:outputHeaderVariables="customOutputHeaderVar"/>
    Note:  When I am hitting siebel web service it is giving some out put, The output it self has header variable. so that is reason am added outputHeaderVariables.
    < Here we have Transformation Activity >
    <reply name="replyOutput" partnerLink="xxxxxx"
               portType="netSer:xxxxxxx" operation="WEBGet"
               variable="outputVariable"
               bpelx:inputHeaderVariable="customOutputHeaderVar"/>
    That's about my project. But when test this service Am getting error. below is the error details.
    ==============================================================================
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
       <env:Header/>
       <env:Body>
          <env:Fault>
             <faultcode>env:Client</faultcode>
             <faultstring>System.Web.Services.Protocols.SoapException: Object reference not set to an instance of an object.
       at Avectra.netForum.xWeb.xWebSecure.netForumXMLSecure.WEBIndividualGet(Guid key)</faultstring>
             <faultactor/>
             <detail>
                <exception><![CDATA[<InvalidTokenException xmlns="http://www.xxxxxx.com/2005/">
      <XWebException xmlns="http://www.xxxxxx.com/2005/">
        <Message>Object reference not set to an instance of an object.</Message>
        <Number>0</Number>
        <Source>xWebClasses</Source>
        <Line>0</Line>
        <StackTrace>   at Avectra.netForum.xWeb.xWebSecure.xWebServiceClass.ValidateToken(AuthorizationToken AuthToken)
       at Avectra.netForum.xWeb.xWebSecure.netForumXMLSecure.WEBIndividualGet(Guid key)</StackTrace>
        <ErrorType>GeneralError</ErrorType>
        <Errors/>
      </XWebException>
    </InvalidTokenException>]]></exception>
             </detail>
          </env:Fault>
       </env:Body>
    </env:Envelope>
    ==============================================================
    Could you please help me out.
    Thanks,

    The UserNameToken and the Password variables should be created based on the schema http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
    Refer the below url for more details.
    OracleFusionMiddleWare 10g,11g and AIA: How to set security credentials dynamically in Oracle BPEL
    Regards
    Albin I
    http://www.albinsblog.com/

  • ERROR: SAP-System not installed properly. (TADIR HEAD SYST missing.)

    Hi Experts I´m facing this issue.
    This is tp version 340.16.41 (release 640)                         
    HALT 20091029110915                                                
    ERROR: SAP-System not installed properly. (TADIR HEAD SYST missing.)
    ERROR: EXIT(16) -> process ID is: 9660                             
    tp returncode summary:                                             
    TOOLS: Highest return code of single steps was: 16                 
    ERRORS: Highest tp internal error was: 0233                        
    standard output from tp and from tools called by tp: 
    Any Clue?

    Hi,
    Was the system copied from another system? Or is this a new installation?
    If yes, did you run SE06 after the installation?
    What is the results of trans.log (generated from R3trans -d)?
    Also paste the contents of table TADIR in SE16.
    Best regards,
    Warren

  • File-adapter with Dynamic Directory/Filenames in Header-variables

    Hi,
    I have looked through the file-adapter documentation. And it says that you can use wildcards/regexpressions/dynamic file and directory names using the file-adapter-wizard. Also you can use the header-variables to specify the file and directory names at run-time.
    Is it also possible to use the dynamic names using the header-variables?
    I want to create a process that I can give in the file/directory-names at run-time and that it will look for a file using the wild-cards to pickup. Since at run-time I often do not know the name of the file, since it might contain a sequence or date/time-stamp. But I do know the location and the structure of the file name (that is specified at config-time).
    The same question for outbound: if I specify a name in the header-variables with forexample '%seq%' in the name, like 'filename_%seq%.XML', will it then create the file with the sequence?
    Thanks in advance.
    Regards,
    Martien

    Hi,
    I've been trhough this document over and over again, but did not find anything on how to do it actually. But I found out that the file-outbound-header wsdl does not contain a directory element after generation by the wizard. But you can add it afterwards.
    Also you can replace the location attribute in the jca:address element of the adapter-wsdl by mcf properties (host, username, password) and override them by copying the values to the partnerlink using bpelx:properties.
    I planned to put the details in my blog.
    Regards,
    Martien

  • How to pass a header variable in jsp

    Hi ,
    I am using Headervariable login module(which takes user id form http header variable) for single sign on.
    I configured the login module stack. But to test i need a jsp from which i can pass the user id in http header.
    to test if i am able to set the user id in http header , i have written 2 jsps
    1. Header.jsp
    In this , i am setting the user id
    response.addHeader("UserId" ,"user1");
    and i am posting it to HeaderResult.jsp
    2.HeaderResult.jsp
    In this, i am tryng to rretrieve it By using
    request.getHeader("UserId");
    But i am not geeting any value.
    Can i set user defined header variables?if not, can i set the standard http header variabes,
    Please help me with the code.
    Thanks,
    Lakshmi

    Hi,
    check this thread
    http://help.sap.com/saphelp_nw04/helpdata/en/71/bcf3bf2ed7e142a5011b43c288f08c/content.htm
    HTTP Header parameters in iView.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/bc-jas/~form/handler
    May help you
    Regards,
    RK

  • Header variable: Content Disposition for downloading file over HTTP?

    Hi All,
    I have a general content server question...Is there anyway to pass a parameter or set a setting on the content server to send the file with the header variable content-disposition set so that when a user selects a file within a browser, it doesn't open in place but asks the user whether they want to open or save the document?
    Note - I'm actually using this with ArchiveLink and displaying the link in the Portal but this forum seems the closest I can get to asking this question.
    Regards,
    Matt

    Thanks Athol.
    Although there's quite a bit of configuration options there for displaying files, there doesn't appear to be anything that let's you manipulate the HTTP header variables to set content-disposition.
    Any other ideas?
    Cheers,
    Matt
    ps. If you want to artificially see the behaviour I'm after, within IIS, you can predefine this header variable for the contentserver.dll but this makes every HTTP request act like a file that wants to be downloaded, and it calls every file contentserver.<suffix>. From a user perspective, there's nothing worse than a document opening in place in your window (losing the underlying application), or within another IE window, hence why I'd like it to act like a file download.

  • File information -- How to retrieve file name from header variable

    Hi
    I am using File Adapters to read files(.xml) and then I need to perform some database operations.
    One of the requirement is storing the file name read into the DB.
    I searched through the forum and got the information on how to configure this in the header variable. The link below shows the same.
    File Adapter
    Now, I use the XSL mapper to map the source values(from input xml file) to the corresponding table column names. So how should I get the value of the file name.
    I saw some of the in-built functions to be used for this but there is not enough documentation to proceed.
    Can anyone please provide some solution on this.
    /Kiran.

    Hi,
    Here are the steps that you need to do after you have declared the variable.
    1) The variable that you have declared should have the following elements
    a) Filename
    b) Directory
    2) Use the assign activity to copy the value of the filename part of this variable to the arg that needs to be passed to the database. (most probably an invoke variable).
    If you still have any problems implementing this, mail me at [email protected]..and i'll send you the screen shots for the entire process.
    ciao,
    Gunjan

  • I had old 8mm converted to dvd then used "Rip It" then imported to iMovie. My problem: in the event library a complete person is shown, in the project the top of their head is missing. How can I fix?

    I had old 8mm movies converted to dvd. I then used "rip it" and imported to imovie. In the event library a complete person is shown on a clip. However, when I move that clip to the project the tops of peoples heads are missing in the playback. I have used standard (4:3) because the cut is lower in widescreen. How do I fix this problem?

    Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
    In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think?

  • How to set Header variables through Jsp

    Hi,
    Can anybody help me with the code.
    I need to send user id in http header variable from jsp to a third party tool, which will read user id from the http header.
    i am tryng to test if ui can set the variable using th efollowing code
    <%response.addHeader("REMOTE_USER" ,"user1"); %>
    and to get that i am using response.getHeader("REMOTE_USER");
    The header variable is not set.
    can you let me know if is possible , can we set user defined header variables??
    Any help will be highly appreciated
    Thanks in advance

    Hi,
    If you'd like to send some additional headers from your jsp it would make sense to add it to your request than the response. Unfortunately, neither a servlet or jsp is allowed to modify the request object. You would need to write a filter to achieve this.
    See the below url for more information on creating filters.
    http://java.sun.com/products/servlet/Filters.html
    cheers,
    vidyut

Maybe you are looking for