summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML/XML/Shib13/AuthnResponse.php
diff options
context:
space:
mode:
authorJaime Perez Crespo <jaime.perez@uninett.no>2015-04-16 15:48:54 +0200
committerJaime Perez Crespo <jaime.perez@uninett.no>2015-04-16 15:48:54 +0200
commitcabc973775fe3486152c7cf912ac97396b9fb77e (patch)
treecd482e9a4e50d40e5ee8853605aecd27347e9162 /lib/SimpleSAML/XML/Shib13/AuthnResponse.php
parent4f7e78f6b4d7e8cc7dea613f3beb45004776dfa3 (diff)
downloadsimplesamlphp-cabc973775fe3486152c7cf912ac97396b9fb77e.zip
simplesamlphp-cabc973775fe3486152c7cf912ac97396b9fb77e.tar.gz
simplesamlphp-cabc973775fe3486152c7cf912ac97396b9fb77e.tar.bz2
Move SimpleSAML_Utilities::generateID() to SimpleSAML_Utils_Random::generateID(). Deprecate the former and schedule it for removal in 2.0.
Diffstat (limited to 'lib/SimpleSAML/XML/Shib13/AuthnResponse.php')
-rw-r--r--lib/SimpleSAML/XML/Shib13/AuthnResponse.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/SimpleSAML/XML/Shib13/AuthnResponse.php b/lib/SimpleSAML/XML/Shib13/AuthnResponse.php
index 2d65be5..563882e 100644
--- a/lib/SimpleSAML/XML/Shib13/AuthnResponse.php
+++ b/lib/SimpleSAML/XML/Shib13/AuthnResponse.php
@@ -304,7 +304,7 @@ class SimpleSAML_XML_Shib13_AuthnResponse {
$scopedAttributes = array();
}
- $id = SimpleSAML_Utilities::generateID();
+ $id = SimpleSAML_Utils_Random::generateID();
$issueInstant = SimpleSAML_Utilities::generateTimestamp();
@@ -313,7 +313,7 @@ class SimpleSAML_XML_Shib13_AuthnResponse {
$assertionExpire = SimpleSAML_Utilities::generateTimestamp(time() + 60 * 5);# 5 minutes
- $assertionid = SimpleSAML_Utilities::generateID();
+ $assertionid = SimpleSAML_Utils_Random::generateID();
$spEntityId = $sp->getString('entityid');
@@ -321,7 +321,7 @@ class SimpleSAML_XML_Shib13_AuthnResponse {
$base64 = $sp->getBoolean('base64attributes', FALSE);
$namequalifier = $sp->getString('NameQualifier', $spEntityId);
- $nameid = SimpleSAML_Utilities::generateID();
+ $nameid = SimpleSAML_Utils_Random::generateID();
$subjectNode =
'<Subject>' .
'<NameIdentifier' .