aa38656adfbe65f44ace07b1419cc31d916e5297
[shibboleth/cpp-xmltooling.git] / xmltooling / security / CredentialContext.h
1 /*
2  *  Copyright 2001-2009 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 xmltooling/security/CredentialContext.h
19  * 
20  * Marker interface for implementations which hold information specific to a
21  * particular context within which a CredentialResolver resolves a Credential.
22  */
23
24 #if !defined(__xmltooling_credctx_h__) && !defined(XMLTOOLING_NO_XMLSEC)
25 #define __xmltooling_credctx_h__
26
27 #include <xmltooling/base.h>
28
29 namespace xmltooling {
30
31     /**
32      * Marker interface for implementations which hold information specific to a
33      * particular context within which a CredentialResolver resolves a Credential.
34      */
35     class XMLTOOL_API CredentialContext
36     {
37         MAKE_NONCOPYABLE(CredentialContext);
38     protected:
39         CredentialContext();
40         
41     public:
42         virtual ~CredentialContext();
43         
44     };
45 };
46
47 #endif /* __xmltooling_credctx_h__ */