public static function LdapAuthorizationConsumerConf::field_to_properties_map in Lightweight Directory Access Protocol (LDAP) 7.2
Same name and namespace in other branches
- 8.2 ldap_authorization/LdapAuthorizationConsumerConf.class.php \LdapAuthorizationConsumerConf::field_to_properties_map()
Direct mapping of db to object properties.
2 calls to LdapAuthorizationConsumerConf::field_to_properties_map()
- LdapAuthorizationBasicTests::testUIForms in ldap_authorization/
tests/ BasicTests.test - LdapAuthorizationConsumerConf::loadFromDb in ldap_authorization/
LdapAuthorizationConsumerConf.class.php
File
- ldap_authorization/
LdapAuthorizationConsumerConf.class.php, line 119 - Class to encapsulate an ldap entry to authorization consumer ids mapping configuration.
Class
- LdapAuthorizationConsumerConf
- LDAP Authorization Consumer Configuration.
Code
public static function field_to_properties_map() {
return [
'sid' => 'sid',
'consumer_type' => 'consumerType',
'numeric_consumer_conf_id' => 'numericConsumerConfId',
'status' => 'status',
'only_ldap_authenticated' => 'onlyApplyToLdapAuthenticated',
'use_first_attr_as_groupid' => 'useFirstAttrAsGroupId',
'mappings' => 'mappings',
'use_filter' => 'useMappingsAsFilter',
'synch_to_ldap' => 'synchToLdap',
'synch_on_logon' => 'synchOnLogon',
'regrant_ldap_provisioned' => 'regrantLdapProvisioned',
'revoke_ldap_provisioned' => 'revokeLdapProvisioned',
'create_consumers' => 'createConsumers',
];
}