https://issues.shibboleth.net/jira/browse/SSPCPP-159
authorScott Cantor <cantor.2@osu.edu>
Tue, 14 Oct 2008 20:52:21 +0000 (20:52 +0000)
committerScott Cantor <cantor.2@osu.edu>
Tue, 14 Oct 2008 20:52:21 +0000 (20:52 +0000)
shibsp/ServiceProvider.cpp

index 91a8ab9..958799f 100644 (file)
@@ -107,7 +107,7 @@ namespace shibsp {
 
         if (!strcmp(page,"access")) {
             istringstream msg("Access Denied");
-            return request.sendResponse(msg, HTTPResponse::XMLTOOLING_HTTP_STATUS_UNAUTHORIZED);
+            return request.sendResponse(msg, HTTPResponse::XMLTOOLING_HTTP_STATUS_FORBIDDEN);
         }
 
         log.error("sendError could not process error template (%s)", page);