OpenSAML provides org.opensaml.security.credential.Credential and multiple implementations to cover various useful cases. Spring Security instead provides org.springframework.security.saml2.core.Saml2X509Credential with much more restricted functionality. However, internally Spring just uses the Saml2X509Credential to build a Credential.
Expected Behavior Ability to do something like this:
Current Behavior Currently have to do something like this:
Context
OpenSAML provides
org.opensaml.security.credential.Credential
and multiple implementations to cover various useful cases. Spring Security instead providesorg.springframework.security.saml2.core.Saml2X509Credential
with much more restricted functionality. However, internally Spring just uses theSaml2X509Credential
to build aCredential
.