Home > Default > Opening an URL that needs username and password

Opening an URL that needs username and password

November 30Hits:0
Advertisement
Hello
I need to open an URL that needs an username and a password. I can open a normal URL like this:
URL direccion = new URL("http://169.254.30.3:554/modules/admin.htm");
I tried:
URL direccion = new URL("http://username:[email protected]:554/modules/admin.htm");
but it does not work. (If I write this in my browser it works)
Can you help me please?
Thanks

Answers

Look here:
http://java.sun.com/j2se/1.4.2/docs/api/java/net/Authenticator.html

Read other 2 answers

Tags:

Related Articles

  • URL reporting - Hide username and passwordOctober 11

    Hi all, I am trying to display a report when a  link is clicked by a user,I know this can be achieved by URL reporting.But any one who trys view the source of the file will be able to get the login information(aps-username/aps-password) from the file

  • Opening an URL that needs username and passwordNovember 30

    Hello I need to open an URL that needs an username and a password. I can open a normal URL like this: URL direccion = new URL("http://169.254.30.3:554/modules/admin.htm"); I tried: URL direccion = new URL("http://username:[email protected]:

  • Connecting to an URL with a username and password?November 30

    hey, I was trying to connect to a URL using: URL url = new URL("http://%20:[email protected]/Status.htm"); but it gets the 401 access denied page... Does anyone know how to get it to login correctly?See http://www.javaworld.com/javatips/jw-javat

  • Hiding usernames and passwordsNovember 30

    We are attempting to access a form through a URL link from a web page. The URL contains the username and password, but we would like to hide this. We are on Forms 6i patchset 8. Reports has a mechanism of hiding usernames in the url by altering the c

  • How do i send the username and password to yahoo web page through urlOctober 11

    how do i send the username and password to yahoo web page through url i.e as Query string so that my account in yahoo will open...If you don't mind using a library, then download and use the Apache HttpClient library. It takes care of all these detai

  • When using a URL it always asks for a username and passwordOctober 11

    I’ve just started using the Windows version of OracleXE.exe with Apex3.1 and I would like to create a menu web-page holding a list of URL’s that can be configured by inserting records into a simple table. I am having problems with multiple authentica

  • Prompting for UserName and Password when I click Report Server Web Service URLs in ssrs 2008 R2October 11

    Hi All,              I am using SQL Server Reporting services 2008 R2 . When I tried to open report server webservice URL in SSRS 2008 R2 It is prompting username and password. I tried to resolve the issue by deleting the <!-- <RSWindowsNegotiate/&g

  • Passing portal username and password as parameters in URL iview.October 11

    Hi Gurus, i Have Created URL iView. i want to send the Username and password of portal to this url , how can i access the portal username and password. Note: tried with j_user and j_password Regards K Naveen KishoreHi, Jigar Oza Thanks for u r reply,

  • Hiding Username and Password in Web Report URLOctober 11

    Hi there, I am calling a report from my webforms using the WEB.SHOW_DOCUMENT built-in. The problem is that when using this, when the report or the parameter form is being displayed on the browser, the username and password is also displayed on the br

  • Entering username and password in URL, 4400g, v5.2 ??October 11

    Hi, I am trying to display contents of a website which requires me to login each time i exit the webpage. Is there a way to include the username and password in the url itself or is there a way to change the DMP web account to match the username and

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 15 q. 0.781 s.