This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

HTTP Status 401 - Authentication Failed:Error validating SAML message

Jan 30th, 2012, 11:45 AM

Hello,

I have modified the web example of saml to hook unti Shibboleth 2.3.5 as an IDP. Everything is running on one machine. For Authentication, used ldap with one user to authenticate against. Everything works and and I get the login screen to enter my credentials. After entering correcrt credentials, the logs do show that I get authenticated and a principal is created. Bt then I get the message in the title above "HTTP Status 40 -..." in the browser.
Here is a snapshot the Shibboleth's log before sending the message back to user:

Comment

Can you explain it to me for more detail?. I have a problem like this: I can do SSO on localhost but when I deploy my project to real server (on the internet) it does not work and return 401 error. Please help me for this problem.