Add "rest" parameter (#970)
This commit is contained in:
parent
3f22d3132b
commit
b28fbd23aa
|
@ -201,6 +201,7 @@ sub defaultValues {
|
||||||
'http://auth.example.com/Lemonldap/NG/Common/CGI/SOAPService',
|
'http://auth.example.com/Lemonldap/NG/Common/CGI/SOAPService',
|
||||||
'proxy' => 'http://auth.example.com/index.pl/sessions'
|
'proxy' => 'http://auth.example.com/index.pl/sessions'
|
||||||
},
|
},
|
||||||
|
'rest' => 0,
|
||||||
'samlAttributeAuthorityDescriptorAttributeServiceSOAP' =>
|
'samlAttributeAuthorityDescriptorAttributeServiceSOAP' =>
|
||||||
'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/AA/SOAP;',
|
'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/AA/SOAP;',
|
||||||
'samlAuthnContextMapKerberos' => 4,
|
'samlAuthnContextMapKerberos' => 4,
|
||||||
|
|
|
@ -2024,6 +2024,10 @@ qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.]
|
||||||
'remotePortal' => {
|
'remotePortal' => {
|
||||||
'type' => 'text'
|
'type' => 'text'
|
||||||
},
|
},
|
||||||
|
'rest' => {
|
||||||
|
'default' => 0,
|
||||||
|
'type' => 'bool'
|
||||||
|
},
|
||||||
'samlAttributeAuthorityDescriptorAttributeServiceSOAP' => {
|
'samlAttributeAuthorityDescriptorAttributeServiceSOAP' => {
|
||||||
'default' =>
|
'default' =>
|
||||||
'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/AA/SOAP;',
|
'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/AA/SOAP;',
|
||||||
|
|
|
@ -943,6 +943,13 @@ sub attributes {
|
||||||
documentation => 'Allow only one session per user on an IP',
|
documentation => 'Allow only one session per user on an IP',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
# REST server
|
||||||
|
rest => {
|
||||||
|
default => 0,
|
||||||
|
type => 'bool',
|
||||||
|
documentation => 'Enable REST services',
|
||||||
|
},
|
||||||
|
|
||||||
# SOAP server
|
# SOAP server
|
||||||
Soap => {
|
Soap => {
|
||||||
default => 0,
|
default => 0,
|
||||||
|
|
|
@ -510,6 +510,7 @@ sub tree {
|
||||||
help => 'start.html#advanced_features',
|
help => 'start.html#advanced_features',
|
||||||
nodes => [
|
nodes => [
|
||||||
'customFunctions',
|
'customFunctions',
|
||||||
|
'rest',
|
||||||
{
|
{
|
||||||
title => 'soap',
|
title => 'soap',
|
||||||
form => 'simpleInputContainer',
|
form => 'simpleInputContainer',
|
||||||
|
|
|
@ -544,6 +544,7 @@
|
||||||
"remoteParams": "Remote parameters",
|
"remoteParams": "Remote parameters",
|
||||||
"remotePortal": "Portal URL",
|
"remotePortal": "Portal URL",
|
||||||
"replaceByFile": "Replace by file",
|
"replaceByFile": "Replace by file",
|
||||||
|
"rest": "Portal REST server",
|
||||||
"restore": "Restore",
|
"restore": "Restore",
|
||||||
"restoreConf": "Restore configuration",
|
"restoreConf": "Restore configuration",
|
||||||
"returnUrl": "Return URL",
|
"returnUrl": "Return URL",
|
||||||
|
@ -588,7 +589,7 @@
|
||||||
"SMTPAuthPass": "SMTP password",
|
"SMTPAuthPass": "SMTP password",
|
||||||
"SMTPAuthUser": "SMTP user",
|
"SMTPAuthUser": "SMTP user",
|
||||||
"SMTPServer": "SMTP server",
|
"SMTPServer": "SMTP server",
|
||||||
"soap": "SOAP",
|
"soap": "Portal SOAP server",
|
||||||
"Soap": "Activation",
|
"Soap": "Activation",
|
||||||
"soapAuthService": "Portal URL",
|
"soapAuthService": "Portal URL",
|
||||||
"soapSessionService": "SOAP sessions end point",
|
"soapSessionService": "SOAP sessions end point",
|
||||||
|
|
|
@ -544,6 +544,7 @@
|
||||||
"remoteParams": "Paramètres Remote",
|
"remoteParams": "Paramètres Remote",
|
||||||
"remotePortal": "URL du portail",
|
"remotePortal": "URL du portail",
|
||||||
"replaceByFile": "Remplacer par le fichier",
|
"replaceByFile": "Remplacer par le fichier",
|
||||||
|
"rest": "Serveur REST du portail",
|
||||||
"restore": "Restaurer",
|
"restore": "Restaurer",
|
||||||
"restoreConf": "Restaurer la configuration",
|
"restoreConf": "Restaurer la configuration",
|
||||||
"returnUrl": "URL de retour",
|
"returnUrl": "URL de retour",
|
||||||
|
@ -588,7 +589,7 @@
|
||||||
"SMTPAuthPass": "Mot de passe SMTP",
|
"SMTPAuthPass": "Mot de passe SMTP",
|
||||||
"SMTPAuthUser": "Utilisateur SMTP",
|
"SMTPAuthUser": "Utilisateur SMTP",
|
||||||
"SMTPServer": "Serveur SMTP",
|
"SMTPServer": "Serveur SMTP",
|
||||||
"soap": "SOAP",
|
"soap": "Serveur SOAP du portail",
|
||||||
"Soap": "Activation",
|
"Soap": "Activation",
|
||||||
"soapAuthService": "URL du portail",
|
"soapAuthService": "URL du portail",
|
||||||
"soapSessionService": "Point d'accès SOAP des sessions",
|
"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
Loading…
Reference in New Issue
Block a user