From: Scott Cantor Date: Fri, 24 Oct 2008 23:05:19 +0000 (+0000) Subject: Need to use API to acquire application to avoid ordering dependency. X-Git-Tag: 2.2.0~145 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-sp.git;a=commitdiff_plain;h=fb0b0f6166e8e1c393cc680ae0678437b71ff45a Need to use API to acquire application to avoid ordering dependency. --- diff --git a/Shibboleth.sln b/Shibboleth.sln index 8988b06..16f8120 100644 --- a/Shibboleth.sln +++ b/Shibboleth.sln @@ -278,8 +278,10 @@ Global {B2423DCE-048D-4BAA-9AB9-F5D1FCDD3D25}.Release|Win32.Build.0 = Release|Win32 {B2423DCE-048D-4BAA-9AB9-F5D1FCDD3D25}.Release|x64.ActiveCfg = Release|x64 {666A63A7-983F-4C19-8411-207F24305198}.Debug|Win32.ActiveCfg = Debug|Win32 + {666A63A7-983F-4C19-8411-207F24305198}.Debug|Win32.Build.0 = Debug|Win32 {666A63A7-983F-4C19-8411-207F24305198}.Debug|x64.ActiveCfg = Debug|x64 {666A63A7-983F-4C19-8411-207F24305198}.Release|Win32.ActiveCfg = Release|Win32 + {666A63A7-983F-4C19-8411-207F24305198}.Release|Win32.Build.0 = Release|Win32 {666A63A7-983F-4C19-8411-207F24305198}.Release|x64.ActiveCfg = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution diff --git a/shibsp/AbstractSPRequest.cpp b/shibsp/AbstractSPRequest.cpp index ff5c98c..1cfc971 100644 --- a/shibsp/AbstractSPRequest.cpp +++ b/shibsp/AbstractSPRequest.cpp @@ -209,7 +209,7 @@ const char* AbstractSPRequest::getHandlerURL(const char* resource) const bool ssl_only=true; const char* handler=NULL; - const PropertySet* props=m_app->getPropertySet("Sessions"); + const PropertySet* props=getApplication().getPropertySet("Sessions"); if (props) { pair p=props->getBool("handlerSSL"); if (p.first)