performer/rer-user-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

User provider for Symfony to access Regione Emilia-Romagna

dev-master 2015-03-31 14:12 UTC

This package is auto-updated.

Last update: 2021-04-20 07:40:04 UTC


README

Configurazione

Aggiungere in AppKernel.php:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Performer\RerUserBundle\PerformerRerUserBundle(),
    );
}

Creare entity:

<?php
// src/AppBundle/Entity/Utente.php

use Doctrine\ORM\Mapping as ORM;
use Performer\RerUserBundle\Entity\User;

/**
 * @ORM\Table()
 * @ORM\Entity(repositoryClass="Performer\RerUserBundle\Repository\UserRepository")
 */
class Utente extends User
{
}

Aggiungere in configurazione:

# app/config/config.yml

performer_rer_user:
    user_class: AppBundle\Entity\Utente
    soap:
        # questi due valori vanno personalizzati
        app_id: app_id_fornito_da_RER
        salt: salt_fornito_da_RER