1
/* $Id: strings.h,v 1.21 2004/08/21 12:49:30 valos Exp $
3
* Lasso - A free implementation of the Liberty Alliance specifications.
5
* Copyright (C) 2004 Entr'ouvert
6
* http://lasso.entrouvert.org
8
* Authors: Nicolas Clapies <nclapies@entrouvert.com>
9
* Valery Febvre <vfebvre@easter-eggs.com>
11
* This program is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation; either version 2 of the License, or
14
* (at your option) any later version.
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
21
* You should have received a copy of the GNU General Public License
22
* along with this program; if not, write to the Free Software
23
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
#ifndef __LASSO_STRINGS_H__
27
#define __LASSO_STRINGS_H__
29
/*****************************************************************************/
31
/*****************************************************************************/
34
#define lassoLassoHRef "http://www.entrouvert.org/namespaces/lasso/0.0"
35
#define lassoLassoPrefix "lasso"
37
/*****************************************************************************/
38
/* Liberty Alliance */
39
/*****************************************************************************/
42
#define lassoLibHRef "urn:liberty:iff:2003-08"
43
#define lassoLibPrefix "lib"
46
#define lassoLibMajorVersion "1"
47
#define lassoLibMinorVersion "2"
49
/* NameIDPolicyType */
50
#define lassoLibNameIDPolicyTypeNone "none"
51
#define lassoLibNameIDPolicyTypeOneTime "onetime"
52
#define lassoLibNameIDPolicyTypeFederated "federated"
53
#define lassoLibNameIDPolicyTypeAny "any"
55
/* AuthnContextComparison */
56
#define lassoLibAuthnContextComparisonExact "exact"
57
#define lassoLibAuthnContextComparisonMinimum "minimum"
58
#define lassoLibAuthnContextComparisonBetter "better"
61
#define lassoLibStatusCodeFederationDoesNotExist "lib:FederationDoesNotExist"
62
#define lassoLibStatusCodeInvalidAssertionConsumerServiceIndex "lib:InvalidAssertionConsumerServiceIndex"
63
#define lassoLibStatusCodeInvalidSignature "lib:InvalidSignature"
64
#define lassoLibStatusCodeNoAuthnContext "lib:NoAuthnContext"
65
#define lassoLibStatusCodeNoAvailableIDP "lib:NoAvailableIDP"
66
#define lassoLibStatusCodeNoPassive "lib:NoPassive"
67
#define lassoLibStatusCodeNoSupportedIDP "lib:NoSupportedIDP"
68
#define lassoLibStatusCodeProxyCountExceeded "lib:ProxyCountExceeded"
69
#define lassoLibStatusCodeUnknownPrincipal "lib:UnknownPrincipal"
70
#define lassoLibStatusCodeUnsignedAuthnRequest "lib:UnsignedAuthnRequest"
71
#define lassoLibStatusCodeUnsupportedProfile "lib:UnsupportedProfile"
74
#define lassoLibProtocolProfileBrwsArt "http://projectliberty.org/profiles/brws-art"
75
#define lassoLibProtocolProfileBrwsPost "http://projectliberty.org/profiles/brws-post"
76
#define lassoLibProtocolProfileFedTermIdpHttp "http://projectliberty.org/profiles/fedterm-idp-http"
77
#define lassoLibProtocolProfileFedTermIdpSoap "http://projectliberty.org/profiles/fedterm-idp-soap"
78
#define lassoLibProtocolProfileFedTermSpHttp "http://projectliberty.org/profiles/fedterm-sp-http"
79
#define lassoLibProtocolProfileFedTermSpSoap "http://projectliberty.org/profiles/fedterm-sp-soap"
80
#define lassoLibProtocolProfileRniIdpHttp "http://projectliberty.org/profiles/rni-idp-http"
81
#define lassoLibProtocolProfileRniIdpSoap "http://projectliberty.org/profiles/rni-idp-soap"
82
#define lassoLibProtocolProfileRniSpHttp "http://projectliberty.org/profiles/rni-sp-http"
83
#define lassoLibProtocolProfileRniSpSoap "http://projectliberty.org/profiles/rni-sp-soap"
84
#define lassoLibProtocolProfileSloSpHttp "http://projectliberty.org/profiles/slo-sp-http"
85
#define lassoLibProtocolProfileSloSpSoap "http://projectliberty.org/profiles/slo-sp-soap"
86
#define lassoLibProtocolProfileSloIdpHttp "http://projectliberty.org/profiles/slo-idp-http"
87
#define lassoLibProtocolProfileSloIdpSoap "http://projectliberty.org/profiles/slo-idp-soap"
89
/* NameIdentifier formats */
90
#define lassoLibNameIdentifierFormatFederated "urn:liberty:iff:nameid:federated"
91
#define lassoLibNameIdentifierFormatOneTime "urn:liberty:iff:nameid:one-time"
92
#define lassoLibNameIdentifierFormatEncrypted "urn:liberty:iff:nameid:encrypted"
93
#define lassoLibNameIdentifierFormatEntityID "urn:liberty:iff:nameid:entityID"
96
#define lassoLibConsentObtained "urn:liberty:consent:obtained"
97
#define lassoLibConsentUnavailable "urn:liberty:consent:unavailable"
98
#define lassoLibConsentInapplicable "urn:liberty:consent:inapplicable"
100
/*****************************************************************************/
102
/*****************************************************************************/
105
#define lassoMetadataHRef "urn:liberty:metadata:2003-08"
106
#define lassoMetadataPrefix "md"
108
/*****************************************************************************/
110
/*****************************************************************************/
113
#define lassoSamlAssertionHRef "urn:oasis:names:tc:SAML:1.0:assertion"
114
#define lassoSamlAssertionPrefix "saml"
115
#define lassoSamlProtocolHRef "urn:oasis:names:tc:SAML:1.0:protocol"
116
#define lassoSamlProtocolPrefix "samlp"
119
#define lassoSamlMajorVersion "1"
120
#define lassoSamlMinorVersion "1"
123
#define lassoSamlStatusCodeRequestDenied "samlp:RequestDenied"
124
#define lassoSamlStatusCodeSuccess "samlp:Success"
126
/* AuthenticationMethods */
127
#define lassoSamlAuthenticationMethodPassword "urn:oasis:names:tc:SAML:1.0:am:password"
128
#define lassoSamlAuthenticationMethodKerberos "urn:ietf:rfc:1510"
129
#define lassoSamlAuthenticationMethodSecureRemotePassword "urn:ietf:rfc:2945"
130
#define lassoSamlAuthenticationMethodHardwareToken "urn:oasis:names:tc:SAML:1.0:am:HardwareToken"
131
#define lassoSamlAuthenticationMethodSmartcardPki "urn:ietf:rfc:2246"
132
#define lassoSamlAuthenticationMethodSoftwarePki "urn:oasis:names:tc:SAML:1.0:am:X509-PKI"
133
#define lassoSamlAuthenticationMethodPgp "urn:oasis:names:tc:SAML:1.0:am:PGP"
134
#define lassoSamlAuthenticationMethodSPki "urn:oasis:names:tc:SAML:1.0:am:SPKI"
135
#define lassoSamlAuthenticationMethodXkms "urn:oasis:names:tc:SAML:1.0:am:XKMS"
136
#define lassoSamlAuthenticationMethodXmlDSig "urn:ietf:rfc:3075"
137
#define lassoSamlAuthenticationMethodUnspecified "urn:oasis:names:tc:SAML:1.0:am:unspecified"
139
/* ConfirmationMethods */
140
#define lassoSamlConfirmationMethodArtifact01 "urn:oasis:names:tc:SAML:1.0:cm:artifact-01"
141
#define lassoSamlConfirmationMethodBearer "urn:oasis:names:tc:SAML:1.0:cm:bearer"
142
#define lassoSamlConfirmationMethodHolderOfKey "urn:oasis:names:tc:SAML:1.0:cm:holder-of-key"
143
#define lassoSamlConfirmationMethodSenderVouches "urn:oasis:names:tc:SAML:1.0:cm:sender-vouches"
145
/*****************************************************************************/
147
/*****************************************************************************/
150
#define lassoSoapEnvHRef "http://schemas.xmlsoap.org/soap/envelope/"
151
#define lassoSoapEnvPrefix "soap-env"
153
/*****************************************************************************/
155
/*****************************************************************************/
157
/* xsi prefix & href */
158
#define lassoXsiHRef "http://www.w3.org/2001/XMLSchema-instance"
159
#define lassoXsiPrefix "xsi"
161
#endif /* __LASSO_STRINGS_H__ */