SimpleSAML_Logger::debug('SQLPersistentNameID: SP expects different NameID format ('.implode(', ',$validNameIdFormats).') - not generating persistent NameID.');
returnnull;
returnNULL;
}
}
$validNameIdFormats=@array_filter(array(
if(!isset($state['Destination']['entityid'])){
$state['saml:NameIDFormat'],
SimpleSAML_Logger::warning('SQLPersistentNameID: No SP entity ID - not generating persistent NameID.');
SimpleSAML_Logger::warning('SQLPersistentNameID: Missing attribute '.var_export($this->attribute,TRUE).' on user - not generating persistent NameID.');
SimpleSAML_Logger::warning('SQLPersistentNameID: No SP entity ID - not generating persistent NameID.');
SimpleSAML_Logger::warning('SQLPersistentNameID: More than one value in attribute '.var_export($this->attribute,TRUE).' on user - not generating persistent NameID.');
returnNULL;
if(!isset($state['Source']['entityid'])){
}
SimpleSAML_Logger::warning('SQLPersistentNameID: No IdP entity ID - not generating persistent NameID.');
$uid=array_values($state['Attributes'][$this->attribute]);/* Just in case the first index is no longer 0. */