Skip to content
Snippets Groups Projects
Commit 51cabde0 authored by Brian Vuyk's avatar Brian Vuyk
Browse files

Add support for sender-vouches

parent 029cc7fb
No related branches found
No related tags found
No related merge requests found
...@@ -588,7 +588,7 @@ class sspmod_saml_Message { ...@@ -588,7 +588,7 @@ class sspmod_saml_Message {
$found = FALSE; $found = FALSE;
$lastError = 'No SubjectConfirmation element in Subject.'; $lastError = 'No SubjectConfirmation element in Subject.';
foreach ($assertion->getSubjectConfirmation() as $sc) { foreach ($assertion->getSubjectConfirmation() as $sc) {
if ($sc->Method !== SAML2_Const::CM_BEARER && $sc->Method !== SAML2_Const::CM_HOK) { if ($sc->Method !== SAML2_Const::CM_BEARER && $sc->Method !== SAML2_Const::CM_HOK && $sc->Method !== SAML2_Const::CM_VOUCHES) {
$lastError = 'Invalid Method on SubjectConfirmation: ' . var_export($sc->Method, TRUE); $lastError = 'Invalid Method on SubjectConfirmation: ' . var_export($sc->Method, TRUE);
continue; continue;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment