2017 © Pedro Peláez
 

simplesamlphp-module simplesamlphp-module-attributelimit

image

niif/simplesamlphp-module-attributelimit

  • Tuesday, April 19, 2016
  • by gyufi
  • Repository
  • 7 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

README

Build Status Total Downloads Latest Stable Version, (*1)

Install

composer require niif/simplesamlphp-module-attributelimit, (*2)

Usage

This module is a forked version of SimpleSAMLphp core:AttributeLimit. It adds the functionality of specifying bilateral attribute relations in addition to the attribute rules defined in the peer's metadata. You can both specify SP entityIDs where you send some additional attributes (_bilateralSPs_) and special attributes to send to some SPs (_bilateralAttributes_)., (*3)

Example configuration:, (*4)

$config = array(
    'class' => 'niif:AttributeLimit',
    'bilateralSPs' => array(
        'entityid1' => array(
            'attr1',
            'attr2'
        ),
        'entityid2' => array(
            'attr1',
            'attr2'
        ),
    ),
    'bilateralAttributes' => array(
        'attr1' => array(
            'entityid1',
            'entityid2'
        ),
        'attr2' => array(
            'entityid1',
            'entityid2'
        ),
    ),
    'attribute_x', 'attribute_y',
)

The Versions