🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8377

Re: https

#8377
From: Paul Furbacher [TeamB]
Date: Wed, 28 Mar 2001 06:14
31 lines
2115 bytes
Carsten Elshoff wrote:

> does anyone have any experience in setting up a https connection? I know
> I have to use JSSE as an additional package and I've found some examples
> coming with it. But maybe someone knows some sort of small tutorial on
> how to access a restricted web site (username/password) via https?!

I'm assuming that you are talking about providing a login Web page
which is accessed securely from within a Web browser.

HTTPS is handled by the browser and your Web/App server 
(Apache/Tomcat, Weblogic, WebSphere, IIS/Tomcat, etc.).  
So, all you need to do is to create the URLs for
secure and non-secure pages accordingly, and configure your
Web/App server properly to listen for HTTPS requests.  That 
means that for a text/button which links to your login page, you
provide the URL:

  <a href="https://www.mycorp.com/login">Login</a>

as opposed to a non-secure request

  <a href="http://www.mycorp.com/companyInfo">Company info</a>


Incidentally, this question more properly belongs in either
the "servlets-jsp" (server side related issues) or "enterprise"
(more server-side issues).


Paul Furbacher (TeamB)
Technical Details
Message-ID: <3AC18155.602A3E9C@mac.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!world!bloom-beacon.mit.edu!howland.erols.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!24.9.87.144
References: <3AB9BBE8.5C6831CE@cm-and-ce.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,b9ebadb3b83465af
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-27 22:42:02 PST
Message-ID: <3AC18155.602A3E9C@mac.com>
Date: Wed, 28 Mar 2001 01:14:45 -0500
From: "Paul Furbacher [TeamB]" <pfurbacher@mac.com>
Reply-To: pfurbacher@mac.com
Organization: Reverse Alchemy, Inc.
X-Mailer: Mozilla 4.75C-CCK-MCD {C-UDP; EBM-APPLE} (Macintosh; U; PPC)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: https
References: <3AB9BBE8.5C6831CE@cm-and-ce.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.9.87.144
X-Trace: 27 Mar 2001 22:14:47 -0800, 24.9.87.144
Lines: 31
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!world!bloom-beacon.mit.edu!howland.erols.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!24.9.87.144