X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=shibsp%2Fhandler%2FSessionInitiator.h;h=a201c0a7e2febe170f5f4f1c17fb3f3a09da4d7f;hb=59d4e9fc9bcc55e21c82e54155a4794f2c61b550;hp=bd939dcdab442c7ce688128742cb4bc3576f97cb;hpb=4e7f7a926a725c6aa45423a9e1fb16f7b7834a2a;p=shibboleth%2Fcpp-sp.git diff --git a/shibsp/handler/SessionInitiator.h b/shibsp/handler/SessionInitiator.h index bd939dc..a201c0a 100644 --- a/shibsp/handler/SessionInitiator.h +++ b/shibsp/handler/SessionInitiator.h @@ -52,7 +52,7 @@ namespace shibsp { * @param isHandler true iff executing in the context of a direct handler invocation * @return a pair containing a "request completed" indicator and a server-specific response code */ - virtual std::pair run(SPRequest& request, const char* entityID=NULL, bool isHandler=true) const=0; + virtual std::pair run(SPRequest& request, std::string& entityID, bool isHandler=true) const=0; std::pair run(SPRequest& request, bool isHandler=true) const; @@ -80,6 +80,9 @@ namespace shibsp { /** SessionInitiator that supports Shibboleth V1 WAYF redirects when no IdP is supplied. */ #define WAYF_SESSION_INITIATOR "WAYF" + + /** SessionInitiator that attempts a sequence of transforms of an input until an entityID is found. */ + #define TRANSFORM_SESSION_INITIATOR "Transform" }; #endif /* __shibsp_initiator_h__ */