Access protection using token

Where I can find some information on how to protect access to my webservice in a way that e-banks do it? To do it I want to use a token. I hope you understand what I mean.

Where I can find some information on how to protect access to my webservice in a way that e-banks do it? To do it I want to use a token. I hope you understand what I mean.

Similar Messages

  • Can't access object using "id" or "name" if created with actionscript

    How can you register an instance of an object with actionscript so that it's id or name value is accessible?
    I included a simple example where a Button is created using mxml and in the same way it is created using actionscript.  The actionscript object is inaccessible using it's "id" and "name" property.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
                   creationComplete="application1_creationCompleteHandler(event)">
        <fx:Script>
            <![CDATA[
                import mx.events.FlexEvent;
                protected function application1_creationCompleteHandler(event:FlexEvent):void
                    import spark.components.Button;
                    var asBtn:Button = new Button();
                    asBtn.label = "actionscript";
                    asBtn.x = 200;
                    asBtn.id = "asButton";
                    asBtn.name = "asButtonName";
                    addElement(asBtn);
                    trace("mxmlButton="+this["mxmlButton"].label); // returns: mxml  label
                    //trace("mxmlButton="+this["asButton"].label); // returns runtime error: ReferenceError: Error #1069: Property asButton not found on TestId and there is no default value.
                    //trace("mxmlButton="+this["asButtonName"].label); // returns runtime error: ReferenceError: Error #1069: Property asButtonName not found on TestId and there is no default value.
            ]]>
        </fx:Script>
        <s:Button
            id="mxmlButton"
            label="mxml label"
            alpha="0.8"/>
    </s:Application>

    Hi Dan,
    It is a very rare occurrence when I miss not being able to access an object (object property, really) using the ["name"] notation for objects created using actionscript.
    In MXML the compiler is conveniently adding an attribute to the class with the same name as the id, so you can conveniently refer to it using the [] notation. While we explicitly specify an application container to use, the MXML compiler creates a custom container which is a derivative of the base container and to that it adds properties for the children declared in MXML. I guess it also effectively calls "addElement" for us when  the container is being constructed.
    Your example assumes that using "addElement" to add the button to the application container is the same as declaring a variable (ie property ). It isn't, so there's no point in looking for an property of the name "as3Button" using the [] notation, because it doesn't exist. The container is managing a collection of children in it's display list and that's not the same as being accessible as properties of the container.
    Generally speaking, accessing properties using the ["name"] syntax isn't necessary.
    Paul
    [edit: you may wonder why "addElement" doesn't conveniently also add the "id" attribute to be an property of the container class. Unfortunately, it can't because the container class would need to be dynamic and it's not. A further complication would be that adding properties at runtime would invite naming clashes at runtime with associated mayhem. MXML can do this because the compiler generates the class and can trap name duplication at compile time.
    Great question, BTW.
    -last edit changed my "attributes" to be "properties" in line with Adobe's terminology]

  • How to backup files to ensure future access and use using a different mac

    I recently attempted access backed up data on my LaCie drive from a different Mac notebook. I was blocked. I didn't write down the message, but it essentially advised that the data was locked and I wasn't allowed access. I wasn't given a chance to enter any kind of system password to bypass the lock.
    Here is my problem: I recently spilled some wine into my keyboard. Since then, the system has slowed to a crawl and occasionally weird things begin to happen, regardless of which software I am using [eg iPhoto, Quickbooks, idvd, Photoshop, email, and even dashboard]. I know I am very lucky to have any access to my files at all. While I do, I need to back everything up so that I can have access to my files later on. I plan to have my Mac serviced this week. I don't know if it needs to be replaced, or whether it can be repaired.
    *+If it can't be repaired, how do I back up my files to ensure future access and use using a different mac?+*

    I'll check the example you linked. I appreciate you responding.
    I was not trying to boot another system at all. Actually, I was working on a newer mac laptop. I attempted to load a dvd I had created in my idvd on the other mac from the LaCie. I was using a mac because I knew it had all the iLife software I needed in order to work with my idvd components. Honestly though, I don't know if the mac I was using is intel based. I hadn't considered it. Does Apple sell macbooks with intel? No matter.
    So, let's see -- I was using the other powerbook to read the LaCie via firewire -- and yes, the LaCie has its own power supply.
    If I remember correctly, the denial I received [when attempting to load the idvd file] knew that I had created it. I got the feeling that it wasn't allowing me into the file for security reasons. I just don't remember setting security. Incidentally, I just checked and I do not have a master password set nor do I have FileVault protection turned on.
    I'll check that link you sent. Thx again, M~

  • Formcalc: access = "protected" puts protected literal in field.

    Hi. I have a form that has a field, EmpNbr, appearing twice. The two fields share the same name with Data Binding set to Use Global Data. I don't want the second field to be enterable so I set the field to protected using FormCalc, see clip below. When viewing the form in Preview PDF it is indeed protected, the cursor skips the field. However, both fields show the literal protected as the initial field value. Why is the literal protected being populated and how can I prevent it?
    If I change the access to readOnly, that becomes the initial value.
    It doesn't help if I change FC to JS.
    Below is a clip of the access command --
    topmostSubform.Page1.EmpNbr[1]::calculate - (FormCalc, client)
      $.access = "protected"
    Thanks for any insight.
    Gary

    The calculate event is "special" and is setup to return whatever the script on the event does back to the caller (in your case the field). So if you add a $.rawValue to the end of your script it will return the current value of the field and all shoudl be good. Note that if you used a different event then this woudl not happen as Calculate is the only event that operates this way.
    So your script shoudl be:
    $.access = "protected"
    $.rawValue
    Hope that helps
    Paul

  • How do I access XMLType using JDBC ?

    This thread will address a number of issues related to accessing XMLType tables and columns from Java via JDBC.

    The following code shows examples of accessing XMLType using Java getting an instance of W3C DOM interface org.w3c.dom.Document. It also shows how which DOM implementation is returned by the getDOM() method is dependant on whether or not the OCI driver or Thin Dirver is in used.
    The code also show how to use the createNonSchemaBasedXMLType() method to access a schema based XMlLType via the thin driver...
    public class GetXMLTypeDOM extends BaseApplication
       protected String driverType;
       protected String getDriver() {
         return this.driverType;
       public void doSomething(String[] Args) throws Exception
         OraclePreparedStatement  statement = null;
         this.driverType = this.OCI_DRIVER;
         this.initializeConnection();
         statement = (OraclePreparedStatement) getConnection().prepareStatement("select object_value from PURCHASEORDER_NSB_XMLTYPE where rownum < 2");
         getDocument(statement);
         statement = (OraclePreparedStatement) getConnection().prepareStatement("select object_value from PURCHASEORDER_SB_XMLTYPE where rownum < 2");
         getDocument(statement);
         getConnection().close();
         this.driverType = this.THIN_DRIVER;
         this.initializeConnection();
         statement = (OraclePreparedStatement) getConnection().prepareStatement("select object_value from PURCHASEORDER_NSB_XMLTYPE where rownum < 2");
         getDocument(statement);
         statement = (OraclePreparedStatement) getConnection().prepareStatement("select object_value from PURCHASEORDER_SB_XMLTYPE where rownum < 2");
         getDocument(statement);
         statement = (OraclePreparedStatement) getConnection().prepareStatement("select x.object_value.createNonSchemaBasedXML() from PURCHASEORDER_SB_XMLTYPE x where rownum < 2");
         getDocument(statement);
         getConnection().close();
       private void getDocument(OraclePreparedStatement statement)
         OracleResultSet resultSet = null;
         org.w3c.dom.Document  doc = null;
         XMLType xml = null;
         try {
           resultSet = (OracleResultSet) statement.executeQuery();
           while (resultSet.next())
              xml = (XMLType) resultSet.getObject(1);
              doc = xml.getDOM();
              System.out.println("DOM Implementation is " + doc.getClass().getName());
              xml.close();
           resultSet.close();
           statement.close();
        catch (SQLException sqle) {
            System.out.println("Caught SQL Exception : " + sqle.getMessage());
      public static void main (String[] args)
        try
          GetXMLTypeDOM example = new GetXMLTypeDOM();
          example.doSomething(args);
        catch (Exception e)
          e.printStackTrace();
    }Here's the output from running this class..
    C:\TEMP>
    C:\Oracle\JDeveloper\jdk\bin\javaw.exe -client -classpath C:\xdb\JDeveloper\Classes;C:\Oracle\product\10.2.0\db_1\jdbc\lib\ojdbc14.jar;C:\Oracle\product\10.2.0\db_1\LIB\xmlparserv2.jar;C:\Oracle\product\10.2.0\db_1\RDBMS\jlib\xdb.jar;C:\xdb\JDeveloper\jakarta-slide-webdavclient-bin-2.1\lib\jakarta-slide-webdavlib-2.1.jar;C:\xdb\JDeveloper\jakarta-slide-webdavclient-bin-2.1\lib\commons-httpclient.jar;C:\xdb\JDeveloper\jakarta-slide-webdavclient-bin-2.1\lib\commons-logging.jar;C:\xdb\JDeveloper\jakarta-slide-webdavclient-bin-2.1\lib\jdom-1.0.jar -Dcom.oracle.st.xmldb.pm.ConnectionParameters=C:\\xdb\\jdeveloper\\SimpleExamples\\LocalConnection.xml -Dhttp.proxyHost=www-proxy.us.oracle.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=192.168.0.77|localhost|192.168.1.1|*.oracle.com|*.us.oracle.com -Dhttps.proxyHost=www-proxy.us.oracle.com -Dhttps.proxyPort=80 -Dhttps.nonProxyHosts=192.168.0.77|localhost|192.168.1.1|*.oracle.com|*.us.oracle.com com.oracle.st.xmldb.pm.examples.GetXMLTypeDOM -mx2048M
    ConnectionProvider.establishConnection(): Connecting as SCOTT/TIGER@jdbc:oracle:oci8:@(description=(address=(host=localhost)(protocol=tcp)(port=1521))(connect_data=(service_name=ORA10GR2.xp.mark.drake.oracle.com)(server=DEDICATED)))
    ConnectionProvider.establishConnection(): Database Connection Established
    DOM Implementation is oracle.xdb.dom.XDBDocument
    DOM Implementation is oracle.xdb.dom.XDBDocument
    ConnectionProvider.establishConnection(): Connecting as SCOTT/TIGER@jdbc:oracle:thin:@localhost:1521:ORA10GR2
    ConnectionProvider.establishConnection(): Database Connection Established
    DOM Implementation is oracle.xml.parser.v2.XMLDocument
    Caught SQL Exception : Only LOB or String Storage is supported in Thin XMLType
    DOM Implementation is oracle.xml.parser.v2.XMLDocument
    Process exited with exit code 0.

  • Does my macbook air have a built in virus scan?  how can I access and use it? also any recommendations of what software if this is not avail ?

    does my macbook air have a built in virus scan?  how can I access and use it? also any recommendations of what software if this is not avail ?

    Contrary to what Geeks on Hugs is telling you, Mac OS X does indeed have a basic malware scanner. It is not a feature that is directly accessible to the user, and works a bit differently than every other malware scanner out there. Gatekeeper, which has been mentioned here, is entirely separate, and provides a different method for helping to protect you against malware.
    The anti-malware scanner in Mac OS X is called XProtect. When you download an application (or any other kind of executable code), it is automatically "quarantined," so that when you open it you're asked if you really want to do that. I'm sure you're very familiar with this aspect of Mac OS X if you have ever downloaded any apps from outside the App Store. What you don't know, though, is that each time you try to open a new app, that app is checked by XProtect. If it is identified as malware, you will not be allowed to open it, and will be warned that it's malware.
    At this time, there is no known malware that can infect a properly up-to-date Mac. All current malware will be blocked by one or more methods.
    For more information, see my Mac Malware Guide.
    (Fair disclosure: I may receive compensation from links to my sites, TheSafeMac.com and AdwareMedic.com.)

  • Cannot play Adobe Access Protected Content in Chrome (version 30 and higher); Error 3321/3322?

    Symptom:
    An end-user cannot play Adobe Access protected content.  The client application returns a persistent 3321 (Individualization Error) or 3322 (Device Binding Failure) error code.
    Root Cause in Chrome Browser:
    Adobe Access DRM must create a unique machine identifier (I.e. "token") to identify the the device.  This token is provided to the Adobe Access license server during a license request to view DRM protected content.  If Chrome Browser disables the ability for Adobe Access DRM to create a unique machine identifier, playback of Protected Content will fail with a 3321 or 3322 error code.  By default, this setting is enabled and available to toggle in Chrome Browser version 30 and higher.  Unchecking this option will prevent Adobe Access DRM from properly functioning. A 3321 or 3322 error that persists after a call to resetDRMVouchers is an indicator that this setting may need to be changed.
    Resolution:
    In your Chrome settings:
    •             Click on "Show advanced settings…"
    •             In the subsequent "Privacy" section, click on "Content settings…"
    •             In the subsequent "Protected Content" section, make sure that the following box is checked "Allow identifiers for protected content (computer restart may be required)".
      We are working with Google to allow better detection of this condition, so that the client will return a 3368 (User cancelled or user settings disallow operation) error code when the box is unchecked.

    Symptom:
    An end-user cannot play Adobe Access protected content.  The client application returns a persistent 3321 (Individualization Error) or 3322 (Device Binding Failure) error code.
    Root Cause in Chrome Browser:
    Adobe Access DRM must create a unique machine identifier (I.e. "token") to identify the the device.  This token is provided to the Adobe Access license server during a license request to view DRM protected content.  If Chrome Browser disables the ability for Adobe Access DRM to create a unique machine identifier, playback of Protected Content will fail with a 3321 or 3322 error code.  By default, this setting is enabled and available to toggle in Chrome Browser version 30 and higher.  Unchecking this option will prevent Adobe Access DRM from properly functioning. A 3321 or 3322 error that persists after a call to resetDRMVouchers is an indicator that this setting may need to be changed.
    Resolution:
    In your Chrome settings:
    •             Click on "Show advanced settings…"
    •             In the subsequent "Privacy" section, click on "Content settings…"
    •             In the subsequent "Protected Content" section, make sure that the following box is checked "Allow identifiers for protected content (computer restart may be required)".
      We are working with Google to allow better detection of this condition, so that the client will return a 3368 (User cancelled or user settings disallow operation) error code when the box is unchecked.

  • Adobe Access Protection on iOS devices?

    I am having an issue in terms of Adobe Access not supported in iOS. I have been developing a custom player along with a bunch of other back end Adobe Technologies only to find out now that protection is not available in iOS.
    DRMManager.isSupported returns false when we test the app in iOS Simulator. DRMManager.isSupported returns true when we use Air Simulator.
    I am using OS X 10.9, AIR SDK 4.0, Apache Flex 4.11.0, and Xcode 5.02, and Flash Builder 4.7.
    This is a huge problem and amounts to false advertisement because the protection is supposed to be handled by Adobe AIR which is supposed to be uniform across platforms. If protection is not supported on iOS, then the appeal of write one code for multiple platforms is not there any more.
    I don't understand why protection is not uniformly supported if the same Adobe Air is installed on both iOS and Android devices. I also don't understand why HDS is supported on Android but not on iOS devices. It makes no sense. The whole reason for using Adobe AIR is to not have to deal with the specifics of each platform.
    We were supposed to go live on Jan 1st, but had to postpone to deal with several issues. Now it seems that we may have to reevaluate the decision to use Adobe technologies altogether.
    Any suggestions from Adobe would be appreciated.

    Your comments on point 3 are sobering and kind of a slap in the face to someone who has been developing a streaming app with the idea that Adobe Air has  99% reach in the desktop and mobile market. I went back to the Http Dynamic Streaming and Adobe Access pages to find the restrictions that I missed when I was deciding on the technologies to use.
    The only hint of not being able to use HDS or OSMF on iOS was the omission that Adobe Access protection could be delivered via Adobe Air on iOS devices as shown in the first image below of the Adobe Access technical specs.
    On the other hand, there all kinds of statements and illustrations that would make you believe otherwise, especially on mobile devices.
    No explicit statement can be found that says that HLS is the only way to stream content to iOS devices, that the OSMF framework is HLS agnostic, and that one has to build an iOS native app from scratch if they want to consume protected HLS. I guess not smth you want to put on a page where you want to market a product.
    In building a native app, how do I make up for the lost functionality that comes by default with AIR such as the integration of Adobe Access in AIR, DRM Management, SWF verification, etc.
    As it stands, the OSMF framework is a half-baked solution as it cannot be used on iOS devices because it is HLS agnostic….although some folks have written plugins to enable OSMF to consume HLS.
    I  am currently testing a plugin to see if I can consume protected HLS. If I fail then I will scrap the entire project…which also means not buying Adobe Access or Adobe Media Servers. Neither will I be looking at Adobe Primetime.
    My OSMF based app is able to consume HLS content when I debug in AIR Simulator. Testing on iOS simulator or iOS devices has yet to prove successful. Something breaks inside AIR when it is compiled using iOS SDK.
    The reason why I chose Adobe technologies is because it seemed like all the pieces were there to put together a streaming solution that fit my business model. I did not want to have to write everything and Adobe technologies promised a quick time to market. Now 7 months later I am finding out that perhaps I should have read the Adobe Access technical specs with the precision of a lawyer.
    In my testing, protected content cannot be consumed in AIR unless DRMManager class is available. In help.adobe.com we read the following:
    “The DRMManager manages the retrieval and storage of the vouchers needed to view DRM-protected content. With the static DRMManager.getDRMManager() method, you can access the existing DRMManager object to perform the following DRM-management tasks:
    Preload vouchers from a media rights server, using a DRMContentData object.
    Query the local cache for an individual voucher, using a DRMContentData object.
    Reset all vouchers (AIR only)
    AIR profile support: This feature is supported on all desktop operating systems and AIR for TV devices, but it is not supported on mobile devices. You can test for support at run time using the DRMManager.isSupported property.”
    Using OSMF 2.0 framework, I have been able to take advantage of both PHDS and Adobe Access protection schemes in my Flex based app running on Adobe Air on Android. In Android Devices, DRMManager .isSupported returns true.
    In iOS, it seems to be a whole different story. As I said in my first post, DRMManager.isSupported returns false when testing via iOS Simulator but returns true when testing via Air Simulator.  So the attack vector idea that you put forward cannot stand because if that was true it would require DRMManager.isSupported to be false in all debugging scenarios not just on iOS Simulator or iOS devices.
    The behavior of the app in iOS simulator and Air Simulator is not consistent when it comes to responding to touch based events and rendering visual elements as well. Performance and functionality degrades even more when testing directly on iOS devices. All iOS devices exhibit the same symptoms. For example, trying to select a list item is almost impossible….item renderers simply do not respond when one tries to select an item.
    No such symptoms or differences exist between AIR Simulator and Android devices. So, it seems to me that there are AIR to iOS compilation issues when a mobile air app is packaged through iOS SDK. Smth brakes inside of AIR during packaging. I believe that this is the reason why DRMManager.isSupported returns false when testing app in iOS simulator and devices.

  • .access = "protected"

    I read a thread that this prevents fields from being in the tabbing sequence..
    Through javascript I set some field (textfield) access to protected.. (and when alerting their access, I am getting that they are protected) but they are still receiving focus ! Is there a solution for this? I have some readonly fields that are readonly & should not be included in the tabbing sequence (like it used be in the good old days!!)
    Thanks for any help!

    Chris,
    I created three text fields in LCD 8.0. I setup the second text field to be ReadOnly and in the initialize event I placed the following:
    this.access = "protected";
    When previewed, the second text field was not editable and was skipped in the tab order.
    Rick Kuhlmann

  • Page Access Protection -Arguments Must Have checksum question

    If we want to call popup page that is defined as "Page Access Protection -Arguments Must Have checksum", then HTMLDB_UTIL.PREPARE_URL has to be called for every used URL-OK!
    <br><br>
    This calculation is easy to perform in "OnLoad-Before region" process, where some hidden varible is assigned as:
    :P_HIDDEN_VAR_URL:= HTMLDB_UTIL.PREPARE_URL('*f?p=&APP_ID.:2:&APP_SESSION.::NO::P_PROCESS:1');<br>
    and later used in call:
    javascript:popupURL('&P_HIDDEN_VAR_URL.');<br>
    AFAIK, this approach has a limitation if popup links are placed in table grid. If in grid link is defined as:
    <*a href="*javascript:popupURL('*f?p=&APP_ID.:2:&APP_SESSION.::NO:RP,2:P_PROCESS:#ID#')">#SOME_FIELD#</a><br>
    then no "HTMLDB_UTIL.PREPARE_URL" cannot be used, because every value depend on each grid row (ID field).
    <br><br>
    So is there a solution in such a cases to call popup page that have mentioned type of page access protection?
    <br>
    THX!

    See results below for call to prepare_url in SQL*Plus. It doesn't do anything, as you can see. The function can only generate a secure checksum (to be ultimately verified later within the application context) if it has some secret knowledge that is known only within the application context. So to expect it to work outside that context may be a requirement that conflicts with security aims.
    Is your requirement to use apex_mail.send from a job? Maybe you could generate the links with user-level checksums from within the application (for every possible user/argument value combination) and save them off in a table for retrieval by the mailer program. Just a thought.
    SQL> select apex_util.prepare_url('f?p=211:2:5103232296113234:x') from dual;
    APEX_UTIL.PREPARE_URL('F?P=211:2:5103232296113234:X')
    f?p=211:2:5103232296113234:x::::
    SQL> select apex_util.prepare_url('f?p=211:2:5103232296113234:x','3') from dual;
    APEX_UTIL.PREPARE_URL('F?P=211:2:5103232296113234:X','3')
    f?p=211:2:5103232296113234:x::::
    SQL> select apex_util.prepare_url('f?p=211:2:5103232296113234:x','2') from dual;
    APEX_UTIL.PREPARE_URL('F?P=211:2:5103232296113234:X','2')
    f?p=211:2:5103232296113234:x::::
    SQL> select apex_util.prepare_url('f?p=211:2:5103232296113234:x','1') from dual;
    APEX_UTIL.PREPARE_URL('F?P=211:2:5103232296113234:X','1')
    f?p=211:2:5103232296113234:x::::
    SQL>
    Scott

  • OAM11g - How to perform direct login without accessing protected resource?

    Hi,
    I think this should be a common requirement as website needs to provide a direct login page.
    The OAM Documentation seems focus on the flow of starting from accessing protected resource then redirect to login page.
    How can we perform direct login?
    I tried from my custom login page directly, but it always gives me *"PolicyEvaluationException: OAMSSA-06191: The runtime request contains no resource"* once the login form submitted.
    Anyone can advise? Thanks in advance.

    Thanks for the reply.
    We need to cater for both the scenarios:
    Scenario 1: User tries to access a protected page. He/she will be redirected to the login page. Once it is authenticated, he/she will be redirected back to the previously requested protected page
    Scenario 2: User clicks the "Login" link on the homepage where the homepage is definitely unprotected. He/she will be redirected to the login page. Once it is authenticated, he/she will be redirected back to homepage.
    I have tried to the "Success URL" parameter of the Authentication Policy. However, once "Success URL" is defined, Scenario 1 will NOT work...
    Yes. There are some work around solution I can think about.
    Example: use a intermediate page 'rediret.jsp' which is defined as the protected resource.
    The flow is: clicks the "Login" link on the homepage -> a intermediate page 'rediret.jsp' -> login page -> redirect back to 'rediret.jsp' -> 'rediret.jsp' will redirect user to the Homepage...
    But I think Scenario 2 should be very common and it should be a right solution for it. Please advise. Thanks

  • Trying to Access Website using SSL running JAVA from inside ORACLE DB

    Hi,
    I am trying to access website using SSL and running JAVA code from inside Oracle 10g DB server using SSL and Java. I have loaded my java code into Oracle data base. My problem is when I am running same code from outside the DB it is running perfectly fine but when the same code is loaded into DB and trying to run from DB under these environment I am using for running my code:-
    JDK 1.4.2_06
    JSSE 1.4
    Database :- Oracke 10G
    I am getting following Exception:-
    CALL testssl_http_mar20_New();
    java.io.IOException: Unable to tunnel through 123.456.789.123:80. Proxy returns "HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied.)
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a(DashoA12275
    at
    com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect(DashoA12275)
    at
    com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer(DashoA12275
    at com.sun.net.ssl.internal.www.protocol.https.HttpClient.l(DashoA12275)
    at com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>(DashoA1
    2275)
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.<init>(DashoA
    12275)
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a(DashoA12275
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a(DashoA12275
    at
    com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connect(DashoA122
    75)
    at
    com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInputStream(Da
    shoA12275)
    at java.net.URL.openStream(URL.java:924)
    at SecureURLhttp_Mar20_New.SecureURLhttp_Mar20_New(
    source code is below :-
    import java.io.*;
    import java.net.*;
    import java.security.*;
    import java.util.*;
        public class SecureURLhttp
              public static void main(String[] args) throws Exception
                  SecureURLhttp r = new SecureURLhttp();
                  r.SecureURLhttp();
        public static void SecureURLhttp() throws IOException
                System.setProperty("java.protocol.handler.pkgs","oracle.aurora.rdbms.url|com.sun.net.ssl.internal.www.protocol");
                System.setProperty("https.proxySet","true");
                Authenticator.setDefault(new MyAuthenticator());
                System.setProperty("https.proxyHost","123.456.789.123");
                System.setProperty("https.proxyPort","80");
               //  URL verisign = new URL("https://login.oracle.com/");
                URL verisign = new URL("https://www.verisign.com");
                BufferedReader in = new BufferedReader(new InputStreamReader(verisign.openStream()));
                String inputLine;
                while ((inputLine = in.readLine()) != null)
                System.out.println(inputLine);
                in.close();
                 /* Code Newly Add for checking the system property   */
                java.util.Properties props = System.getProperties();
                java.util.Enumeration propNames = props.propertyNames();
                 while (propNames.hasMoreElements ())
                 Object o=  propNames.nextElement();
                 String name = (String ) o;
                 String val =  props.getProperty(name)   ;
                 System.out.println ( name +  "  = "  + val );
        private static class MyAuthenticator extends Authenticator {
              protected PasswordAuthentication getPasswordAuthentication() {
                   return new PasswordAuthentication("<USERNAME>",new String("<USER_PASSWORD>").toCharArray());
         }Please help me out:
    Thanks a lot in advance.

    0- the fact the ISA server logs an 'anonymous' seems logical, since it answers by HTTP 407. I will say it's even a "good log" :) but I had preferred a good old "security exception" but it's not the case..
    1- The code for checking the properties (your debugging) should be placed BEFORE trying to connect to the url if you want to see what's happening
    2- The 'normal' way to set the proxy is to set the following properties
    System.setProperty("http.proxySet","true"); // and NOT https.proxyset as ejp said
    System.setProperty("http.proxyHost","123.456.789.123");
    System.setProperty("http.proxyPort","80");
    3- what's the behavior if you change 123.456.789.123 by the real name (hostname) of the server ?
    4- You can try setting up the proxy in the java control panel instead of in your code (easy to do under Windows, you look for the networking settings, and you find the proxy settings for http/https there. Otherwise look for all files called net.properties and edit them).
    5- to help debbuging, we can rely on several methods of Authenticator :
    protected PasswordAuthentication getPasswordAuthentication() {
    System.err.println(".\tgetRequestingHost: " + getRequestingHost());
    System.err.println("..\tgetRequestingSite: " + getRequestingSite());
    System.err.println("...\tgetRequestingPort: " + getRequestingPort());
    System.err.println("....\tgetRequestingProtocol: " + getRequestingProtocol());
    System.err.println(".....\tgetRequestingPrompt: " + getRequestingPrompt());
    System.err.println("......\tgetRequestingScheme: " + getRequestingScheme());
    return new PasswordAuthentication("<USERNAME>",new String("<USER_PASSWORD>").toCharArray());
    Try all this and let us see the output messages.
    Please remember to give some 'duke stars' if it helped resolving the problem ;)
    NephYliM

  • My DVR security sofware that I access remotely uses a "dvr .ocx" file....when I try it in Firefox , either the latest non beta (3.6.1.5) or the new beta version (4.0 rc) it will NOT work as it says the plugin is missing... it works in IE 8,but not IE9...

    My machine is Top of the range (my Company builds them so it had better be :) )
    Amd 1100t , 8gb ram , Windows 7 64 bit etc, etc...
    The is not a hardware problem , but a software problem with FF...Any help would be appreciated as I hate using IE 8 for anything at all :( but I have to keep it on my machines just to run my remote security cameras at my Computer shop ???
    Original question...as question length is limited ...not very bright that limit by the way :(
    "My DVR security sofware that I access remotely uses a "dvr .ocx" file....when I try it in Firefox , either the latest non beta (3.6.1.5) or the new beta version (4.0 rc) it will NOT work as it says the plugin is missing... it works in IE 8 (unfortunately) but not IE9...
    As I own a Computer company I am fairly computer literate but cannot find a plugin that allows this to work in Firefox.... but I would have expected it to work in the new Firefox :(
    All the best, Brett :)

    The longer this thread continues, the more ancillary comments you throw in that aren't directly pertinent to your problem with your DVR software not working with Firefox 4.0. Sorry, I don't intend to continue with this discussion.
    I do agree that ''something'' needs to be done better with regards to plugins for Firefox, but I do disagree with you as to whose responsibility that ''something'' is.

  • How do I open a pdf stored in a Microsoft Access database using Visual Basic studios 2012

    Currently I am unable to find a valid method of being able to open a pdf stored in a Microsoft Access database using Visual Basic studios 2012. I've tried displaying the entire database on a form, but when I do this all the other columns show up with
    the correct data besides the one containing the pdf's, it just displays <binary data> in each row down the column. I also tried another method with which you use the database as a dataset and can drag and drop the rows and columns into the form, which
    again works for all the other columns besides the one containing the pdf's but this time I'm unable to interact with the column  at all. 
    Not too sure if this is in the correct place, but any answers or help would be appreciated. Cheers.

    Alex,
    This forum is dedicated to Project and Project Server. You might get better response, if you post to a Visual Basic forum. Here are couple I could find. 
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral%2Cvblanguage&filter=alltypes&sort=lastpostdesc
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • I have an iMac OS 10.9.5 - Every time I turn on my system I get the message that it can not access icloud and to fix it using iCloud preferences. I do not want to access or use iCloud, how do I get the message to discontinue?

    I have an iMac OS 10.9.5 - Every time I turn on my system I get the message that it can not access icloud and to fix it using iCloud preferences. I do not want to access or use iCloud, how do I get the message to discontinue?

    Hello mrmacjohn,
    Verifying that any iCloud account that may be signed in is signed out should resolve this error.
    On your Mac, open iCloud preferences, then click Sign Out.
    iCloud: Change iCloud feature settings
    http://support.apple.com/kb/PH2613
    Cheers,
    Allen

Maybe you are looking for

  • No bootable device -- insert boot disk and press any key - problem

    Hi, I'm running an early-2008 MacBook (13-inch) that has previously had Windows Vista and Windows 7 installed to it through Bootcamp over the years. A few weeks ago I did a fresh reinstall of OS X Lion (10.7.5) and decided to reinstall Windows 7 as w

  • Data source for BSIS & BSAS data

    Hi Experts, Could you please let me know whcih data source will provide BSIS and BSAS tables data? Thanks in advance. Regards, Raju

  • [Problem] Noise/Rustle with iPhone headphones

    Hi guys, first of all i must apologise for my english, it is not my native language, but hopefuly you will understand what i'm saying. Second of all, this may not be a very big deal for some of you, but it is for me and i'm very sure for others too.

  • Which file to use in Develop module

    Which file should I use on the develop module? jpg? dng? raw? something else? Thanks!!

  • DVD Player in OS X Lion

    I installed OS X 10.7 (Lion) a couple of days ago. Since then, I have had trouble getting my DVD Player to work. It starts up but crashes about a minute or two into any DVD.... I am not sure what my options are. (I can download VLC and use it, but I