X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=src%2Fshibresolver%2Fresolver.h;h=68f466bdbfe3fd34013e5b7f35cf7cf19d108c12;hb=c12c0d60a4ece44140f514223154ee02398fde11;hp=3eee765983ce4da53baf753d49c902880bf6bccb;hpb=e1448b2d4c30435dc69124cfb7b6371275910355;p=shibboleth%2Fresolver.git 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;