SUPPORT-8427: Fix
This commit is contained in:
parent
4e5355566d
commit
704ea8d376
3 changed files with 6 additions and 3 deletions
|
|
@ -1,5 +1,7 @@
|
|||
package ru.micord.ervu.security.esia.config;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
|
|
@ -51,7 +53,8 @@ public class EsiaConfig {
|
|||
}
|
||||
|
||||
public String getEsiaScopes() {
|
||||
return esiaScopes;
|
||||
String[] scopeItems = esiaScopes.split(",");
|
||||
return String.join(" ", Arrays.stream(scopeItems).map(String::trim).toArray(String[]::new));
|
||||
}
|
||||
|
||||
public String getClientId() {
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ xa-data-source add \
|
|||
/system-property=security.password.regex:add(value="^((?=(.*\\d){1,})(?=.*[a-zа-яё])(?=.*[A-ZА-ЯЁ]).{8,})$")
|
||||
/system-property=fias.enable:add(value=false)
|
||||
/system-property=bpmn.enable:add(value=false)
|
||||
/system-property=esia-scopes:add(value="snils fullname birthdate id_doc")
|
||||
/system-property=esia-scopes:add(value="snils, fullname, birthdate, id_doc")
|
||||
/system-property=esia-uri.base-uri:add(value="https://esia-portal1.test.gosuslugi.ru/")
|
||||
/system-property=esia-uri.code-path:add(value="https://esia-portal1.test.gosuslugi.ru/aas/oauth2/v2/ac")
|
||||
/system-property=esia-uri.token-path:add(value="https://esia-portal1.test.gosuslugi.ru/aas/oauth2/v3/te")
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
<property name="security.password.regex" value="^((?=(.*\d){1,})(?=.*[a-zа-яё])(?=.*[A-ZА-ЯЁ]).{8,})$"/>
|
||||
<property name="fias.enable" value="false"/>
|
||||
<property name="com.arjuna.ats.arjuna.allowMultipleLastResources" value="true"/>
|
||||
<property name="esia-scopes" value="snils fullname birthdate id_doc"/>
|
||||
<property name="esia-scopes" value="snils, fullname, birthdate, id_doc"/>
|
||||
<property name="esia-uri.base-uri" value="https://esia-portal1.test.gosuslugi.ru/"/>
|
||||
<property name="esia-uri.code-path" value="https://esia-portal1.test.gosuslugi.ru/aas/oauth2/v2/ac"/>
|
||||
<property name="esia-uri.token-path" value="https://esia-portal1.test.gosuslugi.ru/aas/oauth2/v3/te"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue