#include <shibsp/exceptions.h>
#include <shibsp/SPRequest.h>
+#include <shibsp/util/CGIParser.h>
namespace shibsp {
-
- class SHIBSP_API CGIParser;
+#if defined (_MSC_VER)
+ #pragma warning( push )
+ #pragma warning( disable : 4251 )
+#endif
+
/**
* Abstract base for SPRequest implementations
*/
const Application& getApplication() const;
- const Session* getSession() const {
- return m_session;
- }
+ Session* getSession(bool checkTimeout=true, bool ignoreAddress=false, bool cache=true) const;
const char* getRequestURL() const;
mutable RequestMapper* m_mapper;
mutable RequestMapper::Settings m_settings;
mutable const Application* m_app;
+ mutable bool m_sessionTried;
mutable Session* m_session;
mutable std::string m_url;
void* m_log; // declared void* to avoid log4cpp header conflicts in Apache
mutable std::map<std::string,std::string> m_cookieMap;
mutable CGIParser* m_parser;
};
+
+#if defined (_MSC_VER)
+ #pragma warning( pop )
+#endif
+
};
#endif /* __shibsp_abstreq_h__ */