SAML-Toolkits / java-saml

Java SAML toolkit
MIT License
634 stars 398 forks source link

Extract the context classes (AuthnContextClassRef) from the response #421

Open richard-smith-preservica opened 5 months ago

richard-smith-preservica commented 5 months ago

We have a use case that means we need to reject SAML logins that didn't have the right authentication mode from the IDP, but with some application logic rather than just rejecting the assertion.

This seems like potentially useful downstream information for library users anyway.