From 6ef6e4f165e941d27a59310e03b59ceeef2dd5d3 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Tue, 17 Apr 2012 08:00:27 +0000
Subject: [PATCH] saml:IdP: Change event id from saml:AuthnRequest to
 saml:idp:AuthnRequest.

For consistency with other IdP events.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3068 44740490-163a-0410-bde0-09ae8108e29a
---
 modules/saml/lib/IdP/SAML1.php | 2 +-
 modules/saml/lib/IdP/SAML2.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/saml/lib/IdP/SAML1.php b/modules/saml/lib/IdP/SAML1.php
index 3f50fa3d5..8bd3eafba 100644
--- a/modules/saml/lib/IdP/SAML1.php
+++ b/modules/saml/lib/IdP/SAML1.php
@@ -107,7 +107,7 @@ class sspmod_saml_IdP_SAML1 {
 				var_export($spEntityId, TRUE) . ': ' . var_export($shire, TRUE));
 		}
 
-		SimpleSAML_Stats::log('saml:AuthnRequest', array(
+		SimpleSAML_Stats::log('saml:idp:AuthnRequest', array(
 			'spEntityID' => $spEntityId,
 			'protocol' => 'saml1',
 		));
diff --git a/modules/saml/lib/IdP/SAML2.php b/modules/saml/lib/IdP/SAML2.php
index 15434a036..507570ef5 100644
--- a/modules/saml/lib/IdP/SAML2.php
+++ b/modules/saml/lib/IdP/SAML2.php
@@ -328,7 +328,7 @@ class sspmod_saml_IdP_SAML2 {
 			SimpleSAML_Logger::info('SAML2.0 - IdP.SSOService: Incomming Authentication request: '. var_export($spEntityId, TRUE));
 		}
 
-		SimpleSAML_Stats::log('saml:AuthnRequest', array(
+		SimpleSAML_Stats::log('saml:idp:AuthnRequest', array(
 			'spEntityID' => $spEntityId,
 			'idpEntityID' => $idpMetadata->getString('entityid'),
 			'forceAuthn' => $forceAuthn,
-- 
GitLab