class Server in Lightweight Directory Access Protocol (LDAP) 8.4
Same name and namespace in other branches
- 8.3 ldap_servers/src/Entity/Server.php \Drupal\ldap_servers\Entity\Server
Defines the Server entity.
Plugin annotation
@ConfigEntityType(
id = "ldap_server",
label = @Translation("LDAP Server"),
handlers = {
"list_builder" = "Drupal\ldap_servers\ServerListBuilder",
"form" = {
"add" = "Drupal\ldap_servers\Form\ServerForm",
"edit" = "Drupal\ldap_servers\Form\ServerForm",
"delete" = "Drupal\ldap_servers\Form\ServerDeleteForm",
"test" = "Drupal\ldap_servers\Form\ServerTestForm",
"enable_disable" = "Drupal\ldap_servers\Form\ServerEnableDisableForm"
}
},
config_prefix = "server",
admin_permission = "administer ldap",
entity_keys = {
"id" = "id",
"label" = "label",
"uuid" = "uuid"
},
links = {
"edit-form" = "/admin/config/people/ldap/server/{server}/edit",
"delete-form" = "/admin/config/people/ldap/server/{server}/delete",
"collection" = "/admin/config/people/ldap/server"
},
config_export = {
"id",
"label",
"type",
"uuid",
"account_name_attr",
"address",
"basedn",
"bind_method",
"binddn",
"bindpw",
"encryption",
"grp_derive_from_dn_attr",
"grp_derive_from_dn",
"grp_memb_attr_match_user_attr",
"grp_memb_attr",
"grp_nested",
"grp_object_cat",
"grp_test_grp_dn_writeable",
"grp_test_grp_dn",
"grp_unused",
"grp_user_memb_attr_exists",
"grp_user_memb_attr",
"mail_attr",
"mail_template",
"picture_attr",
"port",
"status",
"testing_drupal_user_dn",
"testing_drupal_username",
"timeout",
"unique_persistent_attr_binary",
"unique_persistent_attr",
"user_attr",
"user_dn_expression",
"weight",
}
)
Hierarchy
- class \Drupal\Core\Entity\EntityBase implements EntityInterface uses RefinableCacheableDependencyTrait, DependencySerializationTrait
- class \Drupal\Core\Config\Entity\ConfigEntityBase implements ConfigEntityInterface uses SynchronizableEntityTrait, PluginDependencyTrait
- class \Drupal\ldap_servers\Entity\Server implements ServerInterface uses StringTranslationTrait, LdapTransformationTraits
- class \Drupal\Core\Config\Entity\ConfigEntityBase implements ConfigEntityInterface uses SynchronizableEntityTrait, PluginDependencyTrait
Expanded class hierarchy of Server
14 files declare their use of Server
- FakeBridge.php in ldap_servers/
tests/ modules/ ldap_servers_dummy/ src/ FakeBridge.php - FieldProvider.php in ldap_user/
src/ FieldProvider.php - FieldProviderTest.php in ldap_user/
tests/ src/ Kernel/ FieldProviderTest.php - GroupManagerTest.php in ldap_servers/
tests/ src/ Kernel/ GroupManagerTest.php - LdapBaseManager.php in ldap_servers/
src/ LdapBaseManager.php
2 string references to 'Server'
- QueryEntityListBuilder::buildHeader in ldap_query/
src/ QueryEntityListBuilder.php - Builds the header row for the entity listing.
- ServerForm::form in ldap_servers/
src/ Form/ ServerForm.php - Gets the actual form array to be built.
File
- ldap_servers/
src/ Entity/ Server.php, line 81
Namespace
Drupal\ldap_servers\EntityView source
class Server extends ConfigEntityBase implements ServerInterface {
use LdapTransformationTraits;
use StringTranslationTrait;
/**
* Logger channel.
*
* @var \Psr\Log\LoggerInterface
*/
protected $logger;
/**
* LDAP Details logger.
*
* @var \Drupal\ldap_servers\Logger\LdapDetailLog
*/
protected $detailLog;
/**
* Token processor.
*
* @var \Drupal\ldap_servers\Processor\TokenProcessor
*/
protected $tokenProcessor;
/**
* Module handler.
*
* @var \Drupal\Core\Extension\ModuleHandler
*/
protected $moduleHandler;
/**
* Server machine name.
*
* @var string
*/
protected $id;
/**
* Human readable name.
*
* @var string
*/
protected $label;
/**
* Server type.
*
* @var string
*/
protected $type;
/**
* LDAP Server connection.
*
* @var resource|false
*/
protected $connection = FALSE;
/**
* Account name attribute.
*
* @var string
*/
protected $account_name_attr;
/**
* Server address.
*
* @var string
*/
protected $address;
/**
* Base DN.
*
* @var array
*/
protected $basedn;
/**
* Bind method.
*
* @var string
*/
protected $bind_method;
/**
* Bind DN.
*
* @var string
*/
protected $binddn;
/**
* Bind password.
*
* @var string
*/
protected $bindpw;
/**
* Attribute of the User's LDAP Entry DN which contains the group.
*
* @var string
*/
protected $grp_derive_from_dn_attr;
/**
* Groups are derived from user's LDAP entry DN.
*
* @var bool
*/
protected $grp_derive_from_dn = FALSE;
/**
* User attribute held in "LDAP Group Entry Attribute Holding...".
*
* @var string
*/
protected $grp_memb_attr_match_user_attr;
/**
* LDAP Group Entry Attribute Holding User's DN, CN, etc.
*
* @var string
*/
protected $grp_memb_attr;
/**
* Nested groups are used in my LDAP.
*
* @var bool
*/
protected $grp_nested = FALSE;
/**
* Name of Group Object Class.
*
* @var string
*/
protected $grp_object_cat;
/**
* Testing LDAP Group DN that is writable.
*
* @var string
*/
protected $grp_test_grp_dn_writeable;
/**
* Testing LDAP Group DN.
*
* @var string
*/
protected $grp_test_grp_dn;
/**
* Groups are not relevant to this Drupal site.
*
* @var bool
*/
protected $grp_unused = TRUE;
/**
* Attribute in User Entry Containing Groups.
*
* @var bool
*/
protected $grp_user_memb_attr_exists;
/**
* Attribute in User Entry Containing Groups.
*
* @var string
*/
protected $grp_user_memb_attr;
/**
* Email attribute.
*
* @var string
*/
protected $mail_attr;
/**
* Email template.
*
* @var string
*/
protected $mail_template;
/**
* Thumbnail attribute.
*
* @var string
*/
protected $picture_attr;
/**
* Port.
*
* @var int
*/
protected $port;
/**
* DN of testing username.
*
* @var string
*/
protected $testing_drupal_user_dn;
/**
* Testing Drupal Username.
*
* @var string
*/
protected $testing_drupal_username;
/**
* Timeout.
*
* @var int
*/
protected $timeout;
/**
* Use Start-TLS.
*
* @var bool
*/
protected $tls = FALSE;
/**
* Does PUID hold a binary value?
*
* @var bool
*/
protected $unique_persistent_attr_binary;
/**
* Persistent and Unique User ID Attribute.
*
* @var string
*/
protected $unique_persistent_attr;
/**
* Authentication name attribute.
*
* @var string
*/
protected $user_attr;
/**
* Expression for user DN.
*
* @var string
*/
protected $user_dn_expression;
/**
* Weight.
*
* @var int
*/
protected $weight;
/**
* Constructor.
*
* @param array $values
* Values.
* @param string $entity_type
* Entity Type.
*/
public function __construct(array $values, $entity_type) {
parent::__construct($values, $entity_type);
$this->logger = \Drupal::logger('ldap_servers');
$this->detailLog = \Drupal::service('ldap.detail_log');
$this->tokenProcessor = \Drupal::service('ldap.token_processor');
$this->moduleHandler = \Drupal::service('module_handler');
}
/**
* {@inheritdoc}
*/
public function getFormattedBind() : TranslatableMarkup {
switch ($this
->get('bind_method')) {
case 'service_account':
default:
$namedBind = $this
->t('service account bind');
break;
case 'user':
$namedBind = $this
->t('user credentials bind');
break;
case 'anon':
$namedBind = $this
->t('anonymous bind (search), then user credentials');
break;
case 'anon_user':
$namedBind = $this
->t('anonymous bind');
break;
}
return $namedBind;
}
/**
* {@inheritdoc}
*/
public function getBaseDn() : array {
return $this
->get('basedn');
}
/**
* {@inheritdoc}
*/
public function deriveUsernameFromLdapResponse(Entry $ldap_entry) : string {
$accountName = '';
if ($this
->getAccountNameAttribute()) {
if ($ldap_entry
->hasAttribute($this
->getAccountNameAttribute(), FALSE)) {
$accountName = $ldap_entry
->getAttribute($this
->getAccountNameAttribute(), FALSE)[0];
}
}
elseif ($this
->getAuthenticationNameAttribute()) {
if ($ldap_entry
->hasAttribute($this
->getAuthenticationNameAttribute(), FALSE)) {
$accountName = $ldap_entry
->getAttribute($this
->getAuthenticationNameAttribute(), FALSE)[0];
}
}
return $accountName;
}
/**
* {@inheritdoc}
*/
public function deriveEmailFromLdapResponse(Entry $ldap_entry) : string {
$mail = '';
// Not using template.
if ($this
->getMailAttribute() && $ldap_entry
->hasAttribute($this
->getMailAttribute(), FALSE)) {
$mail = $ldap_entry
->getAttribute($this
->getMailAttribute(), FALSE)[0];
}
elseif ($this
->getMailTemplate()) {
// Template is of form [cn]@illinois.edu.
$mail = $this->tokenProcessor
->ldapEntryReplacementsForDrupalAccount($ldap_entry, $this
->getMailTemplate());
}
return $mail;
}
/**
* {@inheritdoc}
*/
public function derivePuidFromLdapResponse(Entry $ldapEntry) : string {
$puid = '';
if ($this
->getUniquePersistentAttribute() && $ldapEntry
->hasAttribute($this
->getUniquePersistentAttribute(), FALSE)) {
$puid = $ldapEntry
->getAttribute($this
->getUniquePersistentAttribute(), FALSE)[0];
if ($this
->isUniquePersistentAttributeBinary()) {
$puid = bin2hex($puid);
}
}
return $puid;
}
/**
* {@inheritdoc}
*/
public function getAccountNameAttribute() : ?string {
return $this->account_name_attr;
}
/**
* {@inheritdoc}
*/
public function hasAccountNameAttribute() : bool {
return !empty($this->account_name_attr);
}
/**
* {@inheritdoc}
*/
public function getServerAddress() : string {
return $this->address;
}
/**
* {@inheritdoc}
*/
public function getBindMethod() : string {
return $this->bind_method;
}
/**
* {@inheritdoc}
*/
public function getBindDn() : ?string {
return $this->binddn;
}
/**
* {@inheritdoc}
*/
public function getBindPassword() : ?string {
return $this->bindpw;
}
/**
* {@inheritdoc}
*/
public function getDerivedGroupFromDnAttribute() : ?string {
return $this->grp_derive_from_dn_attr;
}
/**
* {@inheritdoc}
*/
public function isGroupDerivedFromDn() : bool {
return $this->grp_derive_from_dn;
}
/**
* {@inheritdoc}
*/
public function getUserAttributeFromGroupMembershipEntryAttribute() : ?string {
return $this->grp_memb_attr_match_user_attr;
}
/**
* {@inheritdoc}
*/
public function getGroupMembershipAttribute() : ?string {
return $this->grp_memb_attr;
}
/**
* {@inheritdoc}
*/
public function isGrouppNested() : bool {
return $this->grp_nested;
}
/**
* {@inheritdoc}
*/
public function getGroupObjectClass() : ?string {
return $this->grp_object_cat;
}
/**
* {@inheritdoc}
*/
public function getGroupTestGroupDnWriteable() : ?string {
return $this->grp_test_grp_dn_writeable;
}
/**
* {@inheritdoc}
*/
public function getGroupTestGroupDn() : ?string {
return $this->grp_test_grp_dn;
}
/**
* {@inheritdoc}
*/
public function isGroupUnused() : bool {
return $this->grp_unused;
}
/**
* {@inheritdoc}
*/
public function isGroupUserMembershipAttributeInUse() : bool {
return $this->grp_user_memb_attr_exists;
}
/**
* {@inheritdoc}
*/
public function getGroupUserMembershipAttribute() : ?string {
return $this->grp_user_memb_attr;
}
/**
* {@inheritdoc}
*/
public function getMailAttribute() : ?string {
return $this->mail_attr;
}
/**
* {@inheritdoc}
*/
public function getMailTemplate() : ?string {
return $this->mail_template;
}
/**
* {@inheritdoc}
*/
public function getPictureAttribute() : ?string {
return $this->picture_attr;
}
/**
* {@inheritdoc}
*/
public function getPort() : int {
return $this->port;
}
/**
* {@inheritdoc}
*/
public function isActive() : bool {
return $this->status;
}
/**
* {@inheritdoc}
*/
public function getTestingDrupalUserDn() : ?string {
return $this->testing_drupal_user_dn;
}
/**
* {@inheritdoc}
*/
public function getTestingDrupalUsername() : ?string {
return $this->testing_drupal_username;
}
/**
* {@inheritdoc}
*/
public function getTimeout() : int {
return $this->timeout;
}
/**
* {@inheritdoc}
*/
public function isUniquePersistentAttributeBinary() : bool {
return $this->unique_persistent_attr_binary ?: FALSE;
}
/**
* {@inheritdoc}
*/
public function getUniquePersistentAttribute() : ?string {
return $this->unique_persistent_attr;
}
/**
* {@inheritdoc}
*/
public function getAuthenticationNameAttribute() : ?string {
return $this->user_attr;
}
/**
* {@inheritdoc}
*/
public function getUserDnExpression() : ?string {
return $this->user_dn_expression;
}
/**
* {@inheritdoc}
*/
public function getWeight() : int {
return $this->weight;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheableDependencyTrait:: |
protected | property | Cache contexts. | |
CacheableDependencyTrait:: |
protected | property | Cache max-age. | |
CacheableDependencyTrait:: |
protected | property | Cache tags. | |
CacheableDependencyTrait:: |
protected | function | Sets cacheability; useful for value object constructors. | |
ConfigEntityBase:: |
private | property | Whether the config is being deleted by the uninstall process. | |
ConfigEntityBase:: |
protected | property | The language code of the entity's default language. | |
ConfigEntityBase:: |
protected | property | The original ID of the configuration entity. | |
ConfigEntityBase:: |
protected | property | The enabled/disabled status of the configuration entity. | 4 |
ConfigEntityBase:: |
protected | property | Third party entity settings. | |
ConfigEntityBase:: |
protected | property | Trust supplied data and not use configuration schema on save. | |
ConfigEntityBase:: |
protected | property | The UUID for this entity. | |
ConfigEntityBase:: |
protected | property | Information maintained by Drupal core about configuration. | |
ConfigEntityBase:: |
protected | function | Overrides \Drupal\Core\Entity\DependencyTrait:addDependency(). | |
ConfigEntityBase:: |
public | function |
Calculates dependencies and stores them in the dependency property. Overrides ConfigEntityInterface:: |
13 |
ConfigEntityBase:: |
public | function |
Creates a duplicate of the entity. Overrides EntityBase:: |
1 |
ConfigEntityBase:: |
public | function |
Disables the configuration entity. Overrides ConfigEntityInterface:: |
1 |
ConfigEntityBase:: |
public | function |
Enables the configuration entity. Overrides ConfigEntityInterface:: |
|
ConfigEntityBase:: |
public | function |
Returns the value of a property. Overrides ConfigEntityInterface:: |
|
ConfigEntityBase:: |
public | function |
Returns the cache tags that should be used to invalidate caches. Overrides EntityBase:: |
1 |
ConfigEntityBase:: |
public | function |
Gets the configuration dependency name. Overrides EntityBase:: |
|
ConfigEntityBase:: |
protected static | function | Gets the configuration manager. | |
ConfigEntityBase:: |
public | function |
Gets the configuration target identifier for the entity. Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Gets the configuration dependencies. Overrides ConfigEntityInterface:: |
|
ConfigEntityBase:: |
public | function |
Gets the original ID. Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Gets the list of third parties that store information. Overrides ThirdPartySettingsInterface:: |
|
ConfigEntityBase:: |
public | function |
Gets the value of a third-party setting. Overrides ThirdPartySettingsInterface:: |
|
ConfigEntityBase:: |
public | function |
Gets all third-party settings of a given module. Overrides ThirdPartySettingsInterface:: |
|
ConfigEntityBase:: |
protected | function | Gets the typed config manager. | |
ConfigEntityBase:: |
public | function |
Gets whether on not the data is trusted. Overrides ConfigEntityInterface:: |
|
ConfigEntityBase:: |
protected static | function |
Override to never invalidate the individual entities' cache tags; the
config system already invalidates them. Overrides EntityBase:: |
|
ConfigEntityBase:: |
protected | function |
Override to never invalidate the entity's cache tag; the config system
already invalidates it. Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Checks whether this entity is installable. Overrides ConfigEntityInterface:: |
2 |
ConfigEntityBase:: |
public | function |
Overrides Entity::isNew(). Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Returns whether this entity is being changed during the uninstall process. Overrides ConfigEntityInterface:: |
|
ConfigEntityBase:: |
public | function |
Deprecated way of generating a link to the entity. See toLink(). Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Informs the entity that entities it depends on will be deleted. Overrides ConfigEntityInterface:: |
7 |
ConfigEntityBase:: |
public static | function |
Acts on entities before they are deleted and before hooks are invoked. Overrides EntityBase:: |
8 |
ConfigEntityBase:: |
public | function |
Acts on an entity before the presave hook is invoked. Overrides EntityBase:: |
13 |
ConfigEntityBase:: |
public | function |
Saves an entity permanently. Overrides EntityBase:: |
1 |
ConfigEntityBase:: |
public | function |
Sets the value of a property. Overrides ConfigEntityInterface:: |
|
ConfigEntityBase:: |
public | function |
Sets the original ID. Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Sets the status of the configuration entity. Overrides ConfigEntityInterface:: |
|
ConfigEntityBase:: |
public | function |
Sets the value of a third-party setting. Overrides ThirdPartySettingsInterface:: |
|
ConfigEntityBase:: |
public | function | ||
ConfigEntityBase:: |
public static | function | Helper callback for uasort() to sort configuration entities by weight and label. | 6 |
ConfigEntityBase:: |
public | function |
Returns whether the configuration entity is enabled. Overrides ConfigEntityInterface:: |
4 |
ConfigEntityBase:: |
public | function |
Gets an array of all property values. Overrides EntityBase:: |
2 |
ConfigEntityBase:: |
public | function |
Gets the URL object for the entity. Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Sets that the data should be trusted. Overrides ConfigEntityInterface:: |
|
ConfigEntityBase:: |
public | function |
Unsets a third-party setting. Overrides ThirdPartySettingsInterface:: |
|
ConfigEntityBase:: |
public | function |
Gets the public URL for this entity. Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Gets the URL object for the entity. Overrides EntityBase:: |
|
ConfigEntityBase:: |
public | function |
Overrides EntityBase:: |
4 |
DependencySerializationTrait:: |
protected | property | An array of entity type IDs keyed by the property name of their storages. | |
DependencySerializationTrait:: |
protected | property | An array of service IDs keyed by property name used for serialization. | |
DependencySerializationTrait:: |
public | function | Aliased as: traitSleep | 1 |
DependencySerializationTrait:: |
public | function | 2 | |
DependencyTrait:: |
protected | property | The object's dependencies. | |
DependencyTrait:: |
protected | function | Adds multiple dependencies. | |
DependencyTrait:: |
protected | function | Adds a dependency. Aliased as: addDependencyTrait | |
EntityBase:: |
protected | property | Boolean indicating whether the entity should be forced to be new. | |
EntityBase:: |
protected | property | The entity type. | |
EntityBase:: |
protected | property | A typed data object wrapping this entity. | |
EntityBase:: |
public | function |
Checks data value access. Overrides AccessibleInterface:: |
1 |
EntityBase:: |
public | function |
Gets the bundle of the entity. Overrides EntityInterface:: |
1 |
EntityBase:: |
public static | function |
Constructs a new entity object, without permanently saving it. Overrides EntityInterface:: |
|
EntityBase:: |
public | function |
Deletes an entity permanently. Overrides EntityInterface:: |
2 |
EntityBase:: |
public | function |
Enforces an entity to be new. Overrides EntityInterface:: |
|
EntityBase:: |
protected | function | Gets the entity manager. | |
EntityBase:: |
protected | function | Gets the entity type bundle info service. | |
EntityBase:: |
protected | function | Gets the entity type manager. | |
EntityBase:: |
public | function |
The cache contexts associated with this object. Overrides CacheableDependencyTrait:: |
|
EntityBase:: |
public | function |
The maximum age for which this object may be cached. Overrides CacheableDependencyTrait:: |
|
EntityBase:: |
public | function |
The cache tags associated with this object. Overrides CacheableDependencyTrait:: |
|
EntityBase:: |
public | function |
Gets the key that is used to store configuration dependencies. Overrides EntityInterface:: |
|
EntityBase:: |
public | function |
Gets the entity type definition. Overrides EntityInterface:: |
|
EntityBase:: |
public | function |
Gets the ID of the type of the entity. Overrides EntityInterface:: |
|
EntityBase:: |
protected | function | The list cache tags to invalidate for this entity. | |
EntityBase:: |
public | function |
Gets a typed data object for this entity object. Overrides EntityInterface:: |
|
EntityBase:: |
public | function |
Indicates if a link template exists for a given key. Overrides EntityInterface:: |
|
EntityBase:: |
public | function |
Gets the identifier. Overrides EntityInterface:: |
11 |
EntityBase:: |
public | function |
Gets the label of the entity. Overrides EntityInterface:: |
6 |
EntityBase:: |
public | function |
Gets the language of the entity. Overrides EntityInterface:: |
1 |
EntityBase:: |
protected | function | Gets the language manager. | |
EntityBase:: |
protected | function | Gets an array link templates. | 1 |
EntityBase:: |
public static | function |
Loads an entity. Overrides EntityInterface:: |
|
EntityBase:: |
public static | function |
Loads one or more entities. Overrides EntityInterface:: |
|
EntityBase:: |
public | function |
Acts on a created entity before hooks are invoked. Overrides EntityInterface:: |
4 |
EntityBase:: |
public static | function |
Acts on deleted entities before the delete hook is invoked. Overrides EntityInterface:: |
16 |
EntityBase:: |
public static | function |
Acts on loaded entities. Overrides EntityInterface:: |
2 |
EntityBase:: |
public | function |
Acts on a saved entity before the insert or update hook is invoked. Overrides EntityInterface:: |
14 |
EntityBase:: |
public static | function |
Changes the values of an entity before it is created. Overrides EntityInterface:: |
5 |
EntityBase:: |
public | function |
Gets a list of entities referenced by this entity. Overrides EntityInterface:: |
1 |
EntityBase:: |
public | function |
Generates the HTML for a link to this entity. Overrides EntityInterface:: |
|
EntityBase:: |
public | function |
Gets a list of URI relationships supported by this entity. Overrides EntityInterface:: |
|
EntityBase:: |
protected | function | Gets an array of placeholders for this entity. | 2 |
EntityBase:: |
public | function |
Gets the entity UUID (Universally Unique Identifier). Overrides EntityInterface:: |
1 |
EntityBase:: |
protected | function | Gets the UUID generator. | |
LdapTransformationTraits:: |
protected | function | Wrapper for ldap_escape(). | |
LdapTransformationTraits:: |
protected | function | Wrapper for ldap_escape(). | |
LdapTransformationTraits:: |
public static | function | Stub implementation of the {@link ldap_escape()} function of ext-ldap. | |
LdapTransformationTraits:: |
public static | function | Wrapper for ldap_explode_dn(). | |
LdapTransformationTraits:: |
public static | function | Wrapper for ldap_explode_dn(). | |
PluginDependencyTrait:: |
protected | function | Calculates and adds dependencies of a specific plugin instance. | 1 |
PluginDependencyTrait:: |
protected | function | Calculates and returns dependencies of a specific plugin instance. | |
PluginDependencyTrait:: |
protected | function | Wraps the module handler. | 1 |
PluginDependencyTrait:: |
protected | function | Wraps the theme handler. | 1 |
RefinableCacheableDependencyTrait:: |
public | function | 1 | |
RefinableCacheableDependencyTrait:: |
public | function | ||
RefinableCacheableDependencyTrait:: |
public | function | ||
RefinableCacheableDependencyTrait:: |
public | function | ||
Server:: |
protected | property | Account name attribute. | |
Server:: |
protected | property | Server address. | |
Server:: |
protected | property | Base DN. | |
Server:: |
protected | property | Bind DN. | |
Server:: |
protected | property | Bind password. | |
Server:: |
protected | property | Bind method. | |
Server:: |
protected | property | LDAP Server connection. | |
Server:: |
protected | property | LDAP Details logger. | |
Server:: |
protected | property | Groups are derived from user's LDAP entry DN. | |
Server:: |
protected | property | Attribute of the User's LDAP Entry DN which contains the group. | |
Server:: |
protected | property | LDAP Group Entry Attribute Holding User's DN, CN, etc. | |
Server:: |
protected | property | User attribute held in "LDAP Group Entry Attribute Holding...". | |
Server:: |
protected | property | Nested groups are used in my LDAP. | |
Server:: |
protected | property | Name of Group Object Class. | |
Server:: |
protected | property | Testing LDAP Group DN. | |
Server:: |
protected | property | Testing LDAP Group DN that is writable. | |
Server:: |
protected | property | Groups are not relevant to this Drupal site. | |
Server:: |
protected | property | Attribute in User Entry Containing Groups. | |
Server:: |
protected | property | Attribute in User Entry Containing Groups. | |
Server:: |
protected | property | Server machine name. | |
Server:: |
protected | property | Human readable name. | |
Server:: |
protected | property | Logger channel. | |
Server:: |
protected | property | Email attribute. | |
Server:: |
protected | property | Email template. | |
Server:: |
protected | property | Module handler. | |
Server:: |
protected | property | Thumbnail attribute. | |
Server:: |
protected | property | Port. | |
Server:: |
protected | property | Testing Drupal Username. | |
Server:: |
protected | property | DN of testing username. | |
Server:: |
protected | property | Timeout. | |
Server:: |
protected | property | Use Start-TLS. | |
Server:: |
protected | property | Token processor. | |
Server:: |
protected | property | Server type. | |
Server:: |
protected | property | Persistent and Unique User ID Attribute. | |
Server:: |
protected | property | Does PUID hold a binary value? | |
Server:: |
protected | property | Authentication name attribute. | |
Server:: |
protected | property | Expression for user DN. | |
Server:: |
protected | property | Weight. | |
Server:: |
public | function |
Returns the user's email from the LDAP entry. Overrides ServerInterface:: |
|
Server:: |
public | function |
Fetches the persistent UID from the LDAP entry. Overrides ServerInterface:: |
|
Server:: |
public | function |
Returns the username from the LDAP entry. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get account name attribute. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get authentication name attribute. Overrides ServerInterface:: |
|
Server:: |
public | function |
Fetch base DN. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get bind DN. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get bind method. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get bind password. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get attribute of the user's LDAP entry DN which contains the group. Overrides ServerInterface:: |
|
Server:: |
public | function |
Returns the formatted label of the bind method. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get LDAP group entry attribute holding user's DN, CN, etc. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get the name group object class. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get group DN for group testing. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get writable Group DN for group testing. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get attribute in user entry containing groups. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get mail. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get mail template. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get picture attribute. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get port. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get server address. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get Drupal user DN for testing. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get Drupal username for testing. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get timeout. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get the PUID attribute. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get user attribute held in "LDAP Group Entry Attribute Holding...". Overrides ServerInterface:: |
|
Server:: |
public | function |
Get User DN expression. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get Weight. Overrides ServerInterface:: |
|
Server:: |
public | function |
Account name attribute set. Overrides ServerInterface:: |
|
Server:: |
public | function |
Get status. Overrides ServerInterface:: |
|
Server:: |
public | function |
Groups are derived from user's LDAP entry DN. Overrides ServerInterface:: |
|
Server:: |
public | function |
Are groups nested? Overrides ServerInterface:: |
|
Server:: |
public | function |
Get group usage. Overrides ServerInterface:: |
|
Server:: |
public | function |
Attribute in user entry contains groups. Overrides ServerInterface:: |
|
Server:: |
public | function |
Is the PUID attribute binary? Overrides ServerInterface:: |
|
Server:: |
public | function |
Constructor. Overrides ConfigEntityBase:: |
|
StringTranslationTrait:: |
protected | property | The string translation service. | 1 |
StringTranslationTrait:: |
protected | function | Formats a string containing a count of items. | |
StringTranslationTrait:: |
protected | function | Returns the number of plurals supported by a given language. | |
StringTranslationTrait:: |
protected | function | Gets the string translation service. | |
StringTranslationTrait:: |
public | function | Sets the string translation service to use. | 2 |
StringTranslationTrait:: |
protected | function | Translates a string to the current language or to a given language. | |
SynchronizableEntityTrait:: |
protected | property | Whether this entity is being created, updated or deleted through a synchronization process. | |
SynchronizableEntityTrait:: |
public | function | ||
SynchronizableEntityTrait:: |
public | function |