[cpp-sp] branch main updated: Fix handling of authMethod = none
Scott Cantor
cantor.2 at osu.edu
Wed Sep 17 13:47:29 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=3f21c385822b0cb3b7b5a96f957d03dd82282e29
The following commit(s) were added to refs/heads/main by this push:
new 3f21c385 Fix handling of authMethod = none
3f21c385 is described below
commit 3f21c385822b0cb3b7b5a96f957d03dd82282e29
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Sep 17 09:47:00 2025 -0400
Fix handling of authMethod = none
---
shibsp/remoting/impl/AbstractHTTPRemotingService.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/shibsp/remoting/impl/AbstractHTTPRemotingService.cpp b/shibsp/remoting/impl/AbstractHTTPRemotingService.cpp
index 4e6debca..8595671d 100644
--- a/shibsp/remoting/impl/AbstractHTTPRemotingService.cpp
+++ b/shibsp/remoting/impl/AbstractHTTPRemotingService.cpp
@@ -200,7 +200,10 @@ const char* AbstractHTTPRemotingService::getCAFile() const
AbstractHTTPRemotingService::auth_t AbstractHTTPRemotingService::getAuthMethod(const char* method)
{
if (method) {
- if (!strcmp(method, "basic")) {
+ if (!strcmp(method, "none")) {
+ return agent_auth_none;
+ }
+ else if (!strcmp(method, "basic")) {
return agent_auth_basic;
}
else if (!strcmp(method, "digest")) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list