Simulate Basic authenfication with cookie

M

michael

Hi all,

I want to do some kind of SSO in my webapps, so I want to put a
Principal in my request. I could do so by generating a cookie, which
contain the simulation of the Basic authentification : "Basic
encodedBase64(user:password)", then the reverse proxy and so on will
fill in the request.

My pb is : the space after "Basic" is transformed in %20 when i create
the cookie.

Does someone simulate basic authentification with cookie ? How could i
fix it ?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top