SAML-Toolkits / java-saml

Java SAML toolkit
MIT License
634 stars 398 forks source link

Show error in jsp #361

Open achimmihca opened 3 years ago

achimmihca commented 3 years ago

I was playing around with the sample project and this IdP mock: https://github.com/bjorns/mock-idp

The mock-idp had some minor issues which caused exceptions during authentication. These exceptions were not immediately visible. I added a try catch to print out such errors.

Of course, in a production environment such errors should be handled more carefully. However, I think it makes the sample project easier to get started with (when errors occur).