I have introduced the spring saml extension into our web application which is acting as the SP.
I have some basic code working with ssocircle as the IDP. The samlEntryPoint is configured with an intercept-url that is causing redirects to the IDP to login when no SAMLCredentials exist. When the user has SAML credentials they proceed as expected.

When the intercept-url is hit, I also want to also pass some additional data along which I need after authentication completes. I see that there is a relay state parameter, but i am not clear on how to use it or if it is indeed what i am looking for. I have seen the existing post on relay state, but that isn't exactly clear to me.

Ideally, the additional data i need would be POSTed to the intercept-url ... but i am not really sure if things can be made to work this way. Any thoughts on how to do this would be much appreciated.