File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android 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.
subject: Opening secured URL connection
Similar Threads
How to secure web resource in WebSphere 3.5?
Posting info from java through SSL to a servlet
How Java is secured
setting principle in request object