diff --git a/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Attributes.pm b/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Attributes.pm index 81d27f547..29f5577ae 100644 --- a/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Attributes.pm +++ b/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Attributes.pm @@ -2096,6 +2096,14 @@ m{^(?:ldapi://[^/]*/?|\w[\w\-\.]*(?::\d{1,5})?|ldap(?:s|\+tls)?://\w[\w\-\.]*(?: test => $url, msgFail => '__badUrl__', }, + casSrvMetaDataOptionsDisplayName => { + type => 'text', + documentation => 'Name to display for CAS server', + }, + casSrvMetaDataOptionsIcon => { + type => 'text', + documentation => 'Path of CAS Server Icon', + }, # Fake attribute: used by manager REST API to agglomerate all nodes # related to a SAML IDP partner diff --git a/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/CTrees.pm b/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/CTrees.pm index fd45645ae..48bac45ae 100644 --- a/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/CTrees.pm +++ b/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/CTrees.pm @@ -222,6 +222,8 @@ sub cTrees { 'casSrvMetaDataOptionsRenew', 'casSrvMetaDataOptionsGateway', 'casSrvMetaDataOptionsProxiedServices', + 'casSrvMetaDataOptionsDisplayName', + 'casSrvMetaDataOptionsIcon', ] }, 'casSrvMetaDataExportedVars', diff --git a/lemonldap-ng-manager/site/htdocs/static/languages/en.json b/lemonldap-ng-manager/site/htdocs/static/languages/en.json index 0bdbfaa54..fad92568b 100644 --- a/lemonldap-ng-manager/site/htdocs/static/languages/en.json +++ b/lemonldap-ng-manager/site/htdocs/static/languages/en.json @@ -115,7 +115,9 @@ "casSrv": "CAS Server", "casSrvMetaDataExportedVars": "Exported attributes", "casSrvMetaDataOptions": "Options", +"casSrvMetaDataOptionsDisplayName": "Name to display", "casSrvMetaDataOptionsGateway": "Gateway authentication", +"casSrvMetaDataOptionsIcon": "Icon path", "casSrvMetaDataOptionsRenew": "Renew authentication", "casSrvMetaDataOptionsProxiedServices": "Proxied services", "casSrvMetaDataOptionsUrl": "Server URL", diff --git a/lemonldap-ng-manager/site/htdocs/static/languages/fr.json b/lemonldap-ng-manager/site/htdocs/static/languages/fr.json index eb4bfc179..de73ca2d7 100644 --- a/lemonldap-ng-manager/site/htdocs/static/languages/fr.json +++ b/lemonldap-ng-manager/site/htdocs/static/languages/fr.json @@ -115,7 +115,9 @@ "casSrv": "Serveur CAS", "casSrvMetaDataExportedVars": "Attributs exportés", "casSrvMetaDataOptions": "Options", +"casSrvMetaDataOptionsDisplayName": "Nom à afficher", "casSrvMetaDataOptionsGateway": "Authentification transparente", +"casSrvMetaDataOptionsIcon": "Chemin de l'icône", "casSrvMetaDataOptionsRenew": "Renouveller l'authentication", "casSrvMetaDataOptionsProxiedServices": "Services mandatés", "casSrvMetaDataOptionsUrl": "URL du serveur",