43 if (empty($this->attributes)) {
46 if (array_key_exists(
$name, $this->attributes)) {
54 $xml =
'<?xml version="1.0" encoding="UTF-8"?> 55 <AttributeFilterPolicyGroup id="urn:mace:funet.fi:haka:kalmar" xmlns="urn:mace:shibboleth:2.0:afp" 56 xmlns:basic="urn:mace:shibboleth:2.0:afp:mf:basic" xmlns:saml="urn:mace:shibboleth:2.0:afp:mf:saml" 57 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 58 xsi:schemaLocation="urn:mace:shibboleth:2.0:afp classpath:/schema/shibboleth-2.0-afp.xsd 59 urn:mace:shibboleth:2.0:afp:mf:basic classpath:/schema/shibboleth-2.0-afp-mf-basic.xsd 60 urn:mace:shibboleth:2.0:afp:mf:saml classpath:/schema/shibboleth-2.0-afp-mf-saml.xsd"> 68 $xml .=
'</AttributeFilterPolicyGroup>';
73 $entityid = $entry[
'entityid'];
74 return ' <AttributeFilterPolicy id="' . $entityid .
'"> 75 <PolicyRequirementRule xsi:type="basic:AttributeRequesterString" value="' . $entityid .
'" /> 77 </AttributeFilterPolicy> 83 if (!array_key_exists(
'attributes', $entry))
87 foreach($entry[
'attributes'] AS $a) {
90 <PermitValueRule xsi:type="basic:ANY" />
Create styles array
The data for the language used.
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.