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',