/usr/include/lasso/xml/strings.h is in liblasso3-dev 2.4.0-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 | /* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*
*/
/*
* This header file copy part of the SOAP 1.1 specification you can found there:
* http://www.w3.org/TR/soap12-part1/
* whom copyright is:
* Copyright © 2007 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark and
* document use rules apply.
*/
/**
* SECTION:strings
* @short_description: General strings constants for Lasso
* @include: lasso/xml/strings.h
*
**/
#ifndef __LASSO_STRINGS_H__
#define __LASSO_STRINGS_H__
#include "saml-2.0/saml2_strings.h"
#include "dsig/strings.h"
/*****************************************************************************/
/* SOAP 1.1 */
/*****************************************************************************/
/**
* LASSO_SOAP_ENV_HREF:
*
* Namespace for SOAP 1.1 messages
*
*/
#define LASSO_SOAP_ENV_HREF "http://schemas.xmlsoap.org/soap/envelope/"
/**
* LASSO_SOAP_ENV_PREFIX:
*
* Preferred prefix for namespace of SOAP 1.1 messages
*
*/
#define LASSO_SOAP_ENV_PREFIX "s"
#define LASSO_SOAP_ENV_ACTOR "http://schemas.xmlsoap.org/soap/actor/next"
/**
* LASSO_SOAP_FAULT_CODE_SERVER:
*
* Quoting from SOAP 1.1 specifications:
* « The Server class of errors indicate that the message could not be processed for reasons not
* directly attributable to the contents of the message itself but rather to the processing of the
* message. For example, processing could include communicating with an upstream processor, which
* didn't respond. The message may succeed at a later point in time. See also section 4.4 for a
* description of the SOAP Fault detail sub-element. »
*/
#define LASSO_SOAP_FAULT_CODE_SERVER "s:Server"
/**
* LASSO_SOAP_FAULT_CODE_CLIENT:
*
* Quoting from SOAP 1.1 specifications:
* « The Client class of errors indicate that the message was incorrectly formed or did not contain
* the appropriate information in order to succeed. For example, the message could lack the proper
* authentication or payment information. It is generally an indication that the message should not
* be resent without change. See also section 4.4 for a description of the SOAP Fault detail
* sub-element. »
*/
#define LASSO_SOAP_FAULT_CODE_CLIENT "s:Client"
/**
* LASSO_SOAP_FAULT_CODE_MUST_UNDERSTAND:
*
* Quoting from SOAP 1.1 specifications:
* « The processing party found an invalid namespace for the SOAP Envelope element (see section
* 4.1.2) »
*/
#define LASSO_SOAP_FAULT_CODE_MUST_UNDERSTAND "s:MustUnderstand"
/**
* LASSO_SOAP_FAULT_CODE_CLIENT:
*
* Quoting from SOAP 1.1 specifications:
* « An immediate child element of the SOAP Header element that was either not understood or not
* obeyed by the processing party contained a SOAP mustUnderstand attribute with a value of "1" (see
* section 4.2.3) »
*/
#define LASSO_SOAP_FAULT_CODE_VERSION_MISMATCH "s:VersionMismatch"
/**
* LASSO_PRIVATE_STATUS_CODE_FAILED_TO_RESTORE_ARTIFACT:
*
* An artifact content is present but Lasso failed to rebuild the corresponding XML content.
*/
#define LASSO_PRIVATE_STATUS_CODE_FAILED_TO_RESTORE_ARTIFACT "FailedToRestoreArtifact"
/*
* WS-Security Utility
*/
/**
* LASSO_WSUTIL1_HREF:
*
* Namespace for FIXME
*
*/
#define LASSO_WSUTIL1_HREF \
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
/**
* LASSO_WSUTIL1_PREFIX:
*
* Preferred prefix for namespace of FIXME
*
*/
#define LASSO_WSUTIL1_PREFIX "wsutil"
/**
* LASSO_XMLENC_HREF
*
* Namespace for xmlenc-core
*/
#define LASSO_XMLENC_HREF "http://www.w3.org/2001/04/xmlenc#"
/**
* LASSO_XMLENC_PREFIX
*
* Preferred prefix for namespace of xmlenc-core
*/
#define LASSO_XMLENC_PREFIX "xmlenc"
/*****************************************************************************/
/* Lasso */
/*****************************************************************************/
/**
* LASSO_LASSO_HREF:
*
* Namespace for Lasso internal serialization format
*/
#define LASSO_LASSO_HREF "http://www.entrouvert.org/namespaces/lasso/0.0"
/**
* LASSO_LASSO_PREFIX:
*
* Preferred prefix for the lasso internal serialization format namespace.
*/
#define LASSO_LASSO_PREFIX "lasso"
/**
* LASSO_PYHTON_HREF:
*
* Namespace for translation of Lasso symbols to the python namespace.
*/
#define LASSO_PYTHON_HREF "http://www.entrouvert.org/namespaces/python/0.0"
/**
* LASSO_SIGNATURE_TYPE_ATTRIBUTE:
*
* Attribute name for the Lasso signature type attribute.
*/
#define LASSO_SIGNATURE_TYPE_ATTRIBUTE BAD_CAST "SignatureType"
/**
* LASSO_SIGNATURE_METHOD_ATTRIBUTE:
*
* Attribute name for the Lasso signature type attribute.
*/
#define LASSO_SIGNATURE_METHOD_ATTRIBUTE BAD_CAST "SignatureMethod"
/**
* LASSO_PRIVATE_KEY_ATTRIBUTE:
*
* Attribute name for the Lasso private key attribute.
*/
#define LASSO_PRIVATE_KEY_ATTRIBUTE BAD_CAST "PrivateKey"
/**
* LASSO_PRIVATE_KEY_PASSWORD_ATTRIBUTE:
*
* Attribute name for the Lasso private key attribute.
*/
#define LASSO_PRIVATE_KEY_PASSWORD_ATTRIBUTE BAD_CAST "PrivateKeyPassword"
/**
* LASSO_CERTIFICATE_ATTRIBUTE:
*
* Attribute name for the Lasso private key attribute.
*/
#define LASSO_CERTIFICATE_ATTRIBUTE BAD_CAST "Certificate"
/*****************************************************************************/
/* Liberty Alliance ID-FF */
/*****************************************************************************/
/**
* LASSO_LIB_HREF:
*
* Namespace for the elements specific to ID-FF 1.2 (not part of SAML 1.0)
*/
#define LASSO_LIB_HREF "urn:liberty:iff:2003-08"
/**
* LASSO_LIB_PREFIX:
*
* Preferred prefix for the ID-FF 1.2 namespace
*/
#define LASSO_LIB_PREFIX "lib"
/* Versioning */
/**
* LASSO_LIB_MAJOR_VERSION_N:
*
* Major version of the ID-FF protocol supported.
*/
#define LASSO_LIB_MAJOR_VERSION_N 1
/**
* LASSO_LIB_MINOR_VERSION_N
*
* Minor version of the ID-FF protocol supported.
*/
#define LASSO_LIB_MINOR_VERSION_N 2
/* NameIDPolicyType */
/**
* LASSO_LIB_NAMEID_POLICY_TYPE_NONE:
*
* <emphasis>None</emphasis> policy for use in #LassoLibAuthnRequest. It
* means an existing federation must be used and an error should be produced if
* none existed beforehand.
*/
#define LASSO_LIB_NAMEID_POLICY_TYPE_NONE "none"
/**
* LASSO_LIB_NAMEID_POLICY_TYPE_ONE_TIME:
*
* <emphasis>Onetime</emphasis> policy for use in #LassoLibAuthnRequest. It
* means a federation must not be created between identity and service
* provider. A temporary name identifier should be used instead.
*/
#define LASSO_LIB_NAMEID_POLICY_TYPE_ONE_TIME "onetime"
/**
* LASSO_LIB_NAMEID_POLICY_TYPE_FEDERATED:
*
* <emphasis>Federated</emphasis> policy for use in #LassoLibAuthnRequest. It
* means a federation may be created between identity and service provider (if
* it didn't exist before).
*/
#define LASSO_LIB_NAMEID_POLICY_TYPE_FEDERATED "federated"
/**
* LASSO_LIB_NAMEID_POLICY_TYPE_ANY:
*
* <emphasis>Any</emphasis> policy for use in #LassoLibAuthnRequest. It means
* a federation may be created if the principal agrees and it can fall back to
* <emphasis>onetime</emphasis> if he does not.
*/
#define LASSO_LIB_NAMEID_POLICY_TYPE_ANY "any"
/* AuthenticationClassRef */
/**
* LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_INTERNET_PROTOCOL:
*
* The Internet Protocol class is identified when a Principal is authenticated through the use of a
* provided IP address.
* Source: Liberty ID-FF Authentication Context Specification v1.3
*/
#define LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_INTERNET_PROTOCOL \
"http://www.projectliberty.org/schemas/authctx/classes/InternetProtocol"
/**
* LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_INTERNET_PROTOCOL_PASSWORD:
*
* The Internet Protocol Password class is identified when a Principal is authenticated through the
* use of a provided IP address, in addition to username/password.
* Source: Liberty ID-FF Authentication Context Specification v1.3
*/
#define LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_INTERNET_PROTOCOL_PASSWORD \
"http://www.projectliberty.org/schemas/authctx/classes/InternetProtocolPassword"
/**
* LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_MOBILE_ONE_FACTOR_UNREGISTERED:
*
* Reflects no mobile customer registration procedures and an authentication of the mobile device
* without requiring explicit end-user interaction. Again, this context authenticates only the
* device and never the user, it is useful when services other than the mobile operator want to add
* a secure device authentication to their authentication process.
*
* Source: Liberty ID-FF Authentication Context Specification v1.3
*/
#define LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_MOBILE_ONE_FACTOR_UNREGISTERED \
"http://www.projectliberty.org/schemas/authctx/classes/MobileOneFactorUnregistered"
/**
* LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_MOBILE_TWO_FACTOR_UNREGISTERED:
*
* Reflects no mobile customer registration procedures and a two-factor based authentication, such
* as secure device and user PIN. This context class is useful when a service other than the mobile
* operator wants to link their customer ID to a mobile supplied two-factor authentication service
* by capturing mobile phone data at enrollment.
*
* Source: Liberty ID-FF Authentication Context Specification v1.3
*/
#define LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_MOBILE_TWO_FACTOR_UNREGISTERED \
"http://www.projectliberty.org/schemas/authctx/classes/MobileTwoFactorUnregistered"
/**
* LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_MOBILE_ONE_FACTOR_CONTRACT:
*
* Reflects mobile contract customer registration procedures and a single factor authentication. For
* example, a digital signing device with tamper resistant memory for key storage, such as the
* mobile MSISDN, but no required PIN or biometric for real-time user authentication.
*
* Source: Liberty ID-FF Authentication Context Specification v1.3
*/
#define LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_MOBILE_ONE_FACTOR_CONTRACT \
"http://www.projectliberty.org/schemas/authctx/classes/MobileOneFactorContract"
/**
* LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_MOBILE_TWO_FACTOR_CONTRACT:
*
* Reflects mobile contract customer registration procedures and a two-factor based authentication.
* For example, a digital signing device with tamper resistant memory for key storage, such as a GSM
* SIM, that requires explicit proof of user identity and intent, such as a PIN or biometric.
*
* Source: Liberty ID-FF Authentication Context Specification v1.3
*/
#define LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_MOBILE_TWO_FACTOR_CONTRACT \
"http://www.projectliberty.org/schemas/authctx/classes/MobileTwoFactorContract"
/**
* LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_PASSWORD:
*
* The Password class is identified when a Principal authenticates to an identity provider through
* the presentation of a password over an unprotected HTTP session.
*
* Source: Liberty ID-FF Authentication Context Specification v1.3
*/
#define LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_PASSWORD \
"http://www.projectliberty.org/schemas/authctx/classes/Password"
/**
* LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_PASSWORD_PROTECTED_TRANSPORT:
*
* The PasswordProtectedTransport class is identified when a Principal authenticates to an identity
* provider through the presentation of a password over a protected session.
*
* Source: Liberty ID-FF Authentication Context Specification v1.3
*/
#define LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_PASSWORD_PROTECTED_TRANSPORT \
"http://www.projectliberty.org/schemas/authctx/classes/PasswordProtectedTransport"
/**
* LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_PREVIOUS_SESSION:
*
* The PreviousSession class is identified when a Principal had authenticated to an identity
* provider at some point in the past using any authentication context supported by that identity
* provider. Consequently, a subsequent authentication event that the identity provider will assert
* to the service provider may be significantly separated in time from the Principals current
* resource access request. The context for the previously authenticated session is explicitly not
* included in this context class because the user has not authenticated during this session, and so
* the mechanism that the user employed to authenticate in a previous session should not be used as
* part of a decision on whether to now allow access to a resource.
*
* Source: Liberty ID-FF Authentication Context Specification v1.3
*/
#define LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_PREVIOUS_SESSION \
"http://www.projectliberty.org/schemas/authctx/classes/PreviousSession"
/**
* LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_SMARTCARD:
*
* The Smartcard class is identified when a Principal authenticates to an identity provider using a
* smartcard.
*
* Source: Liberty ID-FF Authentication Context Specification v1.3
*/
#define LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_SMARTCARD \
"http://www.projectliberty.org/schemas/authctx/classes/Smartcard"
/**
* LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_SMARTCARD_PKI:
*
* The SmartcardPKI class is identified when a Principal authenticates to an identity provider
* through a two-factor
authentication mechanism using a smartcard with enclosed private key and a PIN.
*
* Source: Liberty ID-FF Authentication Context Specification v1.3
*/
#define LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_SMARTCARD_PKI \
"http://www.projectliberty.org/schemas/authctx/classes/SmartcardPKI"
/**
* LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_SOFTWARE_PKI:
*
* The Software-PKI class is identified when a Principal uses an X.509 certificate stored in
* software to authenticate to the identity provider.
*
* Source: Liberty ID-FF Authentication Context Specification v1.3
*/
#define LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_SOFTWARE_PKI \
"http://www.projectliberty.org/schemas/authctx/classes/SoftwarePKI"
/**
* LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_TIME_SYNC_TOKEN:
* The TimeSyncToken class is identified when a Principal authenticates through a time
* synchronization token.
*
* Source: Liberty ID-FF Authentication Context Specification v1.3
*/
#define LASSO_LIB_AUTHN_CONTEXT_CLASS_REF_TIME_SYNC_TOKEN \
"http://www.projectliberty.org/schemas/authctx/classes/TimeSyncToken"
/* AuthnContextComparison */
/**
* LASSO_LIB_AUTHN_CONTEXT_COMPARISON_EXACT:
*
* Ask for the exact authentication context.
*/
#define LASSO_LIB_AUTHN_CONTEXT_COMPARISON_EXACT "exact"
/**
* LASSO_LIB_AUTHN_CONTEXT_COMPARISON_MINIMUM:
*
* Ask for at least this authentication context.
*/
#define LASSO_LIB_AUTHN_CONTEXT_COMPARISON_MINIMUM "minimum"
/**
* LASSO_LIB_AUTHN_CONTEXT_COMPARISON_MAXIMUM:
*
* Ask for at most this authentication context.
*/
#define LASSO_LIB_AUTHN_CONTEXT_COMPARISON_MAXIMUM "maximum"
/**
* LASSO_LIB_AUTHN_CONTEXT_COMPARISON_BETTER :
*
* Ask for a better authentication context than that.
*/
#define LASSO_LIB_AUTHN_CONTEXT_COMPARISON_BETTER "better"
/* StatusCodes */
/**
* LASSO_LIB_STATUS_CODE_FEDERATION_DOES_NOT_EXIST:
*
* <para>Second level status code.</para>
*
* Used by an identity provider to indicate that the Principal has not federated his or her identity
* with the service provider, and the service provider indicated a requirement for
federation.
*
* Source: Liberty ID-FF Protocols and Schema Specification 1.2
*/
#define LASSO_LIB_STATUS_CODE_FEDERATION_DOES_NOT_EXIST "lib:FederationDoesNotExist"
/**
* LASSO_LIB_STATUS_CODE_INVALID_ASSERTION_CONSUMER_SERVICE_INDEX:
*
* <para>Second level status code.</para>
*
* If the <AssertionConsumerServiceID> element is provided, then the identity provider <emphasis>MUST</emphasis> search
* for the value among the id attributes in the <AssertionConsumerServiceURL> elements in the
* provider’s meta- data to determine the URL to use. If no match can be found, then the provider
* <emphasis>MUST</emphasis> return an error with a second-level <samlp:StatusCode> of
* lib:InvalidAssertionConsumerServiceIndex to the default URL (the <AssertionConsumerServiceURL>
* with an isDefault attribute of "true").
*
* Source: Liberty ID-FF Protocols and Schema Specification 1.2
*/
#define LASSO_LIB_STATUS_CODE_INVALID_ASSERTION_CONSUMER_SERVICE_INDEX \
"lib:InvalidAssertionConsumerServiceIndex"
/**
* LASSO_LIB_STATUS_CODE_INVALID_SIGNATURE:
*
* <para>Second level status code.</para>
*
* Indicate a failure in the processing of the signature of the request.
* This code is not part of the ID-FF 1.2 specification.
*
*/
#define LASSO_LIB_STATUS_CODE_INVALID_SIGNATURE "lib:InvalidSignature"
/**
* LASSO_LIB_STATUS_CODE_NO_AUTHN_CONTEXT:
*
* Used by an identity provider to indicate that the specified authentication context information in
* the request prohibits authentication from taking place.
*
* Source: Liberty ID-FF Protocols and Schema Specification 1.2
*/
#define LASSO_LIB_STATUS_CODE_NO_AUTHN_CONTEXT "lib:NoAuthnContext"
/**
* LASSO_LIB_STATUS_CODE_NO_AVAILABLEIDP:
*
* Used by an intermediary to indicate that none of the supported identity provider URLs from the
* <IDPList> can be resolved or that none of the supported identity providers are available.
*
* Source: Liberty ID-FF Protocols and Schema Specification 1.2
*/
#define LASSO_LIB_STATUS_CODE_NO_AVAILABLEIDP "lib:NoAvailableIDP"
/**
* LASSO_LIB_STATUS_CODE_NO_PASSIVE:
*
* Used by an identity provider or an intermediary to indicate that authentication of the Principal
* requires interaction and cannot be performed passively.
*
* Source: Liberty ID-FF Protocols and Schema Specification 1.2
*/
#define LASSO_LIB_STATUS_CODE_NO_PASSIVE "lib:NoPassive"
/**
* LASSO_LIB_STATUS_CODE_NO_SUPPORTEDIDP :
*
* Used by an intermediary to indicate that none of the identity providers are supported by the
* intermediary.
*
* Source: Liberty ID-FF Protocols and Schema Specification 1.2
*/
#define LASSO_LIB_STATUS_CODE_NO_SUPPORTEDIDP "lib:NoSupportedIDP"
/**
* LASSO_LIB_STATUS_CODE_PROXY_COUNT_EXCEEDED :
*
* Used by an identity provider to indicate that it cannot authenticate the principal itself, and
* was not permitted to relay the request further.
*
* Source: Liberty ID-FF Protocols and Schema Specification 1.2
*/
#define LASSO_LIB_STATUS_CODE_PROXY_COUNT_EXCEEDED "lib:ProxyCountExceeded"
/**
* LASSO_LIB_STATUS_CODE_UNKNOWN_PRINCIPAL :
*
* Used by an identity provider to indicate that the Principal is not known to it.
*
* Source: Liberty ID-FF Protocols and Schema Specification 1.2
*/
#define LASSO_LIB_STATUS_CODE_UNKNOWN_PRINCIPAL "lib:UnknownPrincipal"
/**
* LASSO_LIB_STATUS_CODE_UNSIGNED_AUTHN_REQUEST :
*
* If the requesting provider’s <AuthnRequestsSigned> metadata element is "true", then any request
* messages it generates <emphasis>MUST</emphasis> be signed. If an unsigned request is received, then the provider <emphasis>MUST</emphasis>
* return an error with a second- level <samlp:StatusCode> of lib:UnsignedAuthnRequest.
*
* Source: Liberty ID-FF Protocols and Schema Specification 1.2
*/
#define LASSO_LIB_STATUS_CODE_UNSIGNED_AUTHN_REQUEST "lib:UnsignedAuthnRequest"
/**
* LASSO_LIB_STATUS_CODE_UNSUPPORTED_PROFILE :
*
* If an error occurs during this further processing of the logout (for example, relying service
* providers may not all implement the Single Logout profile used by the requesting service
* provider), then the identity provider <emphasis>MUST</emphasis> respond to the original requester with a
* <LogoutResponse> message, indicating the status of the logout request. The value
* "lib:UnsupportedProfile" is provided for a second-level <samlp:StatusCode>, indicating that a
* service provider should retry the <LogoutRequest> using a different profile.
*
* Source: Liberty ID-FF Protocols and Schema Specification 1.2
*/
#define LASSO_LIB_STATUS_CODE_UNSUPPORTED_PROFILE "lib:UnsupportedProfile"
/* ProtocolProfile */
/**
* LASSO_LIB_PROTOCOL_PROFILE_BRWS_ART:
*
* Identifies the Single Sign-On "Artifact" profile; where an artifact is
* passed from identity provider to service provider and back to get the
* #LassoLibAssertion.
*/
#define LASSO_LIB_PROTOCOL_PROFILE_BRWS_ART \
"http://projectliberty.org/profiles/brws-art"
/**
* LASSO_LIB_PROTOCOL_PROFILE_BRWS_POST:
*
* Identifies the Single Sign-On "POST" profile; where the #LassoLibAssertion
* is sent directly from the identity provider to the service provider in an
* HTML form submission message.
*/
#define LASSO_LIB_PROTOCOL_PROFILE_BRWS_POST \
"http://projectliberty.org/profiles/brws-post"
/**
* LASSO_LIB_PROTOCOL_PROFILE_BRWS_LECP:
*
* Identifies the Single Sign-On "LECP" profile; where the #LassoLibAssertion
* is sent directly from the identity provider to the service provider in a
* PAOS response. See #LassoLecp.
*
*/
#define LASSO_LIB_PROTOCOL_PROFILE_BRWS_LECP \
"http://projectliberty.org/profiles/lecp"
/**
* LASSO_LIB_PROTOCOL_PROFILE_FED_TERM_IDP_HTTP:
*
* Identifies the Federation Termination "Redirect" profile; where the request for federation
* termination is sent from the identity provider to the service provider in a redirected GET request.
*
*/
#define LASSO_LIB_PROTOCOL_PROFILE_FED_TERM_IDP_HTTP \
"http://projectliberty.org/profiles/fedterm-idp-http"
#define LASSO_LIB_PROTOCOL_PROFILE_FED_TERM_IDP_SOAP \
"http://projectliberty.org/profiles/fedterm-idp-soap"
#define LASSO_LIB_PROTOCOL_PROFILE_FED_TERM_SP_HTTP \
"http://projectliberty.org/profiles/fedterm-sp-http"
#define LASSO_LIB_PROTOCOL_PROFILE_FED_TERM_SP_SOAP \
"http://projectliberty.org/profiles/fedterm-sp-soap"
#define LASSO_LIB_PROTOCOL_PROFILE_NIM_SP_HTTP \
"http://projectliberty.org/profiles/nim-sp-http"
#define LASSO_LIB_PROTOCOL_PROFILE_RNI_IDP_HTTP "http://projectliberty.org/profiles/rni-idp-http"
#define LASSO_LIB_PROTOCOL_PROFILE_RNI_IDP_SOAP "http://projectliberty.org/profiles/rni-idp-soap"
#define LASSO_LIB_PROTOCOL_PROFILE_RNI_SP_HTTP "http://projectliberty.org/profiles/rni-sp-http"
#define LASSO_LIB_PROTOCOL_PROFILE_RNI_SP_SOAP "http://projectliberty.org/profiles/rni-sp-soap"
#define LASSO_LIB_PROTOCOL_PROFILE_SLO_SP_HTTP "http://projectliberty.org/profiles/slo-sp-http"
#define LASSO_LIB_PROTOCOL_PROFILE_SLO_SP_SOAP "http://projectliberty.org/profiles/slo-sp-soap"
#define LASSO_LIB_PROTOCOL_PROFILE_SLO_IDP_HTTP "http://projectliberty.org/profiles/slo-idp-http"
#define LASSO_LIB_PROTOCOL_PROFILE_SLO_IDP_SOAP "http://projectliberty.org/profiles/slo-idp-soap"
/* NameIdentifier formats */
/**
* LASSO_LIB_NAME_IDENTIFIER_FORMAT_FEDERATED:
*
* <emphasis>Federated</emphasis> name identifier constant, used in
* #LassoSamlNameIdentifier. It implies the name identifier belongs to
* a federation established between SP and IdP.
*/
#define LASSO_LIB_NAME_IDENTIFIER_FORMAT_FEDERATED "urn:liberty:iff:nameid:federated"
/**
* LASSO_LIB_NAME_IDENTIFIER_FORMAT_ONE_TIME:
*
* "One-time" name identifier constant, used in #LassoSamlNameIdentifier.
*/
#define LASSO_LIB_NAME_IDENTIFIER_FORMAT_ONE_TIME "urn:liberty:iff:nameid:one-time"
/**
* LASSO_LIB_NAME_IDENTIFIER_FORMAT_ENCRYPTED:
*
* "Encrypted" name identifier constant, used in #LassoSamlNameIdentifier.
*/
#define LASSO_LIB_NAME_IDENTIFIER_FORMAT_ENCRYPTED "urn:liberty:iff:nameid:encrypted"
#define LASSO_LIB_NAME_IDENTIFIER_FORMAT_ENTITYID "urn:liberty:iff:nameid:entityID"
/* Consent */
#define LASSO_LIB_CONSENT_OBTAINED "urn:liberty:consent:obtained"
#define LASSO_LIB_CONSENT_OBTAINED_PRIOR "urn:liberty:consent:obtained:prior"
#define LASSO_LIB_CONSENT_OBTAINED_CURRENT_IMPLICIT "urn:liberty:consent:obtained:current:implicit"
#define LASSO_LIB_CONSENT_OBTAINED_CURRENT_EXPLICIT "urn:liberty:consent:obtained:current:explicit"
#define LASSO_LIB_CONSENT_UNAVAILABLE "urn:liberty:consent:unavailable"
#define LASSO_LIB_CONSENT_INAPPLICABLE "urn:liberty:consent:inapplicable"
/*****************************************************************************/
/* METADATA */
/*****************************************************************************/
/* prefix & href */
/**
* LASSO_METADATA_HREF:
*
* Namespace for ID-FF 1.2 metadatas.
*
*/
#define LASSO_METADATA_HREF "urn:liberty:metadata:2003-08"
/**
* LASSO_METADATA_PREFIX:
*
* Preferred prefix for ID-FF 1.2 metadata namespace.
*/
#define LASSO_METADATA_PREFIX "md"
/*****************************************************************************/
/* SAML */
/*****************************************************************************/
/* prefix & href */
/**
* LASSO_SAML_ASSERTION_HREF:
*
* Namespace for SAML 1.0 assertion elements.
*/
#define LASSO_SAML_ASSERTION_HREF "urn:oasis:names:tc:SAML:1.0:assertion"
/**
* LASSO_SAML_ASSERTION_PREFIX:
*
* Preferred prefix for assertion elements.
*/
#define LASSO_SAML_ASSERTION_PREFIX "saml"
/**
* LASSO_SAML_PROTOCOL_HREF:
*
* Namespace for SAML 1.0 protocol elements.
*/
#define LASSO_SAML_PROTOCOL_HREF "urn:oasis:names:tc:SAML:1.0:protocol"
/**
* LASSO_SAML_PROTOCOL_PREFIX:
*
* Preferred prefix for assertion elements.
*/
#define LASSO_SAML_PROTOCOL_PREFIX "samlp"
/* Versioning */
/**
* LASSO_SAML_MAJOR_VERSION_N:
*
* Major version number of the SAML specification used for ID-FF support in Lasso.
*/
#define LASSO_SAML_MAJOR_VERSION_N 1
/**
* LASSO_SAML_MINOR_VERSION_N:
*
* Minor version number of the SAML specification used for ID-FF support in Lasso.
*/
#define LASSO_SAML_MINOR_VERSION_N 1
/* First level StatusCodes */
/**
* LASSO_SAML_STATUS_CODE_SUCCESS:
*
* A protocol request succeeded.
*/
#define LASSO_SAML_STATUS_CODE_SUCCESS "samlp:Success"
/**
* LASSO_SAML_STATUS_CODE_VERSION_MISMATCH:
*
* Request failed, because the version is not supported by the provider. Look at second level status
* for more details.
*/
#define LASSO_SAML_STATUS_CODE_VERSION_MISMATCH "samlp:VersionMismatch"
/**
* LASSO_SAML_STATUS_CODE_REQUESTER:
*
* Request failed because of the requester. Look at second level status for more details.
*/
#define LASSO_SAML_STATUS_CODE_REQUESTER "samlp:Requester"
/**
* LASSO_SAML_STATUS_CODE_RESPONDER:
*
* Request failed because of the responder. Look at second level status for more details.
*/
#define LASSO_SAML_STATUS_CODE_RESPONDER "samlp:Responder"
/* Second level status codes */
/**
* LASSO_SAML_STATUS_CODE_REQUEST_VERSION_TOO_HIGH:
*
* Request failed because the version of protocol used is too high.
* Used with #LASSO_SAML_STATUS_CODE_VERSION_MISMATCH.
*/
#define LASSO_SAML_STATUS_CODE_REQUEST_VERSION_TOO_HIGH "samlp:RequestVersionTooHigh"
/**
* LASSO_SAML_STATUS_CODE_REQUEST_VERSION_TOO_LOW:
*
* Request failed because the version of protocol used is too low.
* Used with #LASSO_SAML_STATUS_CODE_VERSION_MISMATCH.
*/
#define LASSO_SAML_STATUS_CODE_REQUEST_VERSION_TOO_LOW "samlp:RequestVersionTooLow"
/**
* LASSO_SAML_STATUS_CODE_REQUEST_VERSION_DEPRECATED:
*
* Request failed because the version of protocol used is deprecated.
* Used with #LASSO_SAML_STATUS_CODE_VERSION_MISMATCH.
*/
#define LASSO_SAML_STATUS_CODE_REQUEST_VERSION_DEPRECATED "samlp:RequestVersionDeprecated"
/**
* LASSO_SAML_STATUS_CODE_TOO_MANY_RESPONSES:
*
* Request failed because too many data should be returned.
* Used with #LASSO_SAML_STATUS_CODE_RESPONDER.
*/
#define LASSO_SAML_STATUS_CODE_TOO_MANY_RESPONSES "samlp:TooManyResponses"
/**
* LASSO_SAML_STATUS_CODE_RESOURCE_NOT_RECOGNIZED:
*
* Request failed because the responder does not wish to support resource-specific attribute
* queries, or the resource value provided is invalid or unrecognized.
* Use with #LASSO_SAML_STATUS_CODE_RESPONDER.
*/
#define LASSO_SAML_STATUS_CODE_RESOURCE_NOT_RECOGNIZED "samlp:ResourceNotRecognized"
/**
* LASSO_SAML_STATUS_CODE_REQUEST_DENIED:
*
* The SAML responder or SAML authority is able to process the request but has chosen not to
* respond. This status code MAY be used when there is concern about the security context of the
* request message or the sequence of request messages received from a particular requester.
*
* Source: Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) V1.1
*
*/
#define LASSO_SAML_STATUS_CODE_REQUEST_DENIED "samlp:RequestDenied"
/* AuthenticationMethods */
/**
* LASSO_SAML_AUTHENTICATION_METHOD_PASSWORD:
*
* The authentication was performed by means of a password.
*/
#define LASSO_SAML_AUTHENTICATION_METHOD_PASSWORD "urn:oasis:names:tc:SAML:1.0:am:password"
/**
* LASSO_SAML_AUTHENTICATION_METHOD_KERBEROS:
*
* The authentication was performed by means of the Kerberos protocol [RFC 1510], an instantiation
* of the Needham-Schroeder symmetric key authentication mechanism [Needham78].
*
*/
#define LASSO_SAML_AUTHENTICATION_METHOD_KERBEROS "urn:ietf:rfc:1510"
/**
* LASSO_SAML_AUTHENTICATION_METHOD_SECURE_REMOTE_PASSWORD:
*
* The authentication was performed by means of Secure Remote Password protocol as specified in [RFC
* 2945].
*
*/
#define LASSO_SAML_AUTHENTICATION_METHOD_SECURE_REMOTE_PASSWORD "urn:ietf:rfc:2945"
/**
* LASSO_SAML_AUTHENTICATION_METHOD_HARDWARE_TOKEN:
*
* The authentication was performed using some (unspecified) hardware token.
*/
#define LASSO_SAML_AUTHENTICATION_METHOD_HARDWARE_TOKEN \
"urn:oasis:names:tc:SAML:1.0:am:HardwareToken"
/**
* LASSO_SAML_AUTHENTICATION_METHOD_SMARTCARD_PKI:
*
* The authentication was performed using either the SSL or TLS protocol with certificate-based
* client authentication. TLS is described in [RFC 2246].
*
*/
#define LASSO_SAML_AUTHENTICATION_METHOD_SMARTCARD_PKI "urn:ietf:rfc:2246"
/**
* LASSO_SAML_AUTHENTICATION_METHOD_SOFTWARE_PKI:
*
* The authentication was performed by some (unspecified) mechanism on a key authenticated by means
* of an X.509 PKI [X.500][PKIX]. It may have been one of the mechanisms for which a more specific
* identifier has been defined below.
*
*/
#define LASSO_SAML_AUTHENTICATION_METHOD_SOFTWARE_PKI "urn:oasis:names:tc:SAML:1.0:am:X509-PKI"
/**
* LASSO_SAML_AUTHENTICATION_METHOD_PGP:
*
* The authentication was performed by some (unspecified) mechanism on a key authenticated by means
* of a PGP web of trust [PGP]. It may have been one of the mechanisms for which a more specific
* identifier has been defined below.
*
*/
#define LASSO_SAML_AUTHENTICATION_METHOD_PGP "urn:oasis:names:tc:SAML:1.0:am:PGP"
/**
* LASSO_SAML_AUTHENTICATION_METHODS_PKI:
*
* The authentication was performed by some (unspecified) mechanism on a key authenticated by means
* of a PGP web of trust [PGP]. It may have been one of the mechanisms for which a more specific
* identifier has been defined below.
*
*/
#define LASSO_SAML_AUTHENTICATION_METHODS_PKI "urn:oasis:names:tc:SAML:1.0:am:SPKI"
/**
* LASSO_SAML_AUTHENTICATION_METHOD_XKMS:
*
* The authentication was performed by some (unspecified) mechanism on a key authenticated by means
* of a PGP web of trust [PGP]. It may have been one of the mechanisms for which a more specific
* identifier has been defined below.
*
*/
#define LASSO_SAML_AUTHENTICATION_METHOD_XKMS "urn:oasis:names:tc:SAML:1.0:am:XKMS"
/**
* LASSO_SAML_AUTHENTICATION_METHOD_XMLD_SIG:
*
* The authentication was performed by means of an XML digital signature [RFC 3075].
*/
#define LASSO_SAML_AUTHENTICATION_METHOD_XMLD_SIG "urn:ietf:rfc:3075"
/**
* LASSO_SAML_AUTHENTICATION_METHOD_UNSPECIFIED:
*
* The authentication was performed by an unspecified means.
*/
#define LASSO_SAML_AUTHENTICATION_METHOD_UNSPECIFIED \
"urn:oasis:names:tc:SAML:1.0:am:unspecified"
/**
* LASSO_SAML_AUTHENTICATION_METHOD_LIBERTY:
*
*
* The authentication was performed by a liberty alliance protocol.
*/
#define LASSO_SAML_AUTHENTICATION_METHOD_LIBERTY "urn:liberty:ac:2003-08"
/* ConfirmationMethods */
/**
* LASSO_SAML_CONFIRMATION_METHOD_ARTIFACT:
*
* Confirmation method when the browser-artifact binding is used.
*/
#define LASSO_SAML_CONFIRMATION_METHOD_ARTIFACT "urn:oasis:names:tc:SAML:1.0:cm:artifact"
/**
* LASSO_SAML_CONFIRMATION_METHOD_ARTIFACT01:
*
*
* Deprecated confirmation method when the browser-artifact binding is used.
*/
#define LASSO_SAML_CONFIRMATION_METHOD_ARTIFACT01 "urn:oasis:names:tc:SAML:1.0:cm:artifact-01"
/**
* LASSO_SAML_CONFIRMATION_METHOD_BEARER:
*
* Confirmation method when subject of the assertion is the one holding it.
*/
#define LASSO_SAML_CONFIRMATION_METHOD_BEARER "urn:oasis:names:tc:SAML:1.0:cm:bearer"
/**
* LASSO_SAML_CONFIRMATION_METHOD_HOLDER_OF_KEY:
*
* A ds:KeyInfo must be present in the SubjecConfirmation element. It <emphasis>MUST</emphasis> be
* used to confirm assertion subject identity.
*/
#define LASSO_SAML_CONFIRMATION_METHOD_HOLDER_OF_KEY \
"urn:oasis:names:tc:SAML:1.0:cm:holder-of-key"
/**
* LASSO_SAML_CONFIRMATION_METHOD_SENDER_VOUCHES:
*
* Indicates that no other information is available about the context of use of the assertion. The
* relying party
* <emphasis>SHOULD</emphasis> utilize other means to determine if it should process the assertion further.
*
*/
#define LASSO_SAML_CONFIRMATION_METHOD_SENDER_VOUCHES \
"urn:oasis:names:tc:SAML:1.0:cm:sender-vouches"
/*****************************************************************************/
/* POAS BINDING */
/*****************************************************************************/
/**
* LASSO_PAOS_HREF:
*
* Namespace for FIXME
*
*/
#define LASSO_PAOS_HREF "urn:liberty:paos:2003-08"
/**
* LASSO_PAOS_PREFIX:
*
* Preferred prefix for namespace of FIXME
*
*/
#define LASSO_PAOS_PREFIX "paos"
/*****************************************************************************/
/* ECP BINDING */
/*****************************************************************************/
/**
* LASSO_ECP_HREF:
*
* Namespace for FIXME
*
*/
#define LASSO_ECP_HREF "urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp"
/**
* LASSO_ECP_PREFIX:
*
* Preferred prefix for namespace of FIXME
*
*/
#define LASSO_ECP_PREFIX "ecp"
/*****************************************************************************/
/* Others */
/*****************************************************************************/
/* xsi prefix & href */
/**
* LASSO_XSI_HREF:
*
* Namespace for FIXME
*
*/
#define LASSO_XSI_HREF "http://www.w3.org/2001/XMLSchema-instance"
/**
* LASSO_XSI_PREFIX:
*
* Preferred prefix for namespace of FIXME
*
*/
#define LASSO_XSI_PREFIX "xsi"
#endif /* __LASSO_STRINGS_H__ */
|