I want to implement Single sign on Websphere-Liberty server using Java. I want to authenticate users using LDAP.
I searched a lot but could not find exact example. I have checked each available example on stack overflow as well. but no luck.
It would be great if one can provide demo or example code for the same.
Thanks in advance.
update : I was able to implement the same with the help of waffle.. but waffle doesn't work with Linux/Unix. .. can anyone please help me?
1 Answers
Answers 1
If you're using LDAP, the authentication can be passed off like Basic. If you know the username and password, append the header "Authorization" with the value "Basic base64_token".
The base64 token is a string that is base64 encoded with your username and password in the format username:password. Ideally, this should work. Let me know if it doesn't work. In that case, we can explore options using SPNEGO.
0 comments:
Post a Comment