2 * Copyright 2001-2009 Internet2
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 * MetadataProviderCriteria.cpp
20 * Extended criteria for metadata lookup for Shibboleth-aware metadata providers.
24 #include "metadata/MetadataProviderCriteria.h"
26 using namespace shibsp;
27 using namespace opensaml::saml2md;
28 using opensaml::SAMLArtifact;
29 using namespace xmltooling;
31 MetadataProviderCriteria::MetadataProviderCriteria(const Application& app) : application(app)
35 MetadataProviderCriteria::MetadataProviderCriteria(
36 const Application& app, const XMLCh* id, const xmltooling::QName* q, const XMLCh* prot, bool valid
37 ) : MetadataProvider::Criteria(id, q, prot, valid), application(app)
41 MetadataProviderCriteria::MetadataProviderCriteria(
42 const Application& app, const char* id, const xmltooling::QName* q, const XMLCh* prot, bool valid
43 ) : MetadataProvider::Criteria(id, q, prot, valid), application(app)
47 MetadataProviderCriteria::MetadataProviderCriteria(
48 const Application& app, const SAMLArtifact* a, const xmltooling::QName* q, const XMLCh* prot, bool valid
49 ) : MetadataProvider::Criteria(a, q, prot, valid), application(app)
53 MetadataProviderCriteria::~MetadataProviderCriteria()