X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-sp-resolver.git;a=blobdiff_plain;f=src%2Fshibresolver%2Fresolver.h;h=179a4bac635733651c8c9edf4e5eaee6baae1850;hp=f9c1febf5f61470f8ca1670315a5ff0df73ef875;hb=5faba179b771abf24c08e4537d2d171096079f87;hpb=bbbc0618f8db436d3deb9daa31f1cd79eb93852a diff --git a/src/shibresolver/resolver.h b/src/shibresolver/resolver.h index f9c1feb..179a4ba 100644 --- a/src/shibresolver/resolver.h +++ b/src/shibresolver/resolver.h @@ -1,5 +1,5 @@ /* - * Copyright 2010 JANET(UK) + * Copyright 2010-2011 JANET(UK) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,15 @@ #include #include +#ifdef SHIBRESOLVER_HAVE_GSSGNU +# include +#elif defined SHIBRESOLVER_HAVE_GSSMIT +# include +# include +#else +# include +#endif + namespace xmltooling { class XMLTOOL_API XMLObject; }; @@ -89,6 +98,16 @@ namespace shibresolver { */ void addToken(const xmltooling::XMLObject* token); +#ifdef SHIBRESOLVER_HAVE_GSSAPI + /** + * Adds a GSS-API security context as input to the resolver. + *

The caller retains ownership of the context. + * + * @param ctx an input context to evaluate + */ + void addToken(gss_ctx_id_t ctx); +#endif + /** * Adds an Attribute as input to the resolver. *

The caller retains ownership of the object. @@ -171,6 +190,9 @@ namespace shibresolver { private: shibsp::ServiceProvider* m_sp; +#ifdef SHIBRESOLVER_HAVE_GSSAPI + xmltooling::XMLObject* m_gsswrapper; +#endif std::vector m_resolvedAttributes; };