diff --git a/admin/webapp/websrc/app/routes/nodes/node-details/node-details.component.html b/admin/webapp/websrc/app/routes/nodes/node-details/node-details.component.html
index 038a19f2..65b83fec 100644
--- a/admin/webapp/websrc/app/routes/nodes/node-details/node-details.component.html
+++ b/admin/webapp/websrc/app/routes/nodes/node-details/node-details.component.html
@@ -24,7 +24,7 @@
[class.filter-csv]="!isVulsAuthorized && !vulEmpty"
[class.filter-view-csv]="isVulsAuthorized && !vulEmpty"
[class.filter-view]="isVulsAuthorized && vulEmpty">
-
+
+
-
diff --git a/admin/webapp/websrc/app/routes/settings/common/group-domain-role/group-domain-role.component.html b/admin/webapp/websrc/app/routes/settings/common/group-domain-role/group-domain-role.component.html
index 7aef964e..112f83d4 100644
--- a/admin/webapp/websrc/app/routes/settings/common/group-domain-role/group-domain-role.component.html
+++ b/admin/webapp/websrc/app/routes/settings/common/group-domain-role/group-domain-role.component.html
@@ -32,10 +32,25 @@
{{
- 'ldap.gridHeader.GROUP' | translate
- }}
-
- {{ element.group }}
+ 'ldap.gridHeader.GROUP' | translate
+ }}
+
+
+ {{ element.group }}
+
+
+
diff --git a/admin/webapp/websrc/app/routes/settings/common/group-domain-role/group-domain-role.component.scss b/admin/webapp/websrc/app/routes/settings/common/group-domain-role/group-domain-role.component.scss
index 3fa6cb67..34dcae4e 100644
--- a/admin/webapp/websrc/app/routes/settings/common/group-domain-role/group-domain-role.component.scss
+++ b/admin/webapp/websrc/app/routes/settings/common/group-domain-role/group-domain-role.component.scss
@@ -67,3 +67,7 @@ i {
pointer-events: auto;
cursor: grabbing;
}
+
+.password-masked {
+ -webkit-text-security: disc;
+}
diff --git a/admin/webapp/websrc/app/routes/settings/saml/saml-form/saml-form.component.html b/admin/webapp/websrc/app/routes/settings/saml/saml-form/saml-form.component.html
index 529b428c..9d841239 100644
--- a/admin/webapp/websrc/app/routes/settings/saml/saml-form/saml-form.component.html
+++ b/admin/webapp/websrc/app/routes/settings/saml/saml-form/saml-form.component.html
@@ -74,9 +74,19 @@
{{ 'okta.SLO_CERT' | translate }}
+
vpn_key
@@ -84,6 +94,7 @@
{{ 'okta.SLO_KEY' | translate }}
+
{{ 'okta.CERTIFICATE' | translate }}
{{ 'general.REQUIRED' | translate }}
+
+
verified
{{ 'okta.EXTRA_CERT' | translate }}
+
+
diff --git a/admin/webapp/websrc/app/routes/settings/saml/saml-form/saml-form.component.scss b/admin/webapp/websrc/app/routes/settings/saml/saml-form/saml-form.component.scss
index 20dd343d..92d705b7 100644
--- a/admin/webapp/websrc/app/routes/settings/saml/saml-form/saml-form.component.scss
+++ b/admin/webapp/websrc/app/routes/settings/saml/saml-form/saml-form.component.scss
@@ -8,3 +8,7 @@
.icon-16 {
font-size: 16px;
}
+
+.password-masked {
+ -webkit-text-security: disc;
+}
diff --git a/admin/webapp/websrc/app/routes/settings/saml/saml-form/saml-form.component.ts b/admin/webapp/websrc/app/routes/settings/saml/saml-form/saml-form.component.ts
index dd5335e1..40c06a5a 100644
--- a/admin/webapp/websrc/app/routes/settings/saml/saml-form/saml-form.component.ts
+++ b/admin/webapp/websrc/app/routes/settings/saml/saml-form/saml-form.component.ts
@@ -23,7 +23,6 @@ import { NotificationService } from '@services/notification.service';
import { TranslateService } from '@ngx-translate/core';
import { Observable } from 'rxjs';
import { AuthUtilsService } from '@common/utils/auth.utils';
-import { MatSlideToggleChange } from '@angular/material/slide-toggle';
@Component({
standalone: false,
@@ -40,6 +39,9 @@ export class SamlFormComponent implements OnInit, OnChanges {
groupMappedRoles: GroupMappedRole[] = [];
serverName = 'saml1';
passwordVisible = false;
+ sloCertVisible = false;
+ sloKeyVisible = false;
+ x509CertVisible: boolean[] = [];
samlRedirectURL!: string;
samlForm = new FormGroup({
sso_url: new FormControl(null, [Validators.required, urlValidator()]),
@@ -102,6 +104,7 @@ export class SamlFormComponent implements OnInit, OnChanges {
initForm(): void {
this.x509_certs.clear();
+ this.x509CertVisible = [];
const saml = this.samlData.server.servers.find(
({ server_type }) => server_type === 'saml'
);
@@ -109,6 +112,7 @@ export class SamlFormComponent implements OnInit, OnChanges {
this.serverName = saml.server_name;
this.groupMappedRoles = saml.saml.group_mapped_roles || [];
saml.saml.x509_certs.forEach((x509_cert, idx) => {
+ this.x509CertVisible.push(false);
this.x509_certs.push(
new FormControl(
x509_cert.x509_cert,
@@ -130,6 +134,7 @@ export class SamlFormComponent implements OnInit, OnChanges {
this.isCreated = false;
}
if (!this.x509_certs.length) {
+ this.x509CertVisible.push(false);
this.x509_certs.push(new FormControl('', [Validators.required]));
}
}
@@ -185,10 +190,12 @@ export class SamlFormComponent implements OnInit, OnChanges {
}
addExtraCert() {
+ this.x509CertVisible.push(false);
this.x509_certs.push(new FormControl(''));
}
removeExtraCert(index: number) {
+ this.x509CertVisible.splice(index, 1);
this.x509_certs.removeAt(index);
}
}