How to enforce HTTP1.0 protocol in WL5.1 httpd?

Is it possible to enforce HTTP1.0 protocol in WL5.10 httpd?
          Thanks,
          Simon
          

may be
specify java.security.AllPermission for empty code base in the
weblogic.policy file.
thanks
kiran
"Ricky" <[email protected]> wrote in message
news:3dd6343e$[email protected]..
>
I am usning WL5.1 sp9, jdk1.3, Jsse.
I would like to call a web page (e.g. https://www.abc.com:123/abc) under
weblogic.
>
Here is part of my code and error message.
Please show me how solve it.
Thank you!
code:
URL url=new URL("https", "www.abc.com", 1234,"/abc/servlet", newcom.sun.net.ssl.internal.www.protocol.https.Handler());
HttpsURLConnection https = (HttpsURLConnection)url.openConnection();
https.setSSLSocketFactory(factory);
Error:
java.security.AccessControlException: access denied(java.net.NetPermission specifyStreamHandler)
>

Similar Messages

  • How to enforce index in oracle query

    Hi all
    how to enforce index in oracle query
    Regards

    Use INDEX hint to force Optimizer to use the specfied index.
    You really need to investigate why Optimizer doesn't choose the index. Remember, INDEX SCAN are not always GOOD.
    Jaffar

  • How to enforce index

    Hi Guys,
    How to enforce index ?
    Say for example,
    select max(dt) from emp
    emp table has an index called 'id1'.
    I want to enforce this index for the above query. How ?
    Inputs are welcome !

    Your index on ID is worthless for this query.
    You would have to add an index on your DT column. Even then, the index will only be used if you have a NOT NULL constraint on the column (or add "and dt is not null" to your query):
    SQL> explain plan for
      2  select min(dt), max(dt) from emp;
    Explained.
    | Id  | Operation            |  Name       | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT     |             |     1 |     8 |   194 |
    |   1 |  SORT AGGREGATE      |             |     1 |     8 |       |
    |   2 |   TABLE ACCESS FULL  | EMP         | 91000 |   710K|   194 |
    SQL> alter table emp modify (dt not null);
    Table altered.
    SQL> explain plan for
      2  select min(dt), max(dt) from emp;
    Explained.
    | Id  | Operation             |  Name       | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT      |             |     1 |     8 |    39 |
    |   1 |  SORT AGGREGATE       |             |     1 |     8 |       |
    |   2 |   INDEX FAST FULL SCAN| EMP_DT      | 91000 |   710K|    39 |
    ---------------------------------------------------------------------Still, even without an index a full table scan of 91000 rows takes < 1 second even on my laptop. How are you getting 21 seconds?

  • How to enforce the message "Do you want to save changes?"

    Hello,
    How to enforce the message "Do you want to save changes?" when the user attempts to close a form after checking a non-database item (check-box).
    All the other database items in the block are not updateable and only viewable.
    After checking the non database item check-box, if the user tries to commit, then the system is saving the changes and call the appropriate procedure on save.
    But if the user tries to close the window without committing, the form is not showing the message "Do you want to save changes?" since the check-box is a non database item.
    How to enforce the message "Do you want to save changes?" in this scenario when the user tries to close the window?
    Thanks in advance.
    Cheers
    Sri

    This is a fairly common question in the forum. You will need to override the default exit form process and check to see if the checkbox is checked. You can do this in the Key-Exit trigger. For Example:
    DECLARE
      al_id     ALERT;
      al_button  NUMBER;
    BEGIN
      IF ( CHECKBOX_CHECKED('YOUR_BLOCK.CHECKBOX_ITEM') ) THEN
         /* Display an Alert here that asks, "Do you want to save changes?" */
         ...code here to set the properties of your alert...
         al_button := Show_Alert(al_id);
         IF ( al_button = ALERT_BUTTON1 ) THEN
            --YES
            /* Perform COMMIT Processing here...*/
         ELSIF ( al_button = ALERT_BUTTON2 ) THEN
            --No
            Exit_Form(NO_VALIDATE);
         ELSE
            --Cancel
            RAISE Form_Trigger_Failure;
         END IF;
      ELSE
         Exit_Form;
      END IF;
    END;If you need more help with the Alert, please check out the SHOW_ALERT topic in the Forms Help.
    BTW, what happens if all the user does is check the checkbox? No other changes have occured. What changes are you trying to process?
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How I can associate shh protocol to putty in firefox or windows?

    How I can associate ssh protocol to putty in firefox or windows?
    == This happened ==
    Every time Firefox opened

    Check this link out:
    http://schipka.com/archives/34

  • How to enforce uniqueness to my database table

    Hello
    One of my database will be updated based on two columns c1 and c2.
    Previous i created an index on these two columns. But forgot to enforce uniqueness. Now my table has some duplicate data.Means columns c1 and c2 contained same value for more than one record. Now i deleted all the duplicate data. And i also want to allow any duplicate data into my table in future. While i was creating an unique index on these two columns it is not allowing and prompting errors. Can someone guide me how to enforce uniqueness for my table

    And i also want to allow any
    duplicate data into my table in future.
    Can someone guide
    me how to enforce uniqueness for my tableSo you want to enforce uniqueness or not?
    Look at alter table add constraint clause in sql reference manual.
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/clauses002.htm#g1053592
    In case you have duplicate values you can
    "ENABLE NOVALIDATE ensures that all new DML operations on the constrained data comply with the constraint. This clause does not ensure that existing data in the table complies with the constraint and therefore does not require a table lock."
    Gints Plivna
    http://www.gplivna.eu

  • How to enforce unique primary key constraint in xsd

    Hi,
    I'm trying to enforce primary key constraint in xsd. I'm using the following xsd to generate the xmls .
    <?xml version="1.0" encoding="UTF-8"?>
    <!--<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified" attributeFormDefault=
    "unqualified">-->
    <xs:schema targetNamespace="http://TBD-URI" elementFormDefault="qualified"
    attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
          <xs:element name="Employees">
                <xs:annotation>
                      <xs:documentation>Contains All Employee information</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                      <xs:sequence>
                            <xs:element name="Employee" maxOccurs="unbounded">
                                  <xs:complexType>
                                        <xs:sequence>
                                              <xs:element name="Empno" type="xs:int" />
                                              <xs:element name="Ename" type="xs:string" />
                                              <xs:element name="Sal" type="xs:float" />
                                              <xs:element name="Deptno" type="xs:int" />
                                        </xs:sequence>
                                  </xs:complexType>
                            </xs:element>
                      </xs:sequence>
                </xs:complexType>
                <xs:key name="PK_Employee_Empno">
                      <xs:selector xpath=".//Employee" />
                      <xs:field xpath="Empno" />
                </xs:key>
          </xs:element>
    </xs:schema>Here's the generated XML
    <?xml version="1.0" encoding="UTF-8"?>
    <Employees xmlns="http://TBD-URI"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://TBD-URI file:/C:/Documents%20and%20Settings/ctsuser/workspace/JAXB/src/test/resources/TEST.xsd">
        <Employee>
            <Empno>0</Empno>
            <Ename>Ename0</Ename>
            <Sal>0</Sal>
            <Deptno>0</Deptno>
        </Employee>
        <Employee>
            <Empno>0</Empno>
            <Ename>Ename1</Ename>
            <Sal>0</Sal>
            <Deptno>0</Deptno>
        </Employee>
    </Employees>The generated XML allow the same Empno on which the primary key constraint has been defined. I'll appreciate if someone can provide pointers on how to enforce this constraint so that it doesn't allow the same Empno to be repeated.
    Thanks

    Could you please append your solution?
    There is a chance that someone in the future may have a similar problem, and might find this entry. As the entry exists now, all they will find out is that you solved it -- which does not help them at all.

  • How to decipher SQL*Net protocols/packets?

    hi,
    we have a customer that sells compliance solutions that basically track and audit information at the packet level. in order to expand their customer base they would like to offer their solutions to customer that have business systems built on Oracle Forms 6.x and Pro*C. to do this they need to understand how our network communication works. is this something that is generally available? here are some details for what the partner wants from us ...
    Their product intercepts the communication between a typical Db client and Db server at packet level, performs analysis on the packets and extracts the information required for SOX compliance. It's been successfully installed and working for various versions of Oracle servers and Clients, however it does not handle Oracle Forms and pro*C clients.
    It also wrks for pro*c client except for bind variables and arrays.
    We need information on packet formats during communication between Oracle database and Forms and pro*c clients. This will help our product to work for SOX compliance for the customers who have FORMS and pro*c clients without replacing them
    I know that form Forms to DB its SQL*Net, not sure what the protocol is for PRO*C to DB communication but do we have documentation on both?

    Assuming you are on Windows, you can download the client installable from
    http://download.oracle.com/otn/nt/oracle10g/10201/10201_client_win32.zip -- for Oracle 10g client
    http://download.oracle.com/otn/nt/oracle11g/win32_11gR1_client.zip -- for Oracle 11g client
    If you are looking for any other version, please mention the same.

  • How to enforce a login screen when running a Web Dynpro app?

    Hello,
    In Web Dynpro for Java there is a way to set authentication property to true and by that enforcing a login screen in case someone is browsing this application outside of an authenticated context (for example, the portal).
    My question is: How do I do this for Web Dynpro for ABAP?

    Roy, are you familiar with that http://help.sap.com/saphelp_nw04s/helpdata/en/ff/c7de3fc6c6ec06e10000000a1550b0/frameset.htm ?

  • How to Enforce Sharepoint 2013 content type validation rules when modifying document using Word 2013

    Good day,
    I have two date columns (Start Date and End Date) in a content type in Sharepoint 2013.  A file library uses this content type.
    In the document template I have the two dates (Start Date and End Date) showing in the Document Panel.  I can edit them well enough and they show in the document correctly.
    In the content type I have validation rules that the End Date must be greater than the Start Date. 
    The question is, how can I enforce this validation on the client side in Word.  Is there anyway to achieve this?
    The user will not have access to change the document properties in Sharepoint. (Not my call)
    Thank-you!

    The "panel" is called the Document Information Panel in SharePoint. You can customize this using InfoPath from the page where you created / edited your Content Type. Go to Settings, Site Settings Content Types, edit your content type, click Document
    Information Panel and then click "Edit this template". In InfoPath you can create a Rule to enforce your dates.
    This may require the Enterprise Edition of SharePoint to support the InfoPath Forms Services.
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • ECM11g: How to enforce HTTPS access for Content server console

    Hi,
    We have a requirement of accessing Content Server console (https://<hostname>:<port>/cs) with https protocol only. If a user sends a http request (http://<hostname>:<port>/cs) it should get converted to https.
    The managed server is running with non SSL port. The request is comming from Apache where we have used the parameter "WLProxySSL" to enforce the https, however its not getting enforced for Content Server URL.
    Any help in this regard is highly appreciated.
    Thanks.

    Sorry, I forgot to say that
    i don't want to use the popup
    window that appears when JWS
    encounter an URL that requires
    basic authentication.
    In fact, I don't want to have to enter
    login/password for updates each time
    I start my application with JWS.

  • How to enforce md5 function to accept varchar2?

    I am trying to use md5 function from dbms_obfuscation_toolkit package.
    There are two functions called md5 in that package, the first one accepts one parameter as raw and returns raw whereas the second one accepts one parameter as varchar2 and returns varchar2.
    I want to use the second one (varchar2) I tried this code:
    declare
    v_output varchar2(16);
    v_checksum varchar2(16);
    v_input varchar2(50) DEFAULT 'SAAD';
    begin
    v_checksum := dbms_obfuscation_toolkit.md5 (input_string => 'SAAD');
    v_output := dbms_obfuscation_toolkit.md5(v_input);
    if (v_output = v_checksum) then
    dbms_output.put_line('TRUE');
    else
    dbms_output.put_line('FALSE');
    end if;
    end;
    An eror message appeared:
    PLS-00307:too many declarations of 'MD5' match this call
    I tried to cast inout_string using cast('SAAD' as varchar2(16)) but it didn't change anything.
    How can I enforce md5 function to accept varchar2 and return varchar2

    I am getting inproper output if I pass HARBINDER,in uppercase, to md5 and respective put_line does not print the following any output of the line(val1). In word 'Harbinder', what is there which is stopping the interpreter to print. It's strange!
    declare
    val varchar2(25);
    val1 varchar2(25);
    input varchar2(15) := 'HARBINDER';
    begin
    val :=dbms_obfuscation_toolkit.md5(input_string=>input);
    val1 :=dbms_obfuscation_toolkit.md5(input_string=>'Harbinder');
    dbms_output.put_line('Input: '||input||',Val: '||val|| ',Val1: '|| val1);
    end;
    OUTPUT:
    Input: HARBINDER,Val: ¨
    False
    What can be the reason?

  • How to enforce table data consistency at Db level?

    How would I enforce the follwing data consistency, consider the following table:
    PK_COL     | SOME_ID | COL1 | COL2 | COl3  | some other columns ...
    1       |       1 |  X   |  B   | C
    2       |       1 |  X   |  B   | C
    3       |       2 |  A   |  G   | G
    4       |       2 |  A   |  G   | G
    5       |       2 |  X   |  G   | G
    .For every same value in SOME_ID column I need to have same values in colums: COL1, COL2, COL3 (same values across rows within same_id value).
    Row 5 is not consistent so raise application error.
    I am not able to achieve this using triggers, when I query the table after insert/update i get mutating tables error.

    DanielD wrote:
    How would I enforce the follwing data consistency, consider the following table:
    PK_COL     | SOME_ID | COL1 | COL2 | COl3  | some other columns ...
    1       |       1 |  X   |  B   | C
    2       |       1 |  X   |  B   | C
    3       |       2 |  A   |  G   | G
    4       |       2 |  A   |  G   | G
    5       |       2 |  X   |  G   | G
    .For every same value in SOME_ID column I need to have same values in colums: COL1, COL2, COL3 (same values across rows within same_id value).
    Row 5 is not consistent so raise application error.
    I am not able to achieve this using triggers, when I query the table after insert/update i get mutating tables error.There is no straightforward way to implement constraints on table data that span across the rows (in oracle).
    Before discussing any possible solutions, few questions for you
    1) If the requirement is to have same value in all 3 columns for a SOME_ID value, why are you even allowing the user to enter values for COL1, COl2 and COL3? Or is this table populated using data coming from external sources?
    2) How is this table being accessed? Is the data maintained using OLTP-style transactions/queries (i.e. INSERT/UPDATE/DELETEs and SELECTs that affect only small number of rows) or DWH-style transactions (i.e. data loaded in bulk at defined intervals and queries access large amount of data)?

  • Protected Mode: How to enforce

    How can I enforce the Protected Mode?
    Especially on a "unsupported configuration" to block Reader to start without Protected Mode?

    This should help http://forums.adobe.com/message/3617625#3617625

  • How to enforce factory instantiation?

    Lets say I want all subclasses of a certain class to be created through a factory. I want to disallow instantiation of subclasses through direct instantiation using "new" .
    How can I enforce that? I would like the baseclass to enforce this, so that it should not be possible to define subclasses with a public constructor. If the baseclass has a protected constructor, it seems that subclasses still can have a public one?

    One solution to your problem is to only declare an interface for the types that the factory will create and put the implementation classes as inner classes in the factory. That way, noone will ever be able to construct the instance of them except the factory:
    public class Factory
        private Factory(){...}
        class ProductImpl_1 implements Product
        class ProductImpl_2 implements Product
        public Product getProduct(String type)
           // return the correct implementation based on the type
    public interface Product
    }

Maybe you are looking for

  • Issue with creation of a specific field for a java program.

    Hey everyone, This is homework which is end of chapter "challenges" to practice what we've learnt. The chapter covers inheritance (super class and all things related) I'm having quite an annoying issue with the very beginning of the instructions, whe

  • Can't open a New (additional) tab today! What'up with that?

    In this latest version, the '+' at the end on the line no longer opens a new tab. Nothing happens except the display that says it will open a new tab. I'm on version 30 Beta and that says that I am up to date. I thought that I saw a 'flash' that vers

  • Email in Settings

    How do I customize my email in "My Settings?" I've since changed emails, and there seems to be no way to change it in my account

  • Active Sync does not start as domain user with no Administrator rights.

    Hi all, Searched the forums and the net but can't find anything about this. Situation: In a domain where users only have standard users rights I installed on a PC as a domain admin Active Sync 4.5 When I logon as a user the Active Sync software can n

  • Suggestions on burning programs used with iMovie-quality horrible with iDVD

    I have read the boards on iDVD and find myself having the same problem. I made an all photo slideshow for my husband to show clients in iMovie. I transfer it to iDVD, burn it (both using best and professional quality) and the pictures look horrible.