From 20322bb5a858665112ec4f61436171fab38720f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Mon, 28 Jan 2008 12:37:37 +0000
Subject: [PATCH] Adding some headers in files, and setting the ID keyword in
 svn

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@201 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SimpleSAML/XML/AuthnResponse.php        | 20 +++++++-------------
 lib/SimpleSAML/XML/SAML20/AuthnResponse.php | 18 ++++++------------
 lib/SimpleSAML/XML/Shib13/AuthnResponse.php | 16 ++++++----------
 www/saml2/sp/AssertionConsumerService.php   | 12 ++++++++++++
 4 files changed, 31 insertions(+), 35 deletions(-)

diff --git a/lib/SimpleSAML/XML/AuthnResponse.php b/lib/SimpleSAML/XML/AuthnResponse.php
index faeef7be4..da697ccb5 100644
--- a/lib/SimpleSAML/XML/AuthnResponse.php
+++ b/lib/SimpleSAML/XML/AuthnResponse.php
@@ -1,15 +1,4 @@
 <?php
-
-
-/**
- * SimpleSAMLphp
- *
- * PHP versions 4 and 5
- *
- * LICENSE: See the COPYING file included in this distribution.
- *
- * @author Andreas Ĺkre Solberg, UNINETT AS. <andreas.solberg@uninett.no>
- */
  
 require_once('SimpleSAML/Configuration.php');
 require_once('SimpleSAML/Session.php');
@@ -19,9 +8,14 @@ require_once('SimpleSAML/Metadata/MetaDataStorageHandler.php');
 require_once('xmlseclibs.php');
  
 /**
- * Configuration of SimpleSAMLphp
+ * Abstract class of an Authentication response
+ *
+ * @author Andreas Ĺkre Solberg, UNINETT AS. <andreas.solberg@uninett.no>
+ * @package simpleSAMLphp
+ * @version $Id$
+ * @abstract
  */
-abstract class SimpleSAML_XML_AuthnResponse {
+ abstract class SimpleSAML_XML_AuthnResponse {
 
 	private $configuration = null;
 	private $metadata = 'default.php';
diff --git a/lib/SimpleSAML/XML/SAML20/AuthnResponse.php b/lib/SimpleSAML/XML/SAML20/AuthnResponse.php
index 1876ebc2a..e89ecafe9 100644
--- a/lib/SimpleSAML/XML/SAML20/AuthnResponse.php
+++ b/lib/SimpleSAML/XML/SAML20/AuthnResponse.php
@@ -1,16 +1,5 @@
 <?php
 
-
-/**
- * SimpleSAMLphp
- *
- * PHP versions 4 and 5
- *
- * LICENSE: See the COPYING file included in this distribution.
- *
- * @author Andreas Ă…kre Solberg, UNINETT AS. <andreas.solberg@uninett.no>
- */
- 
 require_once('SimpleSAML/Configuration.php');
 require_once('SimpleSAML/Session.php');
 require_once('SimpleSAML/Utilities.php');
@@ -20,7 +9,12 @@ require_once('SimpleSAML/XML/AuthnResponse.php');
 require_once('xmlseclibs.php');
  
 /**
- * Configuration of SimpleSAMLphp
+ * An SAML 2.0 Authentication Response
+ *
+ * @author Andreas Ă…kre Solberg, UNINETT AS. <andreas.solberg@uninett.no>
+ * @package simpleSAMLphp
+ * @version $Id$
+ * @abstract
  */
 class SimpleSAML_XML_SAML20_AuthnResponse extends SimpleSAML_XML_AuthnResponse {
 
diff --git a/lib/SimpleSAML/XML/Shib13/AuthnResponse.php b/lib/SimpleSAML/XML/Shib13/AuthnResponse.php
index 7ad10749c..98c24cbeb 100644
--- a/lib/SimpleSAML/XML/Shib13/AuthnResponse.php
+++ b/lib/SimpleSAML/XML/Shib13/AuthnResponse.php
@@ -1,13 +1,4 @@
 <?php
-
-
-/**
- * SimpleSAMLphp
- *
- * LICENSE: See the COPYING file included in this distribution.
- *
- * @author Andreas Ĺkre Solberg, UNINETT AS. <andreas.solberg@uninett.no>
- */
  
 require_once('SimpleSAML/Configuration.php');
 require_once('SimpleSAML/Session.php');
@@ -18,7 +9,12 @@ require_once('SimpleSAML/XML/AuthnResponse.php');
 require_once('xmlseclibs.php');
  
 /**
- * Configuration of SimpleSAMLphp
+ * A Shibboleth 1.3 authentication response.
+ *
+ * @author Andreas Ĺkre Solberg, UNINETT AS. <andreas.solberg@uninett.no>
+ * @package simpleSAMLphp
+ * @version $Id$
+ * @abstract
  */
 class SimpleSAML_XML_Shib13_AuthnResponse extends SimpleSAML_XML_AuthnResponse {
 
diff --git a/www/saml2/sp/AssertionConsumerService.php b/www/saml2/sp/AssertionConsumerService.php
index d1d5da804..2101498de 100644
--- a/www/saml2/sp/AssertionConsumerService.php
+++ b/www/saml2/sp/AssertionConsumerService.php
@@ -11,6 +11,18 @@ require_once('SimpleSAML/XML/SAML20/AuthnRequest.php');
 require_once('SimpleSAML/Bindings/SAML20/HTTPPost.php');
 require_once('SimpleSAML/XHTML/Template.php');
 
+/**
+ * This SAML 2.0 endpoint is the endpoint at the SAML 2.0 SP that takes an Authentication Response
+ * as HTTP-POST in, and parses and processes it before it redirects the use to the RelayState.
+ *
+ * @author Andreas Ĺkre Solberg, UNINETT AS. <andreas.solberg@uninett.no>
+ * @package simpleSAMLphp
+ * @version $Id$
+ * @abstract
+ */
+
+
+
 /* Get the session object for the user. Create a new session if no session
  * exists for this user.
  */
-- 
GitLab