Skip to content

Commit a5ac1d7

Browse files
committed
Update project to latest tag sacer-jboss-10.3.1
1 parent b610f37 commit a5ac1d7

File tree

16 files changed

+135
-26
lines changed

16 files changed

+135
-26
lines changed

Diff for: CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11

2+
## 10.3.1 (28-11-2024)
3+
4+
### Bugfix: 1
5+
- [#34747](https://parermine.regione.emilia-romagna.it/issues/34747) Introduzione log su parametro header per servizi di recupero con certificato
6+
27
## 10.3.0 (11-11-2024)
38

49
### Bugfix: 2

Diff for: RELEASE-NOTES.md

+3-18
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
1-
## 10.3.0 (11-11-2024)
1+
## 10.3.1 (28-11-2024)
22

3-
### Bugfix: 2
4-
- [#34366](https://parermine.regione.emilia-romagna.it/issues/34366) Correzione controllo esistenza password nulla nel servizi di recupero
5-
- [#34301](https://parermine.regione.emilia-romagna.it/issues/34301) Correzione della chiamata al parametro TIMEOUT_CALCOLO_SERVIZI_EROGATI
6-
7-
### Novità: 12
8-
- [#34489](https://parermine.regione.emilia-romagna.it/issues/34489) Sostituzione partizionamenti by_list e subpartizionamenti by_list con partizionamenti automatici - tabelle ARO_CNTENUTO_COMP
9-
- [#34433](https://parermine.regione.emilia-romagna.it/issues/34433) Sostituzione partizionamenti by_range in sacer_LOG con partizionamenti automatici con interval
10-
- [#34321](https://parermine.regione.emilia-romagna.it/issues/34321) Sostituzione partizionamenti by_list/by_range in partizionamenti automatici - tabelle SERIE
11-
- [#33897](https://parermine.regione.emilia-romagna.it/issues/33897) Eliminazione controllo LOGINNAME/PASSWORD nella chiamata ai servizi di recupero con certificato
12-
- [#32722](https://parermine.regione.emilia-romagna.it/issues/32722) Modifiche al monitoraggio Riepilogo versamenti fascicoli
13-
- [#32535](https://parermine.regione.emilia-romagna.it/issues/32535) Aggiornamento delle logiche di creazione della richiesta di restituzione archivio.
14-
- [#32490](https://parermine.regione.emilia-romagna.it/issues/32490) Riduzione tempi di apertura della pagina di dettaglio della richiesta di estrazione
15-
- [#31668](https://parermine.regione.emilia-romagna.it/issues/31668) Visualizzazione dei dati relativi alle sessioni errate e fallite cancellate
16-
- [#30400](https://parermine.regione.emilia-romagna.it/issues/30400) Salvataggio diretto su object storage dell'indice AIP delle serie
17-
- [#27019](https://parermine.regione.emilia-romagna.it/issues/27019) Ridimensionamento di tutte le colonne che contengono esiti di errore.
18-
- [#23686](https://parermine.regione.emilia-romagna.it/issues/23686) Visualizzazione chiave normalizzata fascicolo
19-
- [#15967](https://parermine.regione.emilia-romagna.it/issues/15967) Attivazione della firma Xades e XadesT
3+
### Bugfix: 1
4+
- [#34747](https://parermine.regione.emilia-romagna.it/issues/34747) Introduzione log su parametro header per servizi di recupero con certificato

Diff for: pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<artifactId>sacer-jboss</artifactId>
5-
<version>10.3.1-SNAPSHOT</version>
5+
<version>10.3.1</version>
66
<packaging>pom</packaging>
77
<name>sacer</name>
88
<description>Progetto SACER</description>

Diff for: sacer-ear/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<artifactId>sacer-jboss</artifactId>
66
<groupId>it.eng.parer</groupId>
7-
<version>10.3.1-SNAPSHOT</version>
7+
<version>10.3.1</version>
88
</parent>
99

1010
<artifactId>sacer-jboss-ear</artifactId>

Diff for: sacer-ejb/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>sacer-jboss</artifactId>
55
<groupId>it.eng.parer</groupId>
6-
<version>10.3.1-SNAPSHOT</version>
6+
<version>10.3.1</version>
77
</parent>
88

99
<artifactId>sacer-jboss-ejb</artifactId>

Diff for: sacer-jpa/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>sacer-jboss</artifactId>
55
<groupId>it.eng.parer</groupId>
6-
<version>10.3.1-SNAPSHOT</version>
6+
<version>10.3.1</version>
77
</parent>
88

99
<artifactId>sacer-jboss-jpa</artifactId>

Diff for: sacer-jpa/src/main/java/it/eng/parer/entity/SerVerSerieObjectStorage.java

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
* Engineering Ingegneria Informatica S.p.A.
3+
*
4+
* Copyright (C) 2023 Regione Emilia-Romagna
5+
* <p/>
6+
* This program is free software: you can redistribute it and/or modify it under the terms of
7+
* the GNU Affero General Public License as published by the Free Software Foundation,
8+
* either version 3 of the License, or (at your option) any later version.
9+
* <p/>
10+
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11+
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12+
* See the GNU Affero General Public License for more details.
13+
* <p/>
14+
* You should have received a copy of the GNU Affero General Public License along with this program.
15+
* If not, see <https://www.gnu.org/licenses/>.
16+
*/
17+
118
package it.eng.parer.entity;
219

320
import it.eng.parer.entity.inheritance.oop.AroXmlObjectStorage;

Diff for: sacer-jpa/src/main/java/it/eng/parer/entity/VrsSessioneVersKoEliminate.java

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
* Engineering Ingegneria Informatica S.p.A.
3+
*
4+
* Copyright (C) 2023 Regione Emilia-Romagna
5+
* <p/>
6+
* This program is free software: you can redistribute it and/or modify it under the terms of
7+
* the GNU Affero General Public License as published by the Free Software Foundation,
8+
* either version 3 of the License, or (at your option) any later version.
9+
* <p/>
10+
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11+
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12+
* See the GNU Affero General Public License for more details.
13+
* <p/>
14+
* You should have received a copy of the GNU Affero General Public License along with this program.
15+
* If not, see <https://www.gnu.org/licenses/>.
16+
*/
17+
118
/*
219
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
320
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template

Diff for: sacer-jpa/src/main/java/it/eng/parer/viewEntity/OrgVRicOrganizRestArch.java

+18-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
* Engineering Ingegneria Informatica S.p.A.
3+
*
4+
* Copyright (C) 2023 Regione Emilia-Romagna
5+
* <p/>
6+
* This program is free software: you can redistribute it and/or modify it under the terms of
7+
* the GNU Affero General Public License as published by the Free Software Foundation,
8+
* either version 3 of the License, or (at your option) any later version.
9+
* <p/>
10+
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11+
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12+
* See the GNU Affero General Public License for more details.
13+
* <p/>
14+
* You should have received a copy of the GNU Affero General Public License along with this program.
15+
* If not, see <https://www.gnu.org/licenses/>.
16+
*/
17+
118
package it.eng.parer.viewEntity;
219

320
import java.io.Serializable;
@@ -91,4 +108,4 @@ public void setIdOrganizIam(BigDecimal idOrganizIam) {
91108
this.idOrganizIam = idOrganizIam;
92109
}
93110

94-
}
111+
}

Diff for: sacer-slg/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>sacer-jboss</artifactId>
55
<groupId>it.eng.parer</groupId>
6-
<version>10.3.1-SNAPSHOT</version>
6+
<version>10.3.1</version>
77
</parent>
88

99
<artifactId>sacer-jboss-slg</artifactId>

Diff for: sacer-slg/src/main/java/it/eng/parer/slite/gen/tablebean/VrsSessioneVersKoEliminateRowBean.java

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
* Engineering Ingegneria Informatica S.p.A.
3+
*
4+
* Copyright (C) 2023 Regione Emilia-Romagna
5+
* <p/>
6+
* This program is free software: you can redistribute it and/or modify it under the terms of
7+
* the GNU Affero General Public License as published by the Free Software Foundation,
8+
* either version 3 of the License, or (at your option) any later version.
9+
* <p/>
10+
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11+
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12+
* See the GNU Affero General Public License for more details.
13+
* <p/>
14+
* You should have received a copy of the GNU Affero General Public License along with this program.
15+
* If not, see <https://www.gnu.org/licenses/>.
16+
*/
17+
118
/*
219
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
320
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template

Diff for: sacer-slg/src/main/java/it/eng/parer/slite/gen/tablebean/VrsSessioneVersKoEliminateTableBean.java

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
* Engineering Ingegneria Informatica S.p.A.
3+
*
4+
* Copyright (C) 2023 Regione Emilia-Romagna
5+
* <p/>
6+
* This program is free software: you can redistribute it and/or modify it under the terms of
7+
* the GNU Affero General Public License as published by the Free Software Foundation,
8+
* either version 3 of the License, or (at your option) any later version.
9+
* <p/>
10+
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11+
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12+
* See the GNU Affero General Public License for more details.
13+
* <p/>
14+
* You should have received a copy of the GNU Affero General Public License along with this program.
15+
* If not, see <https://www.gnu.org/licenses/>.
16+
*/
17+
118
/*
219
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
320
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template

Diff for: sacer-slg/src/main/java/it/eng/parer/slite/gen/tablebean/VrsSessioneVersKoEliminateTableDescriptor.java

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
* Engineering Ingegneria Informatica S.p.A.
3+
*
4+
* Copyright (C) 2023 Regione Emilia-Romagna
5+
* <p/>
6+
* This program is free software: you can redistribute it and/or modify it under the terms of
7+
* the GNU Affero General Public License as published by the Free Software Foundation,
8+
* either version 3 of the License, or (at your option) any later version.
9+
* <p/>
10+
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11+
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12+
* See the GNU Affero General Public License for more details.
13+
* <p/>
14+
* You should have received a copy of the GNU Affero General Public License along with this program.
15+
* If not, see <https://www.gnu.org/licenses/>.
16+
*/
17+
118
/*
219
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
320
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template

Diff for: sacer-web/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<artifactId>sacer-jboss</artifactId>
66
<groupId>it.eng.parer</groupId>
7-
<version>10.3.1-SNAPSHOT</version>
7+
<version>10.3.1</version>
88
</parent>
99

1010
<artifactId>sacer-jboss-web</artifactId>

Diff for: sacer-web/src/main/java/it/eng/parer/restWS/util/AbsRequestPrsr.java

+11-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
public abstract class AbsRequestPrsr {
3434
private static final Logger log = LoggerFactory.getLogger(AbsRequestPrsr.class);
3535

36+
public static final String NOME_HEADER_CERTIFICATO = "RERCommonNameCert";
37+
3638
/**
3739
* lettura dell'indirizzo IP del chiamante. Si presuppone che il load balancer o il reverse proxy impostino la
3840
* variabile RERFwFor tra gli header HTTP della request. Questo è l'unico sistema per recepire l'IP nel caso in cui
@@ -67,7 +69,15 @@ public String leggiIpVersante(HttpServletRequest request) {
6769
*/
6870
public String leggiCertCommonName(HttpServletRequest request) {
6971
// cerco l'header custom della RERCommonNameCer
70-
return request.getHeader("RERCommonNameCert");
72+
String valoreHeaderCertificato = request.getHeader(NOME_HEADER_CERTIFICATO);
73+
// MAC#34747 - Introduzione log su parametro header per servizi di recupero con certificato
74+
if (valoreHeaderCertificato == null) {
75+
log.info("Il parametro [{}] NON è presente nell'header della richiesta.", NOME_HEADER_CERTIFICATO);
76+
} else {
77+
log.info("Il parametro [{}] è presente nell'header della richiesta con valore [{}].",
78+
NOME_HEADER_CERTIFICATO, valoreHeaderCertificato);
79+
}
80+
return valoreHeaderCertificato;
7181
}
7282

7383
}

Diff for: sacer-web/src/main/java/it/eng/parer/restWS/util/RequestPrsr.java

+7
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,13 @@ public List<FileItem> parse(IRispostaWS rispostaWs, ReqPrsrConfig configurazione
190190
// String commonName = this.leggiCertCommonName(request);
191191
// verifica strutturale del campo LOGINNAME e memorizzazione dello stesso nella sessione finta
192192
// Il controllo sullo username viene fatto se non è presente il CommonName nell'Header HTTP
193+
if (commonNamePassato) {
194+
log.info("Il controllo su LOGINNAME e PASSWORD non viene fatto perché è presente il parametro header [{}]",
195+
AbsRequestPrsr.NOME_HEADER_CERTIFICATO);
196+
} else {
197+
log.info("Il controllo su LOGINNAME e PASSWORD viene fatto perché NON è presente il parametro header [{}]",
198+
AbsRequestPrsr.NOME_HEADER_CERTIFICATO);
199+
}
193200
if (rispostaWs.getSeverity() == IRispostaWS.SeverityEnum.OK) {
194201
if (Objects.isNull(accessToken)) {
195202
if (!commonNamePassato) { // In caso di chiamata tradizionale con controllo LOGINNAME E PASSWORD

0 commit comments

Comments
 (0)