) claims.get("roles", ArrayList.class))))
.build();
}
diff --git a/frontend/src/resources/template/webbpm/jwt-form.html b/frontend/src/resources/template/webbpm/jwt-form.html
index 8264e6c4..ed0429f5 100644
--- a/frontend/src/resources/template/webbpm/jwt-form.html
+++ b/frontend/src/resources/template/webbpm/jwt-form.html
@@ -28,7 +28,7 @@
+ [(ngModel)]="domainId">
diff --git a/frontend/src/ts/modules/webbpm/component/token-form.component.ts b/frontend/src/ts/modules/webbpm/component/token-form.component.ts
index 92dd03df..f76e1ec9 100644
--- a/frontend/src/ts/modules/webbpm/component/token-form.component.ts
+++ b/frontend/src/ts/modules/webbpm/component/token-form.component.ts
@@ -11,7 +11,7 @@ export class TokenFormComponent {
name: string = '';
realm: string = '';
- domain_id: string = '';
+ domainId: string = '';
role: string = '';
private readonly encodedHeader = this.encodeBase64Url(JSON.stringify({
@@ -32,7 +32,7 @@ export class TokenFormComponent {
let claims = {
name: this.name,
realm: this.realm,
- domain_id: this.domain_id,
+ domain_id: this.domainId,
roles: [this.role]
};
return `${this.encodedHeader}.${this.encodeBase64Url(JSON.stringify(claims))}.`
diff --git a/pom.xml b/pom.xml
index dcc25a6c..9d5efeff 100644
--- a/pom.xml
+++ b/pom.xml
@@ -93,6 +93,14 @@
ru.cg.webbpm.modules.security
security-esia
+
+ ru.cg.webbpm.modules.security
+ security-api
+
+
+ ru.cg.webbpm.modules.security
+ security-beans
+
ru.cg.webbpm.modules.security
security-db-synchronization-api
@@ -188,16 +196,6 @@
${webbpm-platform.version}
runtime