X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=saml%2Fbinding%2FSOAPClient.h;h=34d29104e2b089049ee9e31f88267a815d6781d3;hb=f1208cd2f514700244816377443c4951dc22c848;hp=3fc9fd1d2c83c12195afb36cb8edb8538d73fcfa;hpb=c072b75e6f6e05e24a1c35b952008b38d0d375c1;p=shibboleth%2Fcpp-opensaml.git diff --git a/saml/binding/SOAPClient.h b/saml/binding/SOAPClient.h index 3fc9fd1..34d2910 100644 --- a/saml/binding/SOAPClient.h +++ b/saml/binding/SOAPClient.h @@ -1,17 +1,21 @@ -/* - * Copyright 2001-2009 Internet2 - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at +/** + * Licensed to the University Corporation for Advanced Internet + * Development, Inc. (UCAID) under one or more contributor license + * agreements. See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. * - * http://www.apache.org/licenses/LICENSE-2.0 + * UCAID licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the + * License at * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific + * language governing permissions and limitations under the License. */ /** @@ -23,13 +27,16 @@ #ifndef __saml_soap11client_h__ #define __saml_soap11client_h__ -#include +#include #include namespace opensaml { class SAML_API SecurityPolicy; + namespace saml2md { + class SAML_API MetadataCredentialCriteria; + }; /** * Specialized SOAPClient for SAML SOAP bindings. @@ -44,7 +51,7 @@ namespace opensaml { */ SOAPClient(SecurityPolicy& policy); - virtual ~SOAPClient() {} + virtual ~SOAPClient(); /** * Controls whether to force transport/peer authentication via an X509TrustEngine. @@ -53,9 +60,7 @@ namespace opensaml { * * @param force true iff the client should refuse to communicate without this protection */ - void forceTransportAuthentication(bool force=true) { - m_force = force; - } + void forceTransportAuthentication(bool force=true); using soap11::SOAPClient::send; @@ -85,9 +90,7 @@ namespace opensaml { * * @return the associated SecurityPolicy */ - SecurityPolicy& getPolicy() const { - return m_policy; - } + SecurityPolicy& getPolicy() const; protected: /**