This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Opening secured URL connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Opening secured URL connection" Watch "Opening secured URL connection" New topic

Opening secured URL connection

Tiger Scott
Ranch Hand

Joined: Mar 01, 2001
Posts: 223
How can you open a secured URL connection to an URL?
maateen ashraf
Ranch Hand

Joined: Jan 08, 2001
Posts: 122
the secured connection just depends upon the protocol u r using
urlconnection uses http as protocol
what u have to do for secure connection is to use https as protocol

Tiger Scott
Ranch Hand

Joined: Mar 01, 2001
Posts: 223
How to open a secured connection using HTTPS is my question. The only syntax I know is url.openconnection(). I am not aware of any options here.
I agree. Here's the link:
subject: Opening secured URL connection
Similar Threads
Posting info from java through SSL to a servlet
How to secure web resource in WebSphere 3.5?
How Java is secured
setting principle in request object