Move Shib constants to new lib, fixed symbol conflicts.
[shibboleth/cpp-sp.git] / shibsp / SPConstants.h
1 /*
2  *  Copyright 2001-2006 Internet2
3  * 
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 /**
18  * @file shibsp/SPConstants.h
19  * 
20  * Shibboleth SP XML constants. 
21  */
22
23 #ifndef __shibsp_constants_h__
24 #define __shibsp_constants_h__
25
26 #include <saml/util/SAMLConstants.h>
27
28 /**
29  * Shibboleth SP XML constants.
30  */
31 namespace shibspconstants {
32
33     /**  Shibboleth Metadata XML namespace ("urn:mace:shibboleth:metadata:1.0") */
34     extern SHIBSP_API const XMLCh SHIBMD_NS[];
35
36     /** Shibboleth Metadata QName prefix ("shibmd") */
37     extern SHIBSP_API const XMLCh SHIBMD_PREFIX[];
38
39     /** Shibboleth 1.x Protocol Enumeration constant ("urn:mace:shibboleth:1.0") */
40     extern SHIBSP_API const XMLCh SHIB1_PROTOCOL_ENUM[];
41
42     /** Shibboleth 1.x URI AttributeNamespace constant ("urn:mace:shibboleth:1.0:attributeNamespace:uri") */
43     extern SHIBSP_API const XMLCh SHIB1_ATTRIBUTE_NAMESPACE_URI[];
44
45     /** Shibboleth 1.x transient NameIdentifier Format constant ("urn:mace:shibboleth:1.0:nameIdentifier") */
46     extern SHIBSP_API const XMLCh SHIB1_NAMEID_FORMAT_URI[];
47
48     /** Shibboleth 1.x AuthnRequest binding/profile ("urn:mace:shibboleth:1.0:profiles:AuthnRequest") */
49     extern SHIBSP_API const XMLCh SHIB1_AUTHNREQUEST_PROFILE_URI[];
50
51     /** Shibboleth 1.3 SessionInit binding/profile ("urn:mace:shibboleth:sp:1.3:SessionInit") */
52     extern SHIBSP_API const XMLCh SHIB1_SESSIONINIT_PROFILE_URI[];
53
54     /** Shibboleth 1.3 Local Logout binding/profile ("urn:mace:shibboleth:sp:1.3:Logout") */
55     extern SHIBSP_API const XMLCh SHIB1_LOGOUT_PROFILE_URI[];
56 };
57
58 #endif /* __shibsp_constants_h__ */