How to pass username and password for authentication in URL?

Posted by Maggie on Stack Overflow See other posts from Stack Overflow or by Maggie
Published on 2010-05-20T22:02:49Z Indexed on 2010/05/20 22:10 UTC
Read the original article Hit count: 224

Filed under:

Hi there.

I need to pass the user name and password in the URL for a REST web services call.

I know that if I pass it this way in Firefox, it works:

https://{UserName}:{Password}@api.opsourcecloud.net/oec/0.9/myaccount

Is there a proper way to pass user name and password aside from the above example?

It's a Spring Security Context?

© Stack Overflow or respective owner

Related posts about spring-security