From ea091cea4fb869497ce1e0c97a522bc8e5b2fddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Mon, 19 Oct 2009 09:57:15 +0000 Subject: [PATCH] Formatting of documentation git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1867 44740490-163a-0410-bde0-09ae8108e29a --- modules/authorize/docs/authorize.txt | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/modules/authorize/docs/authorize.txt b/modules/authorize/docs/authorize.txt index 69210616b..5664ee983 100644 --- a/modules/authorize/docs/authorize.txt +++ b/modules/authorize/docs/authorize.txt @@ -7,15 +7,11 @@ authorize Module http://daringfireball.net/projects/markdown/syntax --> - * Version: `$Id$` - * Author: Ernesto Revilla <erny@yaco.es>, Yaco Sistemas - * Package simpleSAMLphp + * Version: `$Id$` + * Author: Ernesto Revilla <erny@yaco.es>, Yaco Sistemas + * Package: simpleSAMLphp - -This module provides an user authorization filter based on regular -expressions for those applications that do not cleanly separate -authentication from authorization and set some default permissions -for authenticated users. +This module provides an user authorization filter based on regular expressions for those applications that do not cleanly separate authentication from authorization and set some default permissions for authenticated users. `authorize:Authorize` @@ -25,22 +21,20 @@ for authenticated users. `authorize:Authorize` --------------------- -For each attribute you can specify a regular expression -string or array of strings. If one of those attributes matches (OR operator) -one of the regular expression, the user is authorized successfully. +For each attribute you can specify a regular expression string or array of strings. If one of those attributes matches (OR operator) one of the regular expression, the user is authorized successfully. -You must use the preg_match format, i.e. you have to enclose it with -a delimiter that does not appear inside the regex -(e.g. slash (/), at sign (@), number sign (#) or underscore (_)). +You must use the preg_match format, i.e. you have to enclose it with a delimiter that does not appear inside the regex (e.g. slash (/), at sign (@), number sign (#) or underscore (`_`)). The users not authorized will be shown a 403 Forbidden page. Problems: + * Once you get the forbidden page, you can't logout at the IdP directly, (as far as I know), you have to close the browser. To use this filter configure it in `config/config.php`: + 'authproc.sp' => array( 60 => array( 'class' => 'authorize:Authorize', -- GitLab