I use SAML tokens for authentication against the REST-ful set of services, putting the SAML token in the Authorization header.
I cannot find anything there that suggests that there is a standard way to do this. For example, I use:
Authorization: Bearer <EncryptedAssertion ...
or
Authorization: Bearer PEVuY3J5cHRlZEFzc2VydGlvbiAuLi4=
or
Authorization: SAML PEVuY3J5cHRlZEFzc2VydGlvbiAuLi4=
or something else?
Please note that the first one does not work if there are several components of the name in the certificate (since the comma will ruin the header parsing).
The fact that I'm using Bearer says nothing about the token format.
Apache CXF seems to use the third option.
Which one is standard? Is there a standard? If not, is there a de facto standard?
rest saml
Roger Lipscombe
source share