Home > Default > Connecting to an URL with a username and password?

Connecting to an URL with a username and password?

November 30Hits:0
Advertisement
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?

Answers

See http://www.javaworld.com/javatips/jw-javatip47.html

Read other 2 answers

Tags:

Related Articles

  • 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

  • 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

  • Suddenly can't connect to Yahoo email?  "Incorrect username or password".October 11

    I thought I was past all the email headaches I've had with the X. Its certainly not a Blackberry...lol Everything has been working fine for the last month and now all of a sudden it wont connect to Yahoo. I've tried removing the account and setting i

  • 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]:

  • How to use boot.properties to bypass username and password entry in WLST while connecting to server?November 30

    I'm currently writing a script that starts managed servers through WLST and I want it to avoid having the user enter their username and password similar to how startManagedWebLogic.sh does when a boot.properties file exists in the security directory

  • Username and Password authenticationNovember 30

    Hi, I am new to both JDBC and MSSQL. I've been connecting to msSQL server without providing username and password (DriverManager.getConnection(String url)). I am wondering how to enforce the username and password authentication so that username and p

  • Leopard prompts for 802.1X username and password instead of WEP passwordNovember 30

    hey! so i got leopard on friday and i haven't been able to connect to my wireless properly since. i have an old D-Link DI-624 (Revision B) router that i have protected with a WEP password. in tiger i never had any problems with this, but now instead

  • Invalid Username or PasswordNovember 30

    I have been logging into BT FON hotspot regularly in the Bicester area without any problems. However, when I tried to connect recently it reports that my Username or Password are not valid. I have been using the same Username & Password successfully

  • 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

  • Data import from EBS failed via FDMEE in fdm . Getting error message as "Error connecting to AIF URL.October 11

    FDM Data import from EBS failed via FDMEE after roll back the 11.1.2.3.500 patch . Getting below error message in ERPI Adapter log. *** clsGetFinData.fExecuteDataRule @ 2/18/2015 5:36:17 AM *** PeriodKey = 5/31/2013 12:00:00 AM PriorPeriodKey = 4/30/

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