SSL authentication in Applet, the next step?

Hi,
In the following code:
     private RssReader rssReader;
     private void createFeed() {
          rssReader = new RssReader("https://{username}:{password}@{domain}/mymon/index.php?{anaction}=rss.showrss&server_id=&ident=&statusnr=2&block=7&wwwauth=1");
          System.out.println ("TlsModel.createFeed; rssReader created");
          rssReader.readRSSFeed();
          System.out.println ("TlsModel.createFeed; read Feed");
     }I got the following error:
TlsModel.createFeed; rssReader created
IOException java.io.IOException: Server returned HTTP response code: 401 for URL: https://{username}:{password}@{domain}/mymon/index.php?{anaction}=rss.showrss&server_id=&ident=&statusnr=2&block=7&wwwauth=1
-1
TlsModel.createFeed; read FeedWe configured the feeder to allow "username" to read the feed. But still the 401 server response. What would you suggest I don now?
TIA,
Abel
Edited by: Abel on Jan 18, 2008 8:36 AM
Changed title

I have been reading the 'JSSE Reference Guide for Java SE 6' document (http://java.sun.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html).
What I can't seem to wrap my head around is what I need to do in a client (the Applet mentioned in the previous post) to authenticate. I know it should be possible, as there is a getNeedClientAuth() (Returns true if the socket will require client authentication) method in javax.net.ssl.SSLSocket.
So, through what hoop do I need to jump through to be able to authenticate a user in the Applet?
Background:
I want to read the contents of a RSS Feed coming from a https page. The user of the Applet needs to authenticate him/herself using his/her username and password.

Similar Messages

  • I am trying to restore a phone on iTunes, but the setup page doesn't go on to the next step. What do I do?

    My iPhone 4S was stolen, so until I could get or buy another, I am using my husband's old 3GS.  When I connect to iTunes, the left column recognizes the phone. Then I see the Setup page.  It asks whether you have a new phone to add, or restore from a previous backup of my original 4S.  I click restore from back up and click continue.  It restores the 3GS, but the page doesnt move on to the next step.  I have restored multiple times.  The page/screen stays the same.  What should I do? Am I doing something wrong?

    You could follow the instructions in the support document that you linked from. There is a section regarding the passcode and the inability to use it or enter it. However, you may encounter more issues since you cannot use the screen.

  • What is the next step after editing or triming a video ? What type of file format to save and what to do after that ?

    what is the next step after editing or triming a video?
    what type of file format should be save and what to do after that?

    In the early days of digital video editing, an export render could take hours!  Not many applications are as hard on system resources as video editing, and rendering the final edit is probably the most system intense action of all.  
    Head on over to the Premiere Pro Hardware forum to see what sort of computer hardware the pros use for NLE (non linear editing), or to the PPBM5 site for a better look.
    PPBM5 Benchmark
    Also check out the specs on the Video Guys website

  • My iphone is activated in my computer but not on iphone whats the next step

    my iphone is activated in my computer but not on iphone whats the next step

    It sounds to me like you either got defective parts or otherwise did not make the repair correctly. We cannot help  with self-repairs here, the iPhone officially not user servicable, but you can ask for advice in the forums on ifixit.com, a site which is dedicated to those attempting their own repairs.
    Regards.

  • Once I receive my Network Access Code(N.A.C.) for iphone 5 what are the next steps I follow to unlock my phone from vodafone to use on another network???

    Once I recieve my Network Access Code(NAC) for my iPhone 5, what are the next steps I follow to unlock it from vodafone to use on another network???
    I have my other nano sim ready and waiting to port my number to it, but im just waiting on vodafone to email me the NAC code, which i checked up that I was eligible for!!!

    Ok many thanks for telling me this BUT 1 last thing, once vodafone get back to me then is it just a matter of plugging my iphone into itunes and letting it sync? Like will a message be displayed or anything on screen letting me know or confirming that the phone has been unlocked...???

  • Hi there. I bought and downloaded photoshop elements 13 today. When I tried to set it up and was prompted for the serial number, the one I was given and subsequently entered ( correctly ,I checked numerous times) was seems invalid. What's the next step?!

    hi there, I bought and downloaded Adobe photoshop elemts 13 today. When trying to set it up, I was prompted for the serial number which upon being entered was deemed invalid. I know the serial number is the correct one. What is the next step, how do I contact Adobe store?!?

    Error "The serial number is not valid for this product" | Creative Suite
    if that doesn't help, contact adobe support by clicking here and, when available, click 'still need help', https://helpx.adobe.com/contact.html

  • I downloaded Mountain Lion in my  i have macbook pro retina display last month.  but I don't get airplay the option on my macbook.  I went to display preferences, but the airplay is not available.  What is the next step?

    I downloaded Mountain Lion in my  i have macbook pro retina display last month.  but I don't get airplay the option on my macbook.  I went to display preferences, but the airplay is not available.  What is the next step?

    You also need:
    Apple TV (2nd or 3rd generation) with software update v5.0 or later.

  • What is the next step after ABAP ? Need resources for SAP structure

    Hello,
    I have learned ABAP and now it is time to use it to write SAP programs. But what is the next step?
    From where can I get information about SAP tables to proceed?
    I have 2 ABAP books but they only provide the syntax for ABAP. After learning that, I am finding trouble in knowing on which objects/tables to apply it on.
    For example, I want to know that when I use the CV01n to create a file, what happens in terms of internal SAP tables?
    If I select multiple files in the search result "CV04N" which table should I access to get these selected files?
    Basically does anyone know where I can find such resources in order to understand how to proceed in developing SAP application ?
    Regards.

    Hi HASSAN,
        For Learning the Business part of  ABAP, (That is what is missing for you i.e the tables and their relations), i would suggest you to take one module at a time.
    Like MM(Material management) or SD(Sales and distribution) etc.
    Refer this link to know the business part of the SAP:
    MM:
    http://help.sap.com/saphelp_47x200/helpdata/en/96/df293581dc1f79e10000009b38f889/frameset.htm
    SD:
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/55f33e545a11d1a7020000e829fd11/frameset.htm
    Regards,
    Ravi

  • After creating a object of bapi what is the next step to do to create bapi

    after creating a object of bapi what is the next step to do to create bapi  completely,
    thank you,
    Regards,
    Jagrut BharatKumar Shukla

    Please check the link..
    http://www.erpgenie.com/abap/bapi/example.htm

  • In the installation process lion will not install as message  reads MAC HD 904 gb available this disk is used for time machine backups .What is the next step

    After downloading ,completing the lic agreement phase, the next step is where to install and automatically' MAC HD with 904 gb available this disk is used for time machine backups' is shown and installation is blocked .
    Any body got any idea what to do next ?

    Time machine needs its own partition to operate. So you are not going install a OSx Lion on that volume.
    If there is enough room you may be able to partition the drive on the fly with DiskUtility
    Are you saying you clean installed Lion and you are trying to move your user Data over with TM via the migration Assistant?  Please explain.

  • What is the next step to learn acoustic guitar after the basic garage band

    I have basic garageband that came with my iMac  and I want to know what is the next step up to be taught acoustic guitar?

    A good teacher will help you learn faster, PRACTICE!

  • HT201441 Hi I bought a second-hand phone iphone4, I update the software when you want to activate the phone asked for my registration icloud I do not know what is the password for this registration, can you tell me how to go to the next step without such

    Hi I bought a second-hand phone iphone4, I update the software when you want to activate the phone asked for my registration icloud I do not know what is the password for this registration, can you tell me how to go to the next step without such registration in icloud
    my ICCID is 8935905000307066111

    Unfortunately, you cannot do very much with your phone unless you get assistance from the previous owner, they should either provide you with the password to unlock it or remove their account from the phone entirely remotely through iCloud.com > Find My Phone.

  • Hi there, I have an older version of 10.5.8. What is the next step to upgrade to the latest version of 10.9 Maverick

    Hi there, I have an older version of 10.5.8. What is the next step to upgrade to the latest version of 10.9 Maverick?
    Thanks in Advance

    If yours is a PPC iMac (G4 or G5) you cannot upgrade further.
    If it is an Intel iMac:
    Start by checking if you can run Snow Leopard:
    Requirements for OS X 10.6 'Snow Leopard'
    http://support.apple.com/kb/SP575
    (NB: PowerPC applications can still be run in Snow Leopard using Rosetta, but they will not work in later versions of OS X.)
    The OS 10.6 Snow Leopard install DVD is available for $19.99 from the Apple Store:
    http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    and in the UK:
    http://store.apple.com/uk/product/MC573/mac-os-x-106-snow-leopard
    When you have installed it, run Software Update to download and install the latest updates for Snow Leopard to bring it up to 10.6.8, or download the combo update from here:
    http://support.apple.com/kb/DL1399
    Check via Software Update whether any further updates are required, particularly to iTunes.
    You should now see the App Store icon in iTunes, and you now need to set up your account:
    http://support.apple.com/kb/HT4479
    You can now upgrade to Mavericks OS 10.9 for free IF you have one of the following Macs, with not less than 2GB of RAM, and at least 8GB of available space on your hard drive:
    iMac (Mid-2007 or later)
    MacBook (13-inch Aluminum, Late 2008), (13-inch, Early 2009 or later)
    MacBook Pro (13-inch, Mid-2009 or later), (15-inch, Mid/Late 2007 or later), (17-inch, Late 2007 or later)
    MacBook Air (Late 2008 or later)
    Mac Mini (Early 2009 or later)
    Mac Pro (Early 2008 or later)
    Xserve (Early 2009)
    iCloud system requirements:
    http://support.apple.com/kb/ht4759
    If you cannot run Mavericks you can purchase the code to use to download Lion from the App Store (Lion requires an Intel-based Mac with a Core 2 Duo, i3, i5, i7 or Xeon processor and 2GB of RAM, running the latest version of Snow Leopard):
    http://store.apple.com/us/product/D6106Z/A/os-x-lion
    or Mountain Lion:
    http://store.apple.com/us/product/D6377Z/A/os-x-mountain-lion

  • HT201442 What is the next step if the above does not work?

    What is the next step if following the steps on the web site does not work?

    You take that step, what ever it tells you, when you get there.
    No reason to project....

  • What is the Next Step after MCSE

    I need to know what is the Next Step after MCSE massaging ?
    and what is the top certificate in Microsoft

    Hey Mohamed,
    I agree with Danny, he explained perfectly. 
    MCSE Certification is the highest in servers, DB, etc. .. (except from Office where different certifications)
    MASTER degree have now only for Microsoft Office. 
    See all qualifications for office following link 
    https://www.microsoft.com/learning/en-us/office-certification.aspx 
    Or details of the MASTER link 
    https://www.microsoft.com/learning/en-us/mos-master-certification.aspx
    Please Mark This As Answer if it helps to solve the issue
    Tzuri Ben Ezra | My Certifications:
    CompTIA A+ ,Microsoft MCP, MCTS, MCSA, MCITP
    |
    FaceBook: Tzuri FaceBook | vCard:
    Tzuri vCard | 
    Microsoft ID:
    Microsoft Transcript 
     |

Maybe you are looking for

  • VPN Problems ASA 5505 to 7206 Router MM_WAIT_MSG2

    Hi Since I swapped a Pix Firewall for a Cisco ASA 5505 Firewall at one of our Sites the VPN Tunnel wont come up I'm getting this: asaXXXXX# sho crypto isakmp sa    Active SA: 1     Rekey SA: 0 (A tunnel will report 1 Active and 1 Rekey SA during reke

  • DVD to my CP

    Does anyone know how to copy a dvd to your cp's hardrive?

  • Controller connectivity fluctuates

    Hi, One of our subsidaries have a anchor controller setup. They have main controllers and second controller which anchors to the main controller to tunnel the traffic. They are seeing, frequent disconnections on the second controller. logs as below a

  • How can I set ACLs on MAC remote volumes.

    Hi, I am having Mac OS X 10.5 leopard as server and 10.4 as client. I have mounted 10.5 server from 10.4 remotely through Apple Filing Protocol(Basically an AFP mount). On the remote mounted volumes I am unable to enable/set the ACLs right now. But I

  • Archiving -Balance sheet GLs

    Hi , We have done the archiving with archiving object FI_document for the year 2009. But i am not able to tally the open value  as on today for the GLs which are not managed as open item ( i.e only line item based.) But for customer , vendor and Gls