https://dev.entrouvert.org/https://dev.entrouvert.org/favicon.ico?15861920342018-09-04T08:43:24ZRedmine Entr’ouvertLasso - Bug #25640: Bug in saml2_authn_context.c, XmlSnippethttps://dev.entrouvert.org/issues/25640?journal_id=1268152018-09-04T08:43:24ZBenjamin Dauvergne
<ul></ul><p>No only the second JUMP_ON_MISS should be a JUMP_ON_MATCH, see the schema :<br /><pre>
* <complexType name="AuthnContextType">
* <sequence>
* <choice>
* <sequence>
* <element ref="saml:AuthnContextClassRef"/>
* <choice minOccurs="0">
* <element ref="saml:AuthnContextDecl"/>
* <element ref="saml:AuthnContextDeclRef"/>
* </choice>
* </sequence>
* <choice>
* <element ref="saml:AuthnContextDecl"/>
* <element ref="saml:AuthnContextDeclRef"/>
* </choice>
* </choice>
* <element ref="saml:AuthenticatingAuthority" minOccurs="0" maxOccurs="unbounded"/>
* </sequence>
* </complexType>
</pre></p>
<p>Decl/DeclRef become mandatory if there is no ClassRef, it's optional otherwise, with a regexp like syntax :</p>
<pre>
( ClassRef ( Decl | DeclRef )? | ( Decl | DeclRef ) AuthenticatingAuthority* )
</pre> Lasso - Bug #25640: Bug in saml2_authn_context.c, XmlSnippethttps://dev.entrouvert.org/issues/25640?journal_id=1268162018-09-04T08:43:56ZBenjamin Dauvergne
<ul><li><strong>Assigné à</strong> mis à <i>Benjamin Dauvergne</i></li></ul> Lasso - Bug #25640: Bug in saml2_authn_context.c, XmlSnippethttps://dev.entrouvert.org/issues/25640?journal_id=1268172018-09-04T08:43:56ZBenjamin Dauvergne
<ul><li><strong>Fichier</strong> <a href="/attachments/27503">0001-xml-fix-parsing-of-saml-AuthnContext-fixes-25640.patch</a> <a class="icon-only icon-download" title="Télécharger" href="/attachments/download/27503/0001-xml-fix-parsing-of-saml-AuthnContext-fixes-25640.patch">0001-xml-fix-parsing-of-saml-AuthnContext-fixes-25640.patch</a> ajouté</li><li><strong>Statut</strong> changé de <i>Nouveau</i> à <i>Solution proposée</i></li></ul><p>Could you check this smaller patch fix your instance of the problem ?</p> Lasso - Bug #25640: Bug in saml2_authn_context.c, XmlSnippethttps://dev.entrouvert.org/issues/25640?journal_id=1316192018-10-01T20:30:11ZPaul Meurerpaul.meurer@uib.no
<ul></ul><p>Yes, you are correct, obviously.<br />The smaller patch works for my problem. Thanks!</p> Lasso - Bug #25640: Bug in saml2_authn_context.c, XmlSnippethttps://dev.entrouvert.org/issues/25640?journal_id=1338422018-10-14T18:26:48ZBenjamin Dauvergne
<ul><li><strong>Statut</strong> changé de <i>Solution proposée</i> à <i>Solution validée</i></li></ul> Lasso - Bug #25640: Bug in saml2_authn_context.c, XmlSnippethttps://dev.entrouvert.org/issues/25640?journal_id=1338442018-10-14T18:30:03ZBenjamin Dauvergne
<ul><li><strong>Statut</strong> changé de <i>Solution validée</i> à <i>Résolu (à déployer)</i></li><li><strong>% réalisé</strong> changé de <i>0</i> à <i>100</i></li></ul><p>Appliqué par commit <a class="changeset" title="xml: fix parsing of saml:AuthnContext (fixes #25640) Decl/DeclRef are alternatives, when matchin..." href="https://dev.entrouvert.org/projects/lasso/repository/33/revisions/b891ed7dca9c93c5ec6f2ce2408681cab2a74a8b">b891ed7dca9c93c5ec6f2ce2408681cab2a74a8b</a>.</p> Lasso - Bug #25640: Bug in saml2_authn_context.c, XmlSnippethttps://dev.entrouvert.org/issues/25640?journal_id=1882202019-08-27T07:20:58ZThijs Kinkhorst
<ul></ul><p>We ran into the same issue with the latest version of lasso (this is with NetIQ AM as an IdP). The patch indeed fixes it for us. So it would be great if a new release could be tagged!</p> Lasso - Bug #25640: Bug in saml2_authn_context.c, XmlSnippethttps://dev.entrouvert.org/issues/25640?journal_id=1899182019-09-06T12:40:05ZBenjamin Dauvergne
<ul><li><strong>Statut</strong> changé de <i>Résolu (à déployer)</i> à <i>Solution déployée</i></li></ul>