[cpp-sp] 01/02: SSPCPP-694 Setup default Role even if no Roles specified

Rod Widdowson rdw at steadingsoftware.com
Mon Jul 31 05:03:46 EDT 2017


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=e78869866e67ab7546645246abe09de9932cf742

commit e78869866e67ab7546645246abe09de9932cf742
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun Jul 30 16:37:21 2017 +0100

    SSPCPP-694 Setup default Role even if no Roles specified
    
    https://issues.shibboleth.net/jira/browse/SSPCPP-694
---
 iis7_shib/register.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/iis7_shib/register.cpp b/iis7_shib/register.cpp
index 3e2fac4..565ed0d 100644
--- a/iis7_shib/register.cpp
+++ b/iis7_shib/register.cpp
@@ -199,6 +199,8 @@ RegisterModule(
 #pragma warning(disable: 4996)
                     boost::split(g_RoleAttributeNames, theRoles.second, boost::algorithm::is_space(), boost::algorithm::token_compress_on);
                 }
+            } else {
+                g_authNRole = L"ShibbolethAuthN";
             }
         }
     }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list