BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
LdapAuthentication.php File Reference

Functions

 efLdapAuthenticationSchemaUpdates ($updater)
 
 AutoAuthSetup ()
 

Variables

 $wgLDAPDomainNames = array()
 
 $wgLDAPServerNames = array()
 
 $wgLDAPUseLocal = false
 
 $wgLDAPEncryptionType = array()
 
 $wgLDAPOptions = array()
 
 $wgLDAPPort = array()
 
 $wgLDAPSearchStrings = array()
 
 $wgLDAPProxyAgent = array()
 
 $wgLDAPProxyAgentPassword = array()
 
 $wgLDAPSearchAttributes = array()
 
 $wgLDAPBaseDNs = array()
 
 $wgLDAPGroupBaseDNs = array()
 
 $wgLDAPUserBaseDNs = array()
 
 $wgLDAPWriterDN = array()
 
 $wgLDAPWriterPassword = array()
 
 $wgLDAPWriteLocation = array()
 
 $wgLDAPAddLDAPUsers = array()
 
 $wgLDAPUpdateLDAP = array()
 
 $wgLDAPPasswordHash = array()
 
 $wgLDAPMailPassword = array()
 
 $wgLDAPPreferences = array()
 
 $wgLDAPDisableAutoCreate = array()
 
 $wgLDAPDebug = 0
 
 $wgLDAPGroupUseFullDN = array()
 
 $wgLDAPLowerCaseUsername = array()
 
 $wgLDAPGroupUseRetrievedUsername = array()
 
 $wgLDAPGroupObjectclass = array()
 
 $wgLDAPGroupAttribute = array()
 
 $wgLDAPGroupNameAttribute = array()
 
 $wgLDAPGroupsUseMemberOf = array()
 
 $wgLDAPUseLDAPGroups = array()
 
 $wgLDAPLocallyManagedGroups = array()
 
 $wgLDAPGroupsPrevail = array()
 
 $wgLDAPRequiredGroups = array()
 
 $wgLDAPExcludedGroups = array()
 
 $wgLDAPGroupSearchNestedGroups = array()
 
 $wgLDAPAuthAttribute = array()
 
 $wgLDAPAutoAuthUsername = ""
 
 $wgLDAPAutoAuthDomain = ""
 
 $wgPasswordResetRoutes ['domain'] = true
 
 $wgLDAPActiveDirectory = array()
 
const LDAPAUTHVERSION "2.1.0"
 
 $wgExtensionCredits ['other'][]
 
 $wgAutoloadClasses ['LdapAuthenticationPlugin'] = __DIR__ . '/LdapAuthenticationPlugin.php'
 
 $wgAutoloadClasses ['LdapPrimaryAuthenticationProvider'] = __DIR__ . '/LdapPrimaryAuthenticationProvider.php'
 
 $wgMessagesDirs ['LdapAuthentication'] = __DIR__ . '/i18n'
 
 $wgHooks ['LoadExtensionSchemaUpdates'][] = 'efLdapAuthenticationSchemaUpdates'
 
const GROUPDN 0
 
const USERDN 1
 
const DEFAULTDN 2
 
const NONSENSITIVE 1
 
const SENSITIVE 2
 
const HIGHLYSENSITIVE 3
 

Detailed Description

LdapAuthentication plugin. LDAP Authentication and authorization integration with MediaWiki.

Function Documentation

AutoAuthSetup ( )

Sets up the auto-authentication piece of the LDAP plugin.

public

Todo:
If you want to make AutoAuthSetup() work in an AuthManager world, what you need to do is figure out how to do it with a SessionProvider instead of the hackiness below. You'll probably want an ImmutableSessionProviderWithCookie subclass where provideSessionInfo() does the first part of LdapAutoAuthentication::Authenticate() (stop before the $localId bit).
efLdapAuthenticationSchemaUpdates (   $updater)
Parameters
$updaterDatabaseUpdater
Returns
bool

Variable Documentation

$wgExtensionCredits['other'][]
Initial value:
= array(
'path' => __FILE__,
'name' => 'LDAP Authentication Plugin',
'version' => LDAPAUTHVERSION,
'author' => 'Ryan Lane',
'descriptionmsg' => 'ldapauthentication-desc',
'url' => 'https://www.mediawiki.org/wiki/Extension:LDAP_Authentication',
'license-name' => 'GPL-2.0+',
)

Add extension information to Special:Version