#21 Log when authentication succeeds with wrong nameid type
Merged 6 years ago by puiterwijk. Opened 6 years ago by rcritten.
rcritten/ipsilon nameid  into  master

@@ -211,6 +211,8 @@ 

              login.assertion.subject.nameId.content = nameid

          else:

              self.trans.wipe()

+             self.error('Authentication succeeded but it was not ' +

+                        'provided by NameID %s' % nameidfmt)

              raise AuthenticationError("Unavailable Name ID type",

                                        lasso.SAML2_STATUS_CODE_AUTHN_FAILED)

  

no initial comment
Metadata