diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-09-11 15:51:38 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-09-11 15:51:38 +0000 |
| commit | 8f6e7dcb4920e0561bd9892abf4d4facbc553e82 (patch) | |
| tree | 01aac507e855c9a23e71cd84440cb9e743f551a1 | |
| parent | b6abc9895e4e0ccf07cf2db63285e6458b74ff7f (diff) | |
ID-WSF: fix duplication of namespace string declaration, add fault codes for WS-Security
* lasso/xml/strings.h:
namespace of WS-Security 1.0 was duplicated,
add specified fault code linked to WS-Security.
| -rw-r--r-- | lasso/xml/strings.h | 92 |
1 files changed, 73 insertions, 19 deletions
diff --git a/lasso/xml/strings.h b/lasso/xml/strings.h index 64edeee3..dc7d9250 100644 --- a/lasso/xml/strings.h +++ b/lasso/xml/strings.h @@ -1432,7 +1432,7 @@ /** * LASSO_WSSE1_HREF: * - * Namespace for FIXME + * Namespace for WS-Security 1.0 * */ #define LASSO_WSSE1_HREF \ @@ -1440,12 +1440,83 @@ /** * LASSO_WSSE1_PREFIX: * - * Preferred prefix for namespace of FIXME + * Preferred prefix for namespace of WS-Security 1.0 * */ #define LASSO_WSSE1_PREFIX "wsse" /** + * LASSO_WSSE11_HREF: + * + * Namespace for WS-Security 1.1 + */ +#define LASSO_WSSE11_HREF \ + "http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" + +/* LASSO_WSSE11_PREFIX: + * + * Preferred prefix for namespace of WS-Security 1.1 + * + */ +#define LASSO_WSSE11_PREFIX "wsse" + +/** + * LASSO_WSSE_SECEXT_FAULT_CODE_UNSUPPORTED_SECURITY_TOKEN: + * + * Fault code for WS-Security tokens handling + */ +#define LASSO_WSSE_SECEXT_FAULT_CODE_Unsupported_Security_Token \ + "wsse:UnsupportedSecurityToken" + +/** + * LASSO_WSSE_SECEXT_FAULT_CODE_UNSUPPORTED_ALGORITHM: + * + * Fault code for WS-Security tokens handling + */ +#define LASSO_WSSE_SECEXT_FAULT_CODE_Unsupported_Algorithm \ + "wsse:UnsupportedAlgorithm" + +/** + * LASSO_WSSE_SECEXT_FAULT_CODE_INVALID_SECURITY: + * + * Fault code for WS-Security tokens handling + */ +#define LASSO_WSSE_SECEXT_FAULT_CODE_Invalid_Security \ + "wsse:InvalidSecurity" + +/** + * LASSO_WSSE_SECEXT_FAULT_CODE_INVALID_SECURITY_TOKEN: + * + * Fault code for WS-Security tokens handling + */ +#define LASSO_WSSE_SECEXT_FAULT_CODE_Invalid_Security_Token \ + "wsse:InvalidSecurityToken" + +/** + * LASSO_WSSE_SECEXT_FAULT_CODE_FAILED_AUTHENTICATION: + * + * Fault code for WS-Security tokens handling + */ +#define LASSO_WSSE_SECEXT_FAULT_CODE_FAILED_AUTHENTICATION \ + "wsse:FailedAuthentication" + +/** + * LASSO_WSSE_SECEXT_FAULT_CODE_FAILED_CHECK: + * + * Fault code for WS-Security tokens handling + */ +#define LASSO_WSSE_SECEXT_FAULT_CODE_FAILED_CHECK \ + "wsse:FailedCheck" + +/** + * LASSO_WSSE_SECEXT_FAULT_CODE_SECURITY_TOKEN_UNAVAILABLE: + * + * Fault code for WS-Security tokens handling + */ +#define LASSO_WSSE_SECEXT_FAULT_CODE_SECURITY_TOKEN_UNAVAILABLE \ + "wsse:SecurityTokenUnavailable" + +/** * LASSO_WSUTIL1_HREF: * * Namespace for FIXME @@ -1477,23 +1548,6 @@ */ #define LASSO_WSA_PREFIX "wsa" -/* WS-Security - 2004/01 */ -/** - * LASSO_WSSE_200401_HREF: - * - * Namespace for FIXME - * - */ -#define LASSO_WSSE_200401_HREF \ - "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" -/** - * LASSO_WSSE_200401_PREFIX: - * - * Preferred prefix for namespace of FIXME - * - */ -#define LASSO_WSSE_200401_PREFIX "wsse" - /* WS-Utility */ /** * LASSO_WSU_HREF: |
