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

Contribution from Bob and lukas, for adding mulitple certificates in the authnresponse

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@50 44740490-163a-0410-bde0-09ae8108e29a
parent de23de98
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,7 @@ require_once('SimpleSAML/Configuration.php'); ...@@ -13,6 +13,7 @@ require_once('SimpleSAML/Configuration.php');
SimpleSAML_Configuration::init(dirname(dirname(__FILE__)) . '/config'); SimpleSAML_Configuration::init(dirname(dirname(__FILE__)) . '/config');
define_syslog_variables();
openlog("simpleSAMLphp", LOG_PID, LOG_LOCAL0);
?> ?>
\ No newline at end of file
...@@ -24,6 +24,9 @@ try { ...@@ -24,6 +24,9 @@ try {
$session = $authnResponse->createSession(); $session = $authnResponse->createSession();
if (isset($session)) { if (isset($session)) {
$attributes = $session->getAttributes();
syslog(LOG_INFO, 'User is authenticated,' . $attributes['mail'] . ',' . $authnResponse->getIssuer());
$relayState = $authnResponse->getRelayState(); $relayState = $authnResponse->getRelayState();
if (isset($relayState)) { if (isset($relayState)) {
......
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