Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Possible to programatically set basic auth realm,userid/password in browser client cache

by Excalibor (Pilgrim)
on Jul 14, 2003 at 20:28 UTC ( [id://274150]=note: print w/replies, xml ) Need Help??


in reply to Possible to programatically set basic auth realm,userid/password in browser client cache

What you're trying to do looks a lot like a web proxy.

Have your users authenticated on a webform, and create a cookie (with crypto info about the user and login time) you can send them back, and that's accepted by the other webs.

Then tell the webs that do not comply that they must accept the cookie way of authentication (via proxy) if they want to be integrated. Been there, done that. Some complained, but in the end everybody was just happy to 'integrate themselves' for the added value of a kind of single sign-on.

Good luck,

--
our $Perl6 is Fantastic;

  • Comment on Re: Possible to programatically set basic auth realm,userid/password in browser client cache
  • Download Code

Replies are listed 'Best First'.
Re: Re: Possible to programatically set basic auth realm,userid/password in browser client cache
by q_the_eskimo (Initiate) on Jul 15, 2003 at 13:16 UTC
    Thanks to both of your for the responses. I think I am still kind of stuck. One set of menu items as far as I can tell REQUIRES basic authentication. These are Oracle PL/SQl procedures which run on the Apache server with mod_plsql.

    The other set of menu items are Oracle WebForms which require the loginid and password be passed via the url (post hides the details).

    The maddening thing is that the userid and passwords are the same between the two products, if only I could either preload the browser for the basic auth items or read the values after basic auth so I can pass them to the url based authenticated items. I was hoping a perl based menu would allow this.

    So my dilemma remains that I cannot replace the authentication with a proxy web server since I can't control the basic authentication requiring items as far as I can tell.

    Thanks again for your responses. -quinn

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://274150]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-18 01:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found