Skip to content
Snippets Groups Projects
Commit 55fb40f0 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Remove embedded doc in authproc filters. Moved to separate doc.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1111 44740490-163a-0410-bde0-09ae8108e29a
parent 3d2b8cf7
No related branches found
No related tags found
No related merge requests found
...@@ -5,27 +5,6 @@ ...@@ -5,27 +5,6 @@
* *
* This filter allows you to add attributes to the attribute set being processed. * This filter allows you to add attributes to the attribute set being processed.
* *
* Example - add attribute, single value:
* <code>
* 'authproc' => array(
* 50 => array('class' => 'core:AttributeAdd', 'source' => 'myidp'),
* ),
* </code>
*
* Examle - add attribute, multiple values:
* <code>
* 'authproc' => array(
* 50 => array('class' => 'core:AttributeAdd', 'groups' => array('users', 'members')),
* ),
* </code>
*
* Examle - replace attribute, single value:
* <code>
* 'authproc' => array(
* 50 => array('class' => 'core:AttributeAdd', '%replace', 'uid' => array('guest')),
* ),
* </code>
*
* @author Olav Morken, UNINETT AS. * @author Olav Morken, UNINETT AS.
* @package simpleSAMLphp * @package simpleSAMLphp
* @version $Id$ * @version $Id$
......
...@@ -3,13 +3,6 @@ ...@@ -3,13 +3,6 @@
/** /**
* A filter for limiting which attributes are passed on. * A filter for limiting which attributes are passed on.
* *
* Example - remove all attributes except 'cn' and 'mail':
* <code>
* 'authproc' => array(
* 50 => array('class' => 'core:AttributeLimit', 'cn', 'mail'),
* ),
* </code>
*
* @author Olav Morken, UNINETT AS. * @author Olav Morken, UNINETT AS.
* @package simpleSAMLphp * @package simpleSAMLphp
* @version $Id$ * @version $Id$
......
...@@ -3,20 +3,6 @@ ...@@ -3,20 +3,6 @@
/** /**
* Attribute filter for renaming attributes. * Attribute filter for renaming attributes.
* *
* Example 1 - apply map stored in attributemap/defaultmap.php:
* <code>
* 'authproc' => array(
* 50 => array('class' => 'core:AttributeMap', 'defaultmaps'),
* ),
* </code>
*
* Example 2 - rename attributes 'mail' and 'uid' to 'email' and 'user':
* <code>
* 'authproc' => array(
* 50 => array('class' => 'core:AttributeMap', 'mail' => 'email', 'uid' => 'user'),
* ),
* </code>
*
* @author Olav Morken, UNINETT AS. * @author Olav Morken, UNINETT AS.
* @package simpleSAMLphp * @package simpleSAMLphp
* @version $Id$ * @version $Id$
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* Example - generate from mail-attribute: * Example - generate from mail-attribute:
* <code> * <code>
* 'authproc' => array( * 'authproc' => array(
* 50 => array('class' => 'core:TargetedID' , 'attribute' => 'mail'), * 50 => array('class' => 'core:TargetedID' , 'attributename' => 'mail'),
* ), * ),
* </code> * </code>
* *
...@@ -50,8 +50,8 @@ class sspmod_core_Auth_Process_TargetedID extends SimpleSAML_Auth_ProcessingFilt ...@@ -50,8 +50,8 @@ class sspmod_core_Auth_Process_TargetedID extends SimpleSAML_Auth_ProcessingFilt
assert('is_array($config)'); assert('is_array($config)');
if (array_key_exists('attribute', $config)) { if (array_key_exists('attributename', $config)) {
$this->attribute = $config['attribute']; $this->attribute = $config['attributename'];
if (!is_string($this->attribute)) { if (!is_string($this->attribute)) {
throw new Exception('Invalid attribute name given to core:TargetedID filter.'); throw new Exception('Invalid attribute name given to core:TargetedID filter.');
} }
......
...@@ -108,7 +108,8 @@ function updateslostatus() { ...@@ -108,7 +108,8 @@ function updateslostatus() {
foreach ($listofsps AS $spentityid) { foreach ($listofsps AS $spentityid) {
error_log('Completed ' . $spentityid); SimpleSAML_Logger::debug('SAML2.0 - IdP.SingleLogoutServiceiFrame: Completed ' . $spentityid);
// add a command to the response to assign the innerHTML attribute of // add a command to the response to assign the innerHTML attribute of
// the element with id="SomeElementId" to whatever the new content is // the element with id="SomeElementId" to whatever the new content is
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment