Revision: 2070
Author: olavmrk
Date: Tue Jan 5 02:19:28 2010
Log: Shib13_AuthnRequest: Remove unused code.
http://code.google.com/p/simplesamlphp/source/detail?r=2070
Modified:
/trunk/lib/SimpleSAML/XML/Shib13/AuthnRequest.php
=======================================
--- /trunk/lib/SimpleSAML/XML/Shib13/AuthnRequest.php Wed Nov 4 05:53:25
2009
+++ /trunk/lib/SimpleSAML/XML/Shib13/AuthnRequest.php Tue Jan 5 02:19:28
2010
@@ -10,23 +10,9 @@
*/
class SimpleSAML_XML_Shib13_AuthnRequest {
- private $metadata = null;
-
private $issuer = null;
- private $shire = null;
private $relayState = null;
-
- private $requestid = null;
-
-
- const PROTOCOL = 'shib13';
-
-
- function __construct() {
-
- $this->requestid = SimpleSAML_Utilities::generateID();
- }
-
+
public function setRelayState($relayState) {
$this->relayState = $relayState;
}
@@ -34,14 +20,6 @@
public function getRelayState() {
return $this->relayState;
}
-
- public function setShire($shire) {
- $this->shire = $shire;
- }
-
- public function getShire() {
- return $this->shire;
- }
public function setIssuer($issuer) {
$this->issuer = $issuer;
@@ -49,30 +27,7 @@
public function getIssuer() {
return $this->issuer;
}
-
-
-
- public function parseGet($get) {
- if (!isset($get['shire'])) throw new Exception('Could not read
shire
parameter from HTTP GET request');
- if (!isset($get['providerId'])) throw new Exception('Could not
read
providerId parameter from HTTP GET request');
- if (!isset($get['target'])) throw new Exception('Could not read
target
parameter from HTTP GET request');
-
- $this->setIssuer($get['providerId']);
- $this->setRelayState($get['target']);
-
- $this->setShire($get['shire']);
-
- }
-
- public function setNewRequestID() {
- $this->requestid = SimpleSAML_Utilities::generateID();
- }
-
- public function getRequestID() {
- return $this->requestid;
- }
-
-
+
public function createRedirect($destination, $shire = NULL) {
$metadata =
SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler();
$idpmetadata =
$metadata->getMetaDataConfig($destination, 'shib13-idp-remote');
--
You received this message because you are subscribed to the Google Groups
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/simplesamlphp-commits?hl=en.