Skip to content
Snippets Groups Projects
Commit ec4d1578 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Added support for generating metadata for SAML 2.0 SP

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3 44740490-163a-0410-bde0-09ae8108e29a
parent 1fed9ea7
No related branches found
No related tags found
No related merge requests found
......@@ -10,11 +10,20 @@ $metadata = array(
"dev.andreas.feide.no" => array(
'host' => 'dev.andreas.feide.no',
"assertionConsumerServiceURL" => "http://dev.andreas.feide.no/saml2/sp/AssertionConsumerService.php",
'SingleLogOutUrl' => 'http://dev.andreas.feide.no/saml2/sp/SingleLogoutService.php',
"issuer" => "dev.andreas.feide.no",
"spNameQualifier" => "dev.andreas.feide.no",
"ForceAuthn" => "false",
"NameIDFormat" => "urn:oasis:names:tc:SAML:2.0:nameid-format:transient"
),
"dev2.andreas.feide.no" => array(
'host' => 'dev2.andreas.feide.no',
"assertionConsumerServiceURL" => "http://dev2.andreas.feide.no/saml2/sp/AssertionConsumerService.php",
"issuer" => "dev2.andreas.feide.no",
"spNameQualifier" => "dev2.andreas.feide.no",
"ForceAuthn" => "false",
"NameIDFormat" => "urn:oasis:names:tc:SAML:2.0:nameid-format:transient"
),
"feide2.erlang.no" => array(
'host' => 'feide2.erlang.no',
"assertionConsumerServiceURL" => "https://feide2.erlang.no/saml2/sp/AssertionConsumerService.php",
......@@ -34,4 +43,5 @@ $metadata = array(
);
?>
......@@ -86,12 +86,4 @@ if (!isset($session) || !$session->isValid() ) {
}
#print_r($metadata->getMetaData('sam.feide.no'));
#print_r($req);
//echo 'Location: ' . $relaystate;
?>
?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment