Giter Site home page Giter Site logo

Comments (10)

alranel avatar alranel commented on July 17, 2024

Ho appena provato con il branch feature/issue-3-validazione-login e queste validazioni non sono presenti neanche lì.

from spid-testenv2.

alranel avatar alranel commented on July 17, 2024

Inoltre mi sembra che non ci sia nessuna validazione rigida sulla struttura del messaggio XML. Se qualcuno invia dei tag in più (ad esempio <Ciao>) in posti dove non sono attesi li rileviamo?

Se così non fosse, un modo semplice è quello di applicare la validazione via xsd, anche se i messaggi restituiti da LibXML non sono il massimo della leggibilità.

from spid-testenv2.

fmarco avatar fmarco commented on July 17, 2024

@alexrj AuthnContextClassRef viene controllato feature/issue-3-validazione-login, per quanto riguarda invece AttributeConsumingServiceIndex sto effettuando dei controlli in pysaml2

from spid-testenv2.

fmarco avatar fmarco commented on July 17, 2024

@alexrj al momento (vedi #31 ) è pysaml2 che effettua il parsing iniziale, potremmo a questo punto strutturare degli xsd per ogni tipologia di messaggio, basandoci su quelli SAML2 e modificandoli con le restrizioni (o, ancora meglio, esistono già? :) )

from spid-testenv2.

fmarco avatar fmarco commented on July 17, 2024

@alexrj Ho rafforzato il controllo su AttributeConsumingServiceIndex, controlla pure

from spid-testenv2.

alranel avatar alranel commented on July 17, 2024

Ho appena provato inviando AttributeConsumingServiceIndex="99" e https://www.spid.gov.it/SpidL4 e vengono ancora accettati senza errori.

from spid-testenv2.

fmarco avatar fmarco commented on July 17, 2024

@alexrj confermo che il controllo sul livello spid funziona, sto ancora sistemando / indagando sulla parte AttributeConsumingServiceIndex

from spid-testenv2.

alranel avatar alranel commented on July 17, 2024

Ho testato, confermo che il che il controllo sul livello SPID funziona ma manca ancora AttributeConsumingServiceIndex.

from spid-testenv2.

fmarco avatar fmarco commented on July 17, 2024

@alexrj ho aggiornato master, riprova pure

from spid-testenv2.

alranel avatar alranel commented on July 17, 2024

Confermo che ora funziona, benissimo

from spid-testenv2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.