Passing userid/password from Html ,directly to a service

Hi
Could somebody help me with this. I have a service which can be accessed by a ACL setup by me.Now I need to invoke this service from HTML clinet and I do not want a pop-up (asking for usename/password) to pop-up, i need to pass the userid/password from the html directly to the service(possibly as hidden or user intput), can somebody help me ,as to how I can do this.
Thanks

You can try something like this

http://UserId:Pword@Servername:port/invoke/ServiceName.

This will work but since the uid and Pwd are in plain text your Security persons wont allow this way of invoking the service.

Hope this will help you.
Muru.