2017 © Pedro Peláez
 

typo3-cms-extension in2connector

Enterprise Level Connection Manager for LDAP, SOAP etc.

image

in2code/in2connector

Enterprise Level Connection Manager for LDAP, SOAP etc.

  • Monday, March 19, 2018
  • by VerteXVaaR
  • Repository
  • 4 Watchers
  • 0 Stars
  • 28 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 100 % Grown

The README.md

in2connector - Manage connections

in2connector is a TYPO3 extension to simplify your everyday life with any kind of connection. This extension provides two kinds of drivers to ease access to a resource. These are LDAP and SOAP. These drivers wrap around your connection to A/D / LDAP / SAP and other kinds of API provider., (*1)

To begin with in2connector you simply require a connection with an identifier and the type of connection:, (*2)

ext_localconf.php:, (*3)

$connectionRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
    \In2code\In2connector\Registry\ConnectionRegistry::class
);
$connectionRegistry->demandConnection('myExtension|connectionPurpose', TX_IN2CONNECTOR_DRIVER_LDAP);

Hint: You can use any string for the connection identifier., (*4)

The go to your backend into the in2connector module and click an "add connection" to configure your connection. Save your changes and close the settings form to go back to the connections overview. Now you will see a little icon indicating the status of your connection and if it is erroneous it will also display an error message., (*5)

You can now use the connection's driver to search, modify, add and delete entries., (*6)

PersonRepository.php:, (*7)

use In2code\In2connector\Driver\LdapDriver;
use In2code\In2connector\Service\ConnectionService;
use TYPO3\CMS\Core\Utility\GeneralUtility;

class PersonRepository
{
    /**
     * @var LdapDriver
     */
    protected $driver = null;

    /**
     * PersonRepository constructor.
     */
    public function __construct()
    {
        $this->driver = GeneralUtility::makeInstance(ConnectionService::class)->getDriverInstanceIfAvailable('asd');
    }

    public function findAll()
    {
        return $this->driver->searchAndGetResults('', 'objectClass=*');
    }
}

You can, of course, register your own drivers (Rest-API with JSON or XML for example). Have a look at the registration of the shipped drivers to get the idea., (*8)

The Versions

19/03 2018

dev-master

9999999-dev

Enterprise Level Connection Manager for LDAP, SOAP etc.

  Sources   Download

GPL-3.0

The Requires

 

typo3 backend ldap driver soap storage interface ad connection extbase sap extbase-storage vd

08/12 2017

2.1.0

2.1.0.0

Enterprise Level Connection Manager for LDAP, SOAP etc.

  Sources   Download

GPL-3.0

The Requires

 

29/06 2017

2.0.0

2.0.0.0

Enterprise Level Connection Manager for LDAP, SOAP etc.

  Sources   Download

GPL-3.0

19/06 2017

1.2.5

1.2.5.0

Enterprise Level Connection Manager for LDAP, SOAP etc.

  Sources   Download

GPL-3.0

19/06 2017

1.2.4

1.2.4.0

Enterprise Level Connection Manager for LDAP, SOAP etc.

  Sources   Download

GPL-3.0

09/05 2017

1.2.3

1.2.3.0

Enterprise Level Connection Manager for LDAP, SOAP etc.

  Sources   Download

GPL-3.0

02/03 2017

1.2.2

1.2.2.0

Enterprise Level Connection Manager for LDAP, SOAP etc.

  Sources   Download

GPL-3.0

22/11 2016

1.2.1

1.2.1.0

Enterprise Level Connection Manager for LDAP, SOAP etc.

  Sources   Download

GPL-3.0

16/11 2016

1.2.0

1.2.0.0

Enterprise Level Connection Manager for LDAP, SOAP etc.

  Sources   Download

GPL-3.0

09/08 2016

1.1.0

1.1.0.0

Enterprise Level Connection Manager for LDAP, SOAP etc.

  Sources   Download

GPL-3.0

28/01 2016

1.0.0

1.0.0.0

Enterprise Level Connection Manager for LDAP, SOAP etc.

  Sources   Download