-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aggiunti test che verificano l'identità portata nella busta rispetto alle credenziali presenti nella richiesta.
- Loading branch information
1 parent
a662201
commit 80e7589
Showing
7 changed files
with
1,494 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -204,6 +204,8 @@ | |
<azione nome="https_ca_non_presente"/> | ||
<azione nome="https_hostname_verify"/> | ||
<azione nome="https_sil_consegna"/> | ||
<azione nome="https_autenticazione_pa"/> | ||
<azione nome="https_autenticazione_pa_opzionale"/> | ||
<!-- Filtro duplicati --> | ||
<azione nome="FiltroDuplicatiStateless" filtro-duplicati="abilitato"/> | ||
<azione nome="FiltroDuplicatiStateful" filtro-duplicati="abilitato"/> | ||
|
@@ -789,7 +791,37 @@ | |
</connettore> | ||
</soggetto> | ||
|
||
<!-- Soggetti SPCoop in supporto per l'autorizzazione anti-spoofing tramite meccanismo di autenticazione sulla Porta --> | ||
|
||
<soggetto tipo="spc" nome="Soggetto1conCredenzialiSSL"> | ||
<connettore tipo="http" nome="Soggetto1conCredenzialiSSL"> | ||
<property nome="location" valore="http://localhost:8080/govway/spcoop/in"/> | ||
</connettore> | ||
<credenziali tipo="ssl" | ||
subject="/CN=Soggetto1/ OU=test/ L=Pisa/ O=openspcoop.org/ ST=Italy/ C=IT/ [email protected]" | ||
issuer="/CN=Soggetto1/ OU=test/ L=Pisa/ O=openspcoop.org/ ST=Italy/ C=IT/ [email protected]"/> | ||
</soggetto> | ||
<soggetto tipo="spc" nome="Soggetto2conCredenzialiSSL"> | ||
<connettore tipo="http" nome="Soggetto2conCredenzialiSSL"> | ||
<property nome="location" valore="http://localhost:8080/govway/spcoop/in"/> | ||
</connettore> | ||
<credenziali tipo="ssl" | ||
subject="/CN=Soggetto2/ OU=test/ L=Pisa/ O=openspcoop.org/ ST=Italy/ C=IT/ [email protected]" | ||
issuer="/CN=Soggetto2/ OU=test/ L=Pisa/ O=openspcoop.org/ ST=Italy/ C=IT/ [email protected]"/> | ||
</soggetto> | ||
<soggetto tipo="spc" nome="Soggetto1SenzaCredenziali"> | ||
<connettore tipo="http" nome="Soggetto1SenzaCredenziali"> | ||
<property nome="location" valore="http://localhost:8080/govway/spcoop/in"/> | ||
</connettore> | ||
<credenziali tipo="ssl" | ||
subject="/CN=soggetto1alternativo/ L=Pisa/ C=IT" | ||
issuer="/CN=soggetto1alternativo/ L=Pisa/ C=IT"/> <!-- sono credenziali che non sono realmente mai usate e servono a verificare un antispoofing --> | ||
</soggetto> | ||
<soggetto tipo="spc" nome="Soggetto2SenzaCredenziali"> | ||
<connettore tipo="http" nome="Soggetto2SenzaCredenziali"> | ||
<property nome="location" valore="http://localhost:8080/govway/spcoop/in"/> | ||
</connettore> | ||
</soggetto> | ||
|
||
|
||
<!-- Soggetto per esempio SoapBox --> | ||
|
@@ -1116,6 +1148,49 @@ | |
</connettore> | ||
</fruitore> | ||
|
||
<fruitore tipo="spc" nome="Soggetto1conCredenzialiSSL"> | ||
<!-- Viene utilizzato come identita il soggetto1: corretto --> | ||
<connettore tipo="https" nome="Soggetto1conCredenzialiSSL"> | ||
<property nome="location" valore="https://127.0.0.1:8444/govway/spcoop/in"/> | ||
<property nome="trustStoreLocation" valore="/etc/govway/keys/soggetto1.jks"/> | ||
<property nome="trustStorePassword" valore="openspcoopjks"/> | ||
<property nome="keyStoreLocation" valore="/etc/govway/keys/soggetto1.jks"/> | ||
<property nome="keyStorePassword" valore="openspcoopjks"/> | ||
<property nome="keyPassword" valore="openspcoop"/> | ||
<property nome="hostnameVerifier" valore="false"/> | ||
</connettore> | ||
</fruitore> | ||
<fruitore tipo="spc" nome="Soggetto2conCredenzialiSSL"> | ||
<!-- Viene utilizzato come identita il soggetto1: scorretto --> | ||
<connettore tipo="https" nome="Soggetto2conCredenzialiSSL"> | ||
<property nome="location" valore="https://127.0.0.1:8444/govway/spcoop/in"/> | ||
<property nome="trustStoreLocation" valore="/etc/govway/keys/soggetto1.jks"/> | ||
<property nome="trustStorePassword" valore="openspcoopjks"/> | ||
<property nome="keyStoreLocation" valore="/etc/govway/keys/soggetto1.jks"/> | ||
<property nome="keyStorePassword" valore="openspcoopjks"/> | ||
<property nome="keyPassword" valore="openspcoop"/> | ||
<property nome="hostnameVerifier" valore="false"/> | ||
</connettore> | ||
</fruitore> | ||
<fruitore tipo="spc" nome="Soggetto1SenzaCredenziali"> | ||
<!-- Viene utilizzata una credenziale non censita su autententicazione https: scorretto --> | ||
<connettore tipo="https" nome="Soggetto1SenzaCredenziali"> | ||
<property nome="location" valore="https://127.0.0.1:8444/govway/spcoop/in"/> | ||
<property nome="trustStoreLocation" valore="/etc/govway/keys/soggetto1_multipleOU.jks"/> | ||
<property nome="trustStorePassword" valore="123456"/> | ||
<property nome="keyStoreLocation" valore="/etc/govway/keys/soggetto1_multipleOU.jks"/> | ||
<property nome="keyStorePassword" valore="123456"/> | ||
<property nome="keyPassword" valore="123456"/> | ||
<property nome="hostnameVerifier" valore="false"/> | ||
</connettore> | ||
</fruitore> | ||
<fruitore tipo="spc" nome="Soggetto2SenzaCredenziali"> | ||
<!-- Non viene inviata alcuna credenziale: passerà solamente se l'autenticazione https e' opzionale --> | ||
<connettore tipo="http" nome="Soggetto2SenzaCredenziali"> | ||
<property nome="location" valore="http://127.0.0.1:8080/govway/spcoop/in"/> | ||
</connettore> | ||
</fruitore> | ||
|
||
<!-- Fruitori per test PdUrlPrefixRewriter --> | ||
<!-- | ||
<fruitore tipo="spc" nome="TestUrlPrefixRewriter1"/> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.