Solved

connect to a URL using Basic authentication

Posted on 2014-01-31
13
201 Views
Last Modified: 2014-03-10
Hi,
I am trying below example
http://www.avajava.com/tutorials/lessons/how-do-i-connect-to-a-url-using-basic-authentication.html?page=1

I was not able to get to linksys screen. How to fix the issue.
please advise
Any links resources ideas highly appreciated. Thanks in advance
0
Comment
Question by:gudii9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
13 Comments
 
LVL 14

Expert Comment

by:CPColin
ID: 39825476
This question may be silly, but do you have a Linksys router and is it running its web interface at http://192.168.1.1? If not, it's not surprising you couldn't see that screen.
0
 
LVL 7

Author Comment

by:gudii9
ID: 39854644
I have Linksys router. How to find web interface URL like http://192.168.1.1 for that?
Please advise.
0
 
LVL 14

Expert Comment

by:CPColin
ID: 39854666
If navigating to that URL times out, then your router is not listening at that IP address. You'll have to consult the manual for your router for more information. If you can't use that URL, you should be able to find an example URL that uses basic authentication by searching around on the web.
0
Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

 
LVL 7

Author Comment

by:gudii9
ID: 39857065
If you can't use that URL, you should be able to find an example URL that uses basic authentication by searching around on the web

which URL I can use. Please advise
0
 
LVL 14

Expert Comment

by:CPColin
ID: 39857084
Using your favorite search engine, searching around for things like "basic authentication example" should get you what you're looking for.
0
 
LVL 7

Author Comment

by:gudii9
ID: 39867827
when i search 'basic authentication example java'

I see lot of links. I am looking for simple java application without any servlet or web application, ejb etc which i could not find yet.


https://www.google.com/search?q=basic+authentication+example&rls=com.microsoft:en-us&ie=UTF-8&oe=UTF-8&startIndex=&startPage=1#q=basic+authentication+example+java&rls=com.microsoft:en-us


Please advise
0
 
LVL 14

Expert Comment

by:CPColin
ID: 39867927
Maybe "basic authentication example" was a bad set of terms. I searched for "basic authentication test" and found several good test URL's within the first couple of results.
0
 
LVL 7

Author Comment

by:gudii9
ID: 39878679
https://www.google.com/#q=basic+authentication+test

I searched in google as above. I do not see any simple straight forward example there. Please advise
0
 
LVL 14

Expert Comment

by:CPColin
ID: 39878746
The very first page listed includes an example URL that you can use to practice: http://browserspy.dk/password-ok.php
0
 
LVL 7

Author Comment

by:gudii9
ID: 39889304
I will try from home below link and let you know

http://browserspy.dk/password.php

You must use the following login information to login into the page password-ok.php
Username test
Password test

so i just need to go to that page
and enter username, pasword as test, test
That will basically Find out if my browser supports HTTP Basic Authentication also known as password protection right?
0
 
LVL 14

Expert Comment

by:CPColin
ID: 39889334
Yes.
0
 
LVL 7

Author Comment

by:gudii9
ID: 39917952
Is it is server that is supposed to support the basic authentication or the browser. please advise
0
 
LVL 14

Accepted Solution

by:
CPColin earned 500 total points
ID: 39917981
The server tells the client that authentication is required. The client asks the user for credentials, then sends them to the server. The server responds by either allowing the request to go through or giving an error code that says the user is not authorized.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question