ShibTargetException -> FatalProfileException
authorwarlord <warlord@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 1 Apr 2005 17:44:35 +0000 (17:44 +0000)
committerwarlord <warlord@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 1 Apr 2005 17:44:35 +0000 (17:44 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@1475 cb58f699-b61c-0410-a6fe-9272a202ed29

nsapi_shib/nsapi_shib.cpp

index bf4f154..bf17daa 100644 (file)
@@ -265,8 +265,7 @@ public:
     char* content_length=NULL;
     if (request_header("content-length", &content_length, m_sn, m_rq)
        !=REQ_PROCEED || atoi(content_length) > 1024*1024) // 1MB?
-      throw ShibTargetException(SHIBRPC_OK,
-                       "blocked too-large a post to Shibboleth session processor");
+      throw FatalProfileException("Blocked too-large a submittion to profile endpoint.");
     else {
       char ch=IO_EOF+1;
       int cl=atoi(content_length);
@@ -281,7 +280,7 @@ public:
        cl--;
       }
       if (cl)
-       throw ShibTargetException(SHIBRPC_OK,"error reading POST data from browser");
+       throw FatalProfileException("error reading POST data from browser");
       return cgistr;
     }
   }