Feb 19th, 2013, 04:06 PM
Spring SAML Integration authentication extended info (RelayState?)
I am integrating SAML authentication into my application, and need extra parameters to load the user info from our DB after getting the authentication response.
These are typically entered as URL parameters in the original request, and I need them to load the user.
I originally was thinking of using "relayState" in my application since it is supposed to get passed back by the IDP untouched, and then use them in an UserDetailsService implemenation I provide to the SAMLAuthenticationProvider.
I know there is a "success handler" that uses relayState as a URL, but my data is not an URL.
I can't seem to find any support for setting the relayState in the authorization request to the IDP?
Is there a better way to do this?