X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-sp-resolver.git;a=blobdiff_plain;f=src%2Fshibresolver%2Fresolver.h;fp=src%2Fshibresolver%2Fresolver.h;h=68f466bdbfe3fd34013e5b7f35cf7cf19d108c12;hp=3eee765983ce4da53baf753d49c902880bf6bccb;hb=c85d34f73156cd181491c3b20bd64537c2568559;hpb=974b56a2885609d4415949b42100b542379d67fd diff --git a/src/shibresolver/resolver.h b/src/shibresolver/resolver.h index 3eee765..68f466b 100644 --- a/src/shibresolver/resolver.h +++ b/src/shibresolver/resolver.h @@ -26,8 +26,8 @@ #include #include +#include -#include #include #ifdef SHIBRESOLVER_HAVE_GSSGNU @@ -90,6 +90,13 @@ namespace shibresolver { void setIssuer(const char* issuer); /** + * Sets the metadata protocol constant to use for resolution. + * + * @param protocol metadata protocol constant + */ + void setProtocol(const XMLCh* protocol); + + /** * Adds an XML token as input to the resolver, generally a SAML assertion. *

The caller retains ownership of the object. * @@ -200,6 +207,9 @@ namespace shibresolver { /** Source of identity, if known. */ std::string m_issuer; + /** Metadata protocol constant to use. */ + xmltooling::xstring m_protocol; + /** Input tokens. */ std::vector m_tokens;