public function LdapAuthorizationConsumerAbstract::normalizeMappings in Lightweight Directory Access Protocol (LDAP) 7
Same name and namespace in other branches
- 8.2 ldap_authorization/LdapAuthorizationConsumerAbstract.class.php \LdapAuthorizationConsumerAbstract::normalizeMappings()
- 7.2 ldap_authorization/LdapAuthorizationConsumerAbstract.class.php \LdapAuthorizationConsumerAbstract::normalizeMappings()
function to normalize mappings should be overridden when mappings are not stored as map|authorization_id format where authorization_id is the format returned by LdapAuthorizationConsumerAbstract::usersAuthorizations()
for example ldap_authorization_og may store mapping target as: Campus Accounts|group-name=knitters,role-name=administrator member
but the target authorization_id format is in the form gid-rid such as 2-3
1 call to LdapAuthorizationConsumerAbstract::normalizeMappings()
- LdapAuthorizationConsumerDrupalRole::validateAuthorizationMappingTarget in ldap_authorization/
ldap_authorization_drupal_role/ LdapAuthorizationConsumerRole.class.php
1 method overrides LdapAuthorizationConsumerAbstract::normalizeMappings()
- LdapAuthorizationConsumerOG::normalizeMappings in ldap_authorization/
ldap_authorization_og/ LdapAuthorizationConsumerOG.class.php - function to normalize mappings should be overridden when mappings are not stored as map|authorization_id format where authorization_id is the format returned by LdapAuthorizationConsumerAbstract::usersAuthorizations()
File
- ldap_authorization/
LdapAuthorizationConsumerAbstract.class.php, line 109 - abstract class to represent an ldap_authorization consumer such as drupal_role, og_group, etc. each authorization comsumer will extend this class with its own class named LdapAuthorizationConsumer<consumer type> such as…
Class
- LdapAuthorizationConsumerAbstract
- @file abstract class to represent an ldap_authorization consumer such as drupal_role, og_group, etc. each authorization comsumer will extend this class with its own class named LdapAuthorizationConsumer<consumer type> such as…
Code
public function normalizeMappings($mappings) {
return $mappings;
}