Add casAccessControlPolicy parameter in Manager (#361)
This commit is contained in:
parent
0c57d951fb
commit
6826cfaf6a
@ -745,6 +745,15 @@ function zimbraByParams(id) {
|
||||
],lmdata(id));
|
||||
display('select',lmtext(id));
|
||||
}
|
||||
function casAccessControlPolicyParams(id) {
|
||||
currentId=id;
|
||||
formateSelect('select',[
|
||||
'none=None',
|
||||
'error=Display error on portal',
|
||||
'faketicket=Send a fake service ticket',
|
||||
],lmdata(id));
|
||||
display('select',lmtext(id));
|
||||
}
|
||||
function btext(id) {
|
||||
currentId=id;
|
||||
$('#btextKey').attr('value',lmtext(id));
|
||||
|
@ -9,7 +9,7 @@ use strict;
|
||||
use Lemonldap::NG::Common::Conf::SAML::Metadata;
|
||||
use Lemonldap::NG::Common::Regexp;
|
||||
|
||||
our $VERSION = '1.1.0';
|
||||
our $VERSION = '1.1.2';
|
||||
|
||||
## @method protected hashref cstruct(hashref h,string k)
|
||||
# Merge $h with the structure produced with $k and return it.
|
||||
@ -640,8 +640,12 @@ sub struct {
|
||||
issuerDBCASRule =>
|
||||
'text:/issuerDBCASRule:issuerdbCAS:boolOrPerlExpr',
|
||||
issuerDBCASOptions => {
|
||||
_nodes => [qw(casAttr casStorage cn:casStorageOptions)],
|
||||
_nodes => [
|
||||
qw(casAttr casAccessControlPolicy casStorage cn:casStorageOptions)
|
||||
],
|
||||
casAttr => 'text:/casAttr',
|
||||
casAccessControlPolicy =>
|
||||
'select:/casAccessControlPolicy:issuerdbCAS:casAccessControlPolicyParams',
|
||||
casStorage => 'text:/casStorage',
|
||||
casStorageOptions => {
|
||||
_nodes =>
|
||||
@ -1695,6 +1699,7 @@ sub testStruct {
|
||||
keyMsgFail => 'Bad CAS proxied service identifier',
|
||||
},
|
||||
casAttr => $testNotDefined,
|
||||
casAccessControlPolicy => $testNotDefined,
|
||||
casStorage => {
|
||||
test => qr/^[\w:]*$/,
|
||||
msgFail => 'Bad module name',
|
||||
@ -1813,6 +1818,7 @@ sub defaultConf {
|
||||
authentication => 'LDAP',
|
||||
authChoiceParam => 'lmAuth',
|
||||
CAS_pgtFile => '/tmp/pgt.txt',
|
||||
casAccessControlPolicy => 'none',
|
||||
cda => '0',
|
||||
cookieName => 'lemonldap',
|
||||
domain => 'example.com',
|
||||
|
@ -9,7 +9,7 @@ package Lemonldap::NG::Manager::_i18n;
|
||||
|
||||
use strict;
|
||||
use AutoLoader qw(AUTOLOAD);
|
||||
our $VERSION = '1.1.0';
|
||||
our $VERSION = '1.1.2';
|
||||
|
||||
## @method string translate(string text,string lang)
|
||||
# Returns $text translated in $lang.
|
||||
@ -106,6 +106,7 @@ sub en {
|
||||
CAS_proxiedServices => 'Proxied services',
|
||||
CAS_renew => 'Renew authentication',
|
||||
CAS_url => 'Server URL',
|
||||
casAccessControlPolicy => 'Access control policy',
|
||||
casAttr => 'CAS login',
|
||||
casParams => 'CAS parameters',
|
||||
casStorage => 'CAS sessions module name',
|
||||
@ -536,6 +537,7 @@ sub fr {
|
||||
CAS_renew => 'Renouveller l\'authentication',
|
||||
CAS_proxiedServices => 'Services mandatés',
|
||||
CAS_url => 'URL du serveur',
|
||||
casAccessControlPolicy => "Politique de contrôle d'accès",
|
||||
casAttr => 'Identifiant CAS',
|
||||
casParams => 'Paramètres CAS',
|
||||
casStorage => 'Nom du module des session CAS',
|
||||
|
Loading…
Reference in New Issue
Block a user