Can I query for WL-Proxy-SSL header?

I want to be able to enforce certain pages to be loaded via https.
Is it ok to query for the WL-Proxy-SSL header in order to detect if a request
was via https, or is there a better way? I cannot find any documentation on this.
TIA,
-graham

You should read the Servlet spec, Graham:
ServletRequest.isSecure() returns true and ServletRequest.getScheme() returns
https
Glad to be of help ;)
-graham
"Graham Lyus" <[email protected]> wrote:
>
I want to be able to enforce certain pages to be loaded via https.
Is it ok to query for the WL-Proxy-SSL header in order to detect if a
request
was via https, or is there a better way? I cannot find any documentation
on this.
TIA,
-graham

Similar Messages

  • Customer support html (html service) - how can i query for 'closed' SRs

    hi,
    11.5.10.2
    in customer support html (html service - CSZ), is there any facility to query for SRs that are in 'closed' status?
    currently, a SR in 'closed' status can only be queried if agent knows the exact SR number. on Advanced Search page, even though the application allows 'closed' status to be selected, it does not return any record.
    help is appreciated, as this is critical to our business.
    regards.

    You can search for Closed SRs. Ensure that the search criteria 'Active' is set to 'No'. This will return back closed SRs.
    Who is the customer? Can you provide some more details on the implementation? (you can send me an email to [email protected])
    Thanks.
    Edited by: dejoseph on Mar 31, 2010 12:00 PM

  • Can we write query for fomatted search without from clause

    can we write query for fomatted search without from clause as below.
    SELECT (($(u_amt)*14)/100)
    here U_amt is a UDF .I want to assign this to another field .
    Rgds,
    Rajeev

    Hi Rajeev,
    You can write query for FMS without from.  That is because you can omit it when you get value from active form by default.  The grammar of it is:
    Select $[$38.u_amt.0\] * 14/100 in your case if you have item type marketing document @line level.
    From View-System Information, you can get the info you need for your FMS query at the left bottom of your screen.
    Thanks,
    Gordon

  • Query for xml:id fails

    Hello,
    I have a problem querying for the id-Attribute. I guess the solution is simple but I just don't get it %). Could someone give me a hint on that?
    Xml-Snippet
    &lt;s xml:id="s100" n="s99"/&gt;
    I can successfully query the document for the sentence //s&#091;@xml:id="s100"&#093;
    I can also query for the n-Attribute: //s/@n
    But when I want to query for the xml:id attribute I get no results (and no error): //s/@xml:id
    //s/@id does not work either.
    What am I doing wrong?
    Best wishes,
    Peter
    Edited by: user524194 on Nov 17, 2009 1:10 AM
    Edited by: user524194 on Nov 17, 2009 1:11 AM

    Hi Peter,
    I'm afraid I'm not sure what's going on. You'll need to answer a few more questions:
    1) What indexes do you have?
    2) What storage and indexing model are you using (document or node)?
    3) What is the full query that you're using?
    4) What's the query plan for your query?
    5) Can you reproduce the problem with a minimal data set via the DB XML shell?
    John

  • Query for individual coordinates in SDO_ORDINATES

    Hi,
    How can I query for each coordinate in column SDO_ORDINATES type ?
    I have a geom object with the following data -
    GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    SDO_GEOMETRY(2, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(-80, 40, -80, 40))
    How can I query for the individual coordinates in the SDO_ORDINATE_ARRAY?
    Thanks,
    Archana

    I have a geom object with the following data -
    GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    SDO_GEOMETRY(2, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(-80, 40, -80, 40))A few comments about this geometry:
    The first value (sdo_gtype) is set to 2. This gtype is a line string.
    If you are storing a 2D line string, you should use 2002
    2000 means 2 dimensional, 2 is a line geometry.
    The data you are storing as the line (-80,40,-80,40) is storing the same point twice. Consecutive points that are
    the same when storing a line segment are not supported in Oracle Spatial. If all you are storing is a point use
    sdo_gtype 2001 (for a point) and store the point in the sdo_point field.
    To just select the information from the ordinate array:
    select a.geom.sdo_ordinates from table a where....
    Hope this helps,
    Dan

  • How to query for a NULL value?

    Hi all,
    how can I query for a NULL value in a ViewObject. I tried to set null as where-clause param [setWhereClauseParam(0, null)]. But the created statement looks like this:
    SELECT ...
    FROM ...
    WHERE param = null
    I would expect it to create something like WHERE param IS NULL. I hope anybody has a solution for this.
    Thanks,
    Axel

    I think you should use setWhereClause("COL_NAME IS NULL")
    You could use setWhereClauseParam(0, "NULL"), but only if you have a predefined query similar to: "SELECT X, Y, Z FROM A WHERE X IS :0" (which is a pretty useless query, as you can ONLY set "NULL" as the value for ":0").

  • JDOQL querying for Map entry

    Hello,
    Here's some setup:
    /* This object contains a Map that ties a
    * Company (key) to a String ID (value).
    public class MyObject {
    private Map company2id = new HashMap();
    Example Data:
    MyObject1 map:
    Key[Company1], Value["ID1"]
    Key[Company2], Value["ID2"]
    MyObject2 map:
    Key[Company1], Value["ID2"]
    Key[Company2], Value["ID1"]
    Now I want to query for the MyObject instance that has an entry in that
    map
    with a key of Company1 and a value of "ID1". How do I do that?
    I can't query for a map that has a key of Company1 and a value of "ID1"
    because that would return both MyObject instances. Instead, I have to
    query
    for the entry that has those values as both key and value. I hope that
    sentence made sense.
    So this doesn't work: "company2id.containsKey(myCompany) &&
    company2id.containsValue(myId)"
    What I need is something like:
    "company2id.containsEntry(myCompany, myId)" or
    "company2id.containsKey(myCompany) && entry.value == myId"
    What would you recommend I do? Is there a custom extension I can use?
    Use
    SQL?
    It seems like this might be a common need.
    thanks,
    dave

    What would you recommend I do? Is there a custom extension I can use?
    Use
    SQL?
    It seems like this might be a common need.You can use a pure SQL query, SQL embedded in the JDOQL query (with our
    ext:sql extension in 3.2b2, or ext:sqlVal/ext:sqlExp for 3.1.x), or
    write your own JDOQL extension that emits the right SQL. Our reference
    guide has a section on query extensions you'll want to check out.
    I agree, though, that it's a fairly common need, and we'd like to
    include a standard Map.get() extension in the future (it may even become
    a standard supported method in JDO 2).

  • Safari is not sending proxy-authorization header for some https requests

    Hi,
    I have the problem that sometimes Safari doesnt send the necessary Proxy-Authorization header to our proxy for HTTPS requests.
    The proxy settings are configured in system preferences with a username and password.
    I did packet capture and I can see that most of the time it will work just fine and the trace looks something like this:
    CONNECT communicator.strato.de:443 HTTP/1.0
    Host: communicator.strato.de
    User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de-de) AppleWebKit/523.12.1 (KHTML, like Gecko) Version/3.0.4 Safari/523.12.2
    Proxy-Authorization: Basic XXXXXXXXXXXXXXXXX== (edited)
    HTTP/1.0 200 Connection established
    While some times it will look something like this :
    CONNECT communicator.strato.de:443 HTTP/1.0
    Host: communicator.strato.de
    User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de-de) AppleWebKit/523.12.1 (KHTML, like Gecko) Version/3.0.4 Safari/523.12.2
    HTTP/1.0 407 Proxy Authentication Required
    Any idea why Safari sometimes wouldn't send the credentials to the proxy?
    Simon Putz
    Ironport Systems Customer Support

    Hi, I am also facing same problem
    Software : Weblogic jdk1.3.1
    If anyone know the solution ,Please help me
    Thanks,
    Suneel

  • SSL for Reverse Proxy, webdispatcher and EP?

    We have a setup like:
    Reverse Proxy->webdispatcher->EP
    Do we need SSL for Reverse Proxy, webdispatcher and EP?
    If so, how to do it?
    Thanks!

    You don't need SSL because of the middleware architecture. It is recommended for the obvious security reasons (protect user credentials, protect sensitive content while in transmission, etc.).
    For performance reasons, I prefer not to have SSL encryption on the EP server, but instead offload it to other hardware. Ideally that's a network appliance, but you can use the Web Dispatcher instead.
    On the other hand, you have a reverse proxy as well. In some cases the reverse proxy is configured decrypting SSL traffic as well (e.g., to do packet inspection). If that is the case, there isn't much point in re-encrypting it before relaying to the Web Dispatcher, so that it can only decrypt it again. But if you reverse proxy is doing a "pass-through", the Web Dispatcher should decrypt it (in my opinion) to offload the EP server.

  • Can we combine Query for cancelled requisitions and query for internal requisitions without internal sales order into a single query

    Hi All,
    Greetings.
    I have two queries namely,
    1.Query for cancelled requisitions and
    2.Query for Internal Requisitions without Internal Sales Orders.
    I was on a task to combine those two queries..
    Can we do that? if so, please help me do that..
    Thanks in Advance,
    Bhaskar.

    Hi All,
    Greetings.
    I have two queries namely,
    1.Query for cancelled requisitions and
    2.Query for Internal Requisitions without Internal Sales Orders.
    I was on a task to combine those two queries..
    Can we do that? if so, please help me do that..
    Thanks in Advance,
    Bhaskar.

  • How can I display the range for LastFullMonth in the header of a report

    How can I display the month for LastFullMonth in the header of a report run in the past so that a report that ran sept 1 2009 selecting data for LastFullMonth (august 2009)  displays sept 2009 in the header even if there is no data selected by the report?

    Good,
    Sometimes I answer these questions and completly miss it....
    ( lack of understanding on my part )   

  • How can I get the elapse time for execution of a Query for a session

    Hi ,
    How can I get the elapse time for execution of a Query for a session?
    Example - I have a report based on the procedure ,when the user execute that it takes say 3 min. to return rows.
    Is there any possible way to capture this session info. for this particular execution of query along with it's execution elapse time?
    Thanks in advance.

    Hi
    You can use the dbms_utility.get_time tool (gives binary_integer type value).
    1/ Initialize you time and date of beginning :
    v_beginTime := dbms_utility.get_time ;
    2/ Run you procedure...
    3/ Get end-time with :
    v_endTime := dbms_utility.get_time ;
    4/ Thus, calculate elapsed time by difference :
    v_elapsTime := v_endTime - v_beginTime ;
    This will give you time elapsed in of 100th of seconds...
    Then you can format you result to give correct print time.
    Hope it will help you.
    AL

  • How to Use a Certificate for Two Way SSL and another certificate for WS Security Header at Client Console Application(C# Dotnet)

    Hi,
    I want to consume a Java Web service from Dotnet based client Application. The service require one Certificate("abc.PFX") for Two Way SSL purpose and another certificate("xyz.pfx") for WS security purpose to be passed from client Application(Dotnet
    Console based). I tried configuring the App.config of Client application to pass both the certs but getting Error says:
    Could not establish secure channel for SSL/TLS with authority "******aaaa.com"
    Please suggest how to pass both the certs from client Application..

    Hi,
    This problem can be due to an Untrusted certificate. So you need just full permissions to certificates.
    And for more information, you could refer to:
    http://contractnamespace.blogspot.jp/2014/12/could-not-create-secure-channel-fix.html
    Regards

  • How can I do for a row of a query be data provider for a variable?

    Hi friends, I have a problem !
    How can I do for a row of a query be data provider for a variable?
    I need that a value of variable be stored when the user select a row in a query. At the BPS we can do this configuring the variable selector in WIB, and in a WAB how I can do this ?
    Best regards,
    Gustavo Liberado

    In this case when I press the key to call other forms I need to wait for the response in the secondary form and then process the result.That is exactly what a "modal JDialog" (or JOptionPane) are used for.
    Try it. Create a short demo program. All you need is a JFrame with a single button to show the modal dialog. All you modal dialog needs is a single button to close the dialog. After you show the modal dialog add a System.out.println(...) statement in your code and you will see that it is not executed until the dialog is closed.
    Then once you understand the basics you add the code to your real program.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

  • What can i do for removing SINGLE in this select query??

    What can i do for removing SINGLE in this select query given below and also NOT USE 'ENDSELECT'??
    I have defined g_t_zv7_cachemapping as following ::
    DATA : BEGIN OF g_t_zv7_cachemapping OCCURS 0,
             kostl LIKE zv7_cachemapping-kostl,
             END OF g_t_zv7_cachemapping.
    SELECT SINGLE kostl FROM zv7_cachemapping INTO g_t_zv7_cachemapping
               WHERE  auart = g_t_vbak-auart.
            IF sy-subrc = 0 .
            ENDIF.

    Shashank,
    DATA : BEGIN OF g_t_zv7_cachemapping OCCURS 0,
    AUART LIKE zv7_cachemapping-AUART,
    kostl LIKE zv7_cachemapping-kostl,
    END OF g_t_zv7_cachemapping.
    If not g_t_vbak[] is initial.
    SELECT auart kostl
      FROM zv7_cachemapping INTO table g_t_zv7
    for all entries in g_t_vbak
    WHERE auart = g_t_vbak-auart.
    Endif.
    sort : g_t_zv7 by auart , 
              g_t_vbak by auart.
    loop at g_t_vbak.
      READ TABLE g_t_zv7 WITH KEY AUART = g_t_vbak-AUART
                                        BINARY SEARCH.
       IF sy-subrc eq 0.
       ENDIF.
    endloop.
    Pls. reward if useful

Maybe you are looking for

  • How to change price in Sales order using user exit ?

    The scenario is -  when the user creates a sales order,  there has to be an RFC called to another system to get the price of the materials in that system. Then it has to overwrite that price in this S.O. Which exit in S.O can be used for this and the

  • Why Adobe made so complicated, which is not worth? Hmmmm

    Hello I mean, why adobe didn't give a chance to customers/developers to on/off the button bcz I guess, this button is just cosmotic, nothing to do w/ core part, hmmmm, (Sorry, frustrated bcz our 200 users are stopped working) In form rendering proces

  • Job Openings: DataStage, BI, OBIEE, Siebel Analytics

    We have SEVERAL positions available in DataStage, BI, OBIEE, Siebel Analytics area. These are urgent requirements and interviews are going on so resumes with out candidate Email/Phone# will not be considered. Also these position requires on site face

  • Un updated and displyed field in /dbm/vm

    Hi when we enter in to vehicle master /dbm/vm, we use to get a data tabs on LH side. there is a TAB called VEHICLE GENRAL DATA in that ....there are 3 field entries techinical field name - functional names as under PDDATU-  production date PSDATU- pl

  • Looping thru getFiles() array

    I've always heard it's best to use a sequential loop for arrays: var fileArray = folderPath.getFiles(); for (var i = 0; i < fileArray.length; i++) {     // Do stuff... However, in the JavaScriptToolsGuide_CS5.pdf they use a "for - in" loop when loopi