I tried doing a resp.redirect to the site passing the information in the
following way:
https://username:[EMAIL PROTECTED]/something.nsf

This works in Netscape but not in IE.  IE prompts you for the username and
password.

If you hit cancel on the Domino log in dialog, the URL that it's trying to
redirect to is displayed in the URL line.  If you click on the URL line and
manually press return (like if you were entering the address manually), it
works.

PLEASE HELP!

---------------------- Forwarded by Jeffrey D Curry/TPS/PGH/PNC on 06/16/99
12:42 PM ---------------------------


"Jeffrey D. Curry" <[EMAIL PROTECTED]> on 06/16/99 08:35:07 AM

Please respond to "A mailing list for discussion about Sun Microsystem's Java
      Servlet API Technology." <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Jeffrey D Curry/TPS/PGH/PNC)
Subject:  Re: Pass authentication info to a Domino server through Servlets?




Let me re-describe my problem.

I log into our secure Netscape web site which uses servlets.

I have a link within my secure site that points to a Domino server through a
secure reverse-proxy.  (same URL, different port).

e.g.  My netscape site is https://mainsite.com and my domino reverse proxy is
https://mainsite.com:4972

Can I use the URLConnection routines to somehow authenticate and then just
redirect to that same page that I authenticated with?

Thanks

jdc

---------------------- Forwarded by Jeffrey D Curry/TPS/PGH/PNC on 06/16/99
08:29 AM ---------------------------


"Doug Turner" <[EMAIL PROTECTED]> on 06/15/99 09:28:05 PM

To:   Jeffrey D Curry/TPS/PGH/PNC@PNC
cc:
Subject:  Re: Pass authentication info to a Domino server through Servlets?




Well...the problem is a Domino problem.  In order to use JDBC-ODBC to talk
to Notes (the NotesSQL product), or the Notes Java classes, you have to
have a valid Notes id.  If that id is password protected, AFAIK, you *will*
get prompted for the password.  I have only been able to come up with 2
ways around this:

Servers can have 2 id's: one for the server, which should be password
protected, and one for client access, which can have limits imposed on what
it can do, and doesn't have to be password protected.

Also, you can use Domino server agents as "stored procedures" and invoke
them from your servlet through a URL
(http://my.dominoserver.com/database.nsf/MyAgent?OpenAgent).  The agents
run with the security of the Domino server, and could be written to return
their results in a simplified HTTP/HTML format, that would be easy for your
servlet to parse.

Both of these approaches are kludgy: I don't think this is the way to go
for a large-scale, mission-critical application.

Hope this helps.

----------
> From: Jeffrey D. Curry <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Pass authentication info to a Domino server through Servlets?
> Date: Tuesday, June 15, 1999 5:00 PM
>
> I want to access a secure Domino database without getting prompted for a
> username and password.  Can I do this using servlets?
> Thanks
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to