67 lines
1.8 KiB
YAML
67 lines
1.8 KiB
YAML
info:
|
|
name: changeUserPassword
|
|
type: http
|
|
seq: 1
|
|
tags:
|
|
- autenticazione
|
|
|
|
http:
|
|
method: PUT
|
|
url: "{{baseUrl}}/changeUserPassword"
|
|
auth: inherit
|
|
|
|
settings:
|
|
encodeUrl: true
|
|
timeout: 0
|
|
followRedirects: true
|
|
maxRedirects: 5
|
|
forwardAuthorizationHeader: true
|
|
|
|
examples:
|
|
- name: 200 Response
|
|
description: |
|
|
il contenuto ritornato esprime il risultato dell'operazione.
|
|
request:
|
|
url: "{{baseUrl}}/changeUserPassword"
|
|
method: PUT
|
|
response:
|
|
status: 200
|
|
statusText: OK
|
|
body:
|
|
type: text
|
|
data: ""
|
|
- name: 401 Response
|
|
description: l'header "Authorization" non è presente oppure contiene dati non validi o credenziali errate
|
|
request:
|
|
url: "{{baseUrl}}/changeUserPassword"
|
|
method: PUT
|
|
response:
|
|
status: 401
|
|
statusText: Unauthorized
|
|
body:
|
|
type: text
|
|
data: ""
|
|
|
|
docs: |
|
|
<span class="e3rest-operation-auth-img-list"><img src="basic.png"/><img src="jwt.png"/></span>Modifica la password di un utente. Per poter accedere al servizio occorrono le credenziali di un'utenza
|
|
tecnica passate tramite header http "Authorization: Basic ....".
|
|
NB: l'utente deve poter utilizzare il tipo client REST ed avere abilitato l'accesso alla funzione SI_18_008.
|
|
|
|
|
|
**Estensioni:**
|
|
|
|
Codice Estensione|Valore|Nota
|
|
-|-|-
|
|
x-cache-type|noCache|Nessuna cache impostata Maggiori dettagli [qui](https://wiki.u-gov.it/confluence/display/ESSE3/Servizi+REST+su+ESSE3#ServiziRESTsuESSE3-Cachingdellerichieste)
|
|
|
|
|
|
**Controlli di sicurezza:**
|
|
======
|
|
_Nota: Il controllo per utente è verificato quando viene passato almeno uno dei controlli previsti_
|
|
|
|
**Utente: common-auth-permissions**
|
|
|
|
Profilo|Controllo| Funzione
|
|
-|-|-
|
|
AUTENTICATO|Funzione riservata a tutti gli utenti autenticati|Security.checkAuthUser()
|