2017 © Pedro Peláez
 

symfony-bundle persona-bundle

Persona authentication system integration with Symfony aplications

image

ahs/persona-bundle

Persona authentication system integration with Symfony aplications

  • Monday, November 12, 2012
  • by ahilles107
  • Repository
  • 0 Watchers
  • 4 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Introduction

This Bundle enables integration of the Persona authentication system. It provides a Symfony2 authentication provider so that users can login to a Symfony2 application via Persona., (*1)

Installation

  1. Install bundle:, (*2)

    The recommended way to install Persona Bundle is through composer. Just create a composer.json file and run the php composer.phar install command to install it:, (*3)

      {
          "require": {
              "ahs/persona-bundle": "*"
          }
      }
  2. Add this bundle to your application's kernel:, (*4)

      // app/ApplicationKernel.php
      public function registerBundles()
      {
          return array(
              // ...
              new AHS\PersonaBundle\AHSPersonaBundle(),
              // ...
          );
      }  
  3. Configure your new firewal:, (*5)

      # app/config/security.yml
      firewalls:
          persona_secured:
              pattern:    ^/
              persona:      true
              logout: true
              anonymous: true
  4. Change default configuration (optional):, (*6)

      # app/config/config.yml
      ahs_persona:
          verifier_url: "your verifier url"
          audience_url: "your audience host"

By default bundle works with in_memory provider., (*7)

TODO

  • Provide sample controller
  • Provide twig helper for login/logout buttons
  • Create provider for FOSUserBundle
  • Promote Mozilla Persona!
  • Improve readme

The Versions

12/11 2012

dev-master

9999999-dev https://github.com/ahilles107/PersonaBundle

Persona authentication system integration with Symfony aplications

  Sources   Download

MIT

The Requires

 

by Pawel Mikolajczuk

security persona