From: cantor Date: Fri, 15 Oct 2010 23:58:02 +0000 (+0000) Subject: Set linefeed property. X-Git-Tag: 2.4.2~55 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=c165a9e8587c81d28f392f8e38d929293d47f428;hp=c9ac7f89de88651543c7e8fc92c90ca0395a6bd4;p=shibboleth%2Fsp.git Set linefeed property. git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/branches/REL_2@3346 cb58f699-b61c-0410-a6fe-9272a202ed29 --- diff --git a/shibsp/GSSRequest.h b/shibsp/GSSRequest.h index a58cc51..cb1c56f 100644 --- a/shibsp/GSSRequest.h +++ b/shibsp/GSSRequest.h @@ -1,60 +1,60 @@ -/* - * Copyright 2010 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 - * - * 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. - */ - -/** - * @file shibsp/GSSRequest.h - * - * Interface to a GSS-authenticated request. - */ - -#if !defined(__shibsp_gssreq_h__) && defined(HAVE_GSSAPI) -#define __shibsp_gssreq_h__ - -#include -#include - -#ifdef HAVE_GSSGNU -# include -#elif defined HAVE_GSSMIT -# include -# include -#else -# include -#endif - -namespace shibsp { - - /** - * Interface to a GSS-authenticated request. - */ - class SHIBSP_API GSSRequest : public virtual xmltooling::GenericRequest - { - protected: - GSSRequest(); - public: - virtual ~GSSRequest(); - - /** - * Returns the GSS-API context established for this request, or - * GSS_C_NO_CONTEXT if none is available. - * - * @return a GSS-API context handle, or GSS_C_NO_CONTEXT - */ - virtual gss_ctx_id_t getGSSContext() const=0; - }; -}; - -#endif /* __shibsp_gssreq_h__ */ +/* + * Copyright 2010 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 + * + * 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. + */ + +/** + * @file shibsp/GSSRequest.h + * + * Interface to a GSS-authenticated request. + */ + +#if !defined(__shibsp_gssreq_h__) && defined(HAVE_GSSAPI) +#define __shibsp_gssreq_h__ + +#include +#include + +#ifdef HAVE_GSSGNU +# include +#elif defined HAVE_GSSMIT +# include +# include +#else +# include +#endif + +namespace shibsp { + + /** + * Interface to a GSS-authenticated request. + */ + class SHIBSP_API GSSRequest : public virtual xmltooling::GenericRequest + { + protected: + GSSRequest(); + public: + virtual ~GSSRequest(); + + /** + * Returns the GSS-API context established for this request, or + * GSS_C_NO_CONTEXT if none is available. + * + * @return a GSS-API context handle, or GSS_C_NO_CONTEXT + */ + virtual gss_ctx_id_t getGSSContext() const=0; + }; +}; + +#endif /* __shibsp_gssreq_h__ */