smartnameattribute: Deprecate filter.

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3184 44740490-163a-0410-bde0-09ae8108e29a
This commit is contained in:
olavmrk 2012-10-03 05:55:25 +00:00
parent c8d24ac02e
commit 452f68e8da
1 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,8 @@ class sspmod_smartnameattribute_Auth_Process_SmartName extends SimpleSAML_Auth_P
assert('is_array($request)');
assert('array_key_exists("Attributes", $request)');
SimpleSAML_Logger::warning('You are using the deprecated smartnameattribute:SmartName filter. You should replace it with smartattributes:SmartName instead.');
$attributes =& $request['Attributes'];
$fullname = $this->getFullName($attributes);