aspose file tools
The moose likes Java in General and the fly likes Basic Authentication usung URLConnection in java Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Basic Authentication usung URLConnection in java" Watch "Basic Authentication usung URLConnection in java" New topic
Author

Basic Authentication usung URLConnection in java

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 8795

Guys,

I have to connect to a URL which expects the caller to be authenticated using a Basic Realm authentication mechanism. When I tried connecting so, it still throws me out saying that I'm not authenticated.

Below is what I'm trying:



SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Basic Authentication usung URLConnection in java
 
Similar Threads
HTTPAuthentication SSO
Need to see how HTTP Works
Automated HTTP Session
JDBC Exception in JNDI lookup
ConcurrentModificationException during ObjectOutputStream.writeObject()