Spring security SAML and SAML attributes
I need to integrate a spring application with an existing SAML IDP requesting some custom SAML attributes to be set in the SAML authentication request.
I've tried with the spring security SAML extension but I couldn't find a way to set SAML attributes in the SAML authentication request.
Can someone give me a hint?
SAML AuthenticationRequest doesn't support any standard way to send attributes towards IDP. The only place for inclusion of such data is the Extensions element. You can customize content sent in the created AuthnRequest by overriding method "protected AuthnRequest getAuthnRequest(...)" in the WebSSOProfileImpl.
I think that you should ask your IDP for an example of an authentication request they expect and work from that.
Tags for this Thread