From 9247413364a7b039277a84235760caa8cee38438 Mon Sep 17 00:00:00 2001 From: Mustafa Baser Date: Sun, 19 May 2024 16:17:43 +0300 Subject: [PATCH] fix(jans-cli-tui): principalAttribute and principalType for SAML TR Signed-off-by: Mustafa Baser --- .../100_saml/edit_identity_provider_dialog.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/jans-cli-tui/cli_tui/plugins/100_saml/edit_identity_provider_dialog.py b/jans-cli-tui/cli_tui/plugins/100_saml/edit_identity_provider_dialog.py index 9dbb46f2217..039986f7ed4 100644 --- a/jans-cli-tui/cli_tui/plugins/100_saml/edit_identity_provider_dialog.py +++ b/jans-cli-tui/cli_tui/plugins/100_saml/edit_identity_provider_dialog.py @@ -152,6 +152,24 @@ def get_metadata_container(cb=None): widget_style=cli_style.white_bg_widget ), + common_data.app.getTitledText( + title=_("Principal Attribute"), + name='principalAttribute', + value=self.data.get('principalAttribute', ''), + style=cli_style.edit_text, + jans_help=_("Principal Attribute"), + widget_style=cli_style.white_bg_widget + ), + + common_data.app.getTitledText( + title=_("Principal Type"), + name='principalType', + value=self.data.get('principalType', ''), + style=cli_style.edit_text, + jans_help=_("Principal Type"), + widget_style=cli_style.white_bg_widget + ) + ], width=D() )