From 3db6e93a745cce9290369f9008a30fbe9439a48e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szab=C3=B3=20Gyula?= Date: Fri, 30 Oct 2015 12:26:23 +0100 Subject: [PATCH] =?UTF-8?q?readme=20m=C3=A9g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0d8790c..b560ff3 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Authproc filter for SSP to get any attribute from rest api * Author: Gyula Szabó , NIIF Institute, Hungary -This module provides an authprocfilter. +This module provides an authprocfilter, that get attributes from rest api in json format. ## Install module You can install the module with composer: @@ -9,10 +9,12 @@ You can install the module with composer: composer require niif/simplesamlphp-module-attributefromrestapi ### Authproc Filters -The NameID of the request will be in the attribute as defined above. +The NameID of the request will be in the attribute as defined above. For example eduPersonPrincipalName. If this nameId is not in the users's attributes there will be shown an exception page, and the authentication process will be stopped. + +_config/config.php_ ``` - authproc.aa = array( + authproc.sp = array( ... '60' => array( 'class' => 'attributefromrestapi:attributeFromRestApi',