38 if (array_key_exists(
'file',
$config)) {
40 } elseif (array_key_exists(
'url',
$config)) {
43 throw new Exception(
"Missing either 'file' or 'url' in XML metadata source configuration.");
54 foreach ($entities as
$entityId => $entity) {
56 $md = $entity->getMetadata1xSP();
61 $md = $entity->getMetadata1xIdP();
66 $md = $entity->getMetadata20SP();
71 $md = $entity->getMetadata20IdP();
76 $md = $entity->getAttributeAuthorities();
82 $this->metadata =
array(
83 'shib13-sp-remote' => $SP1x,
84 'shib13-idp-remote' => $IdP1x,
85 'saml20-sp-remote' => $SP20,
86 'saml20-idp-remote' => $IdP20,
87 'attributeauthority-remote' => $AAD,
102 if (array_key_exists($set, $this->metadata)) {
103 return $this->metadata[$set];
Create styles array
The data for the language used.
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.