Add "rest" parameter (#970)

This commit is contained in:
Xavier Guimard 2017-01-06 16:18:43 +00:00
parent 3f22d3132b
commit b28fbd23aa
8 changed files with 19 additions and 4 deletions

View File

@ -201,6 +201,7 @@ sub defaultValues {
'http://auth.example.com/Lemonldap/NG/Common/CGI/SOAPService',
'proxy' => 'http://auth.example.com/index.pl/sessions'
},
'rest' => 0,
'samlAttributeAuthorityDescriptorAttributeServiceSOAP' =>
'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/AA/SOAP;',
'samlAuthnContextMapKerberos' => 4,

View File

@ -2024,6 +2024,10 @@ qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.]
'remotePortal' => {
'type' => 'text'
},
'rest' => {
'default' => 0,
'type' => 'bool'
},
'samlAttributeAuthorityDescriptorAttributeServiceSOAP' => {
'default' =>
'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/AA/SOAP;',

View File

@ -943,6 +943,13 @@ sub attributes {
documentation => 'Allow only one session per user on an IP',
},
# REST server
rest => {
default => 0,
type => 'bool',
documentation => 'Enable REST services',
},
# SOAP server
Soap => {
default => 0,

View File

@ -510,6 +510,7 @@ sub tree {
help => 'start.html#advanced_features',
nodes => [
'customFunctions',
'rest',
{
title => 'soap',
form => 'simpleInputContainer',

View File

@ -544,6 +544,7 @@
"remoteParams": "Remote parameters",
"remotePortal": "Portal URL",
"replaceByFile": "Replace by file",
"rest": "Portal REST server",
"restore": "Restore",
"restoreConf": "Restore configuration",
"returnUrl": "Return URL",
@ -588,7 +589,7 @@
"SMTPAuthPass": "SMTP password",
"SMTPAuthUser": "SMTP user",
"SMTPServer": "SMTP server",
"soap": "SOAP",
"soap": "Portal SOAP server",
"Soap": "Activation",
"soapAuthService": "Portal URL",
"soapSessionService": "SOAP sessions end point",

View File

@ -544,6 +544,7 @@
"remoteParams": "Paramètres Remote",
"remotePortal": "URL du portail",
"replaceByFile": "Remplacer par le fichier",
"rest": "Serveur REST du portail",
"restore": "Restaurer",
"restoreConf": "Restaurer la configuration",
"returnUrl": "URL de retour",
@ -588,7 +589,7 @@
"SMTPAuthPass": "Mot de passe SMTP",
"SMTPAuthUser": "Utilisateur SMTP",
"SMTPServer": "Serveur SMTP",
"soap": "SOAP",
"soap": "Serveur SOAP du portail",
"Soap": "Activation",
"soapAuthService": "URL du portail",
"soapSessionService": "Point d'accès SOAP des sessions",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long