I think this is a browser-intern thing. A person looking over 
your shoulder could read it. But IE will translate this into a 
just normal request. There's no difference to a request where IE 
had asked for credentials. From within your servlet you will not 
even be able to realize it.

On 6 Dec 2002 at 19:04, Andreas Probst wrote:

> Hi Mike,
> 
> try http://name:pass@www.....
> 
> How do you know the password?
> 
> Andreas
> 
> On 6 Dec 2002 at 8:33, J Doe wrote:
> 
> > 
> > Background: Consider two webapps: foo and bar.  When a
> > user of foo performs a certain action, foo shares
> > files with bar by calling actions on each other via
> > HTTP.
> > 
> > We are being asked to put a memory realm on foo and
> > bar so that users must login. The problem is that now
> > the above system-level communication between foo and
> > bar will break.
> > 
> > Question: if one knows the username and password for a
> > webapp, can it be placed on the URL?
> > 
> > E.g.
> > http://mydomain.com:8080/foo?username=x&password=y
> > 
> > I've tried this but no luck.
> > 
> > More generally, is there a way to do it with the
> > java.net URL class?  
> > 
> > Any ideas?  I realize that perhaps foo and bar could
> > communicate in a different way (RMI, JMS) but that is
> > not really an option for us.
> > 
> > thanks,
> > Mike
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> > http://mailplus.yahoo.com
> > 
> > --
> > To unsubscribe, e-mail:  
> > <mailto:[EMAIL PROTECTED]> For
> > additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]> For
> additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to