Add missing urn constants used in PAOS HTTP header
The new OASIS "SAML V2.0 Enhanced Client or Proxy Profile Version 2.0" specification added new options that can appear in the PAOS HTTP header. Section 2.3.1 enumerates the following URN options which can appear in the PAOS HEADER: urn:oasis:names:tc:SAML:protocol:ext:channel-binding urn:oasis:names:tc:SAML:2.0:cm:holder-of-key urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp:2.0:WantAuthnRequestsSigned urn:oasis:names:tc:SAML:2.0:conditions:delegation Of these only the holder-of-key was previously defined in Lasso, this patch adds the other 3 constants. License: MIT Signed-off-by: John Dennis <jdennis@redhat.com>
This commit is contained in:
parent
eaabf4c611
commit
eadc660d35
|
@ -414,4 +414,13 @@
|
|||
#define LASSO_SAML2_ATTRIBUTE_PROFILE_UUID "urn:oasis:names:tc:SAML:2.0:profiles:attribute:UUID"
|
||||
#define LASSO_SAML2_ATTRIBUTE_PROFILE_DCE "urn:oasis:names:tc:SAML:2.0:profiles:attribute:DCE"
|
||||
|
||||
/* SAML 2.0 SSO Profile */
|
||||
|
||||
#define LASSO_SAML2_ECP_PROFILE_WANT_AUTHN_SIGNED "urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp:2.0:WantAuthnRequestsSigned"
|
||||
|
||||
/* SAML 2.0 Conditions */
|
||||
|
||||
#define LASSO_SAML2_CONDITIONS_DELEGATION "urn:oasis:names:tc:SAML:2.0:conditions:delegation"
|
||||
|
||||
|
||||
#endif /* __LASSO_SAML2_STRINGS_H__ */
|
||||
|
|
|
@ -927,6 +927,16 @@
|
|||
#define LASSO_SAML_CONFIRMATION_METHOD_SENDER_VOUCHES \
|
||||
"urn:oasis:names:tc:SAML:1.0:cm:sender-vouches"
|
||||
|
||||
/* Extensions */
|
||||
|
||||
/**
|
||||
* LASSO_SAML_EXT_CHANNEL_BINDING:
|
||||
*
|
||||
* Indicates support for channel binding
|
||||
*
|
||||
*
|
||||
#define LASSO_SAML_EXT_CHANNEL_BINDING "urn:oasis:names:tc:SAML:protocol:ext:channel-binding"
|
||||
|
||||
/*****************************************************************************/
|
||||
/* POAS BINDING */
|
||||
/*****************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue