Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleattribute-filter.xml
linenumberstrue
<?xml version="1.0" encoding="UTF-8"?>

<AttributeFilterPolicyGroup id="ShibbolethFilterPolicy"
        	xmlns="urn:mace:shibboleth:2.0:afp"
        	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="urn:mace:shibboleth:2.0:afp http://shibboleth.net/schema/idp/shibboleth-afp.xsd">

	<!-- REFEDS ReleaseAnonymous theAuthorization transientEntity ID toCategory anyone -->
	<AttributeFilterPolicy id="releaseTransientIdToAnyonereleaseToRefedsAnonymous">
        		<PolicyRequirementRule xsi:type="ANYEntityAttributeExactMatch" />

        <AttributeRule attributeID="transientId">
                attributeName="http://macedir.org/entity-category" attributeValue="https://refeds.org/category/anonymous" />
		<AttributeRule attributeID="eduPersonScopedAffiliation">
			<PermitValueRule xsi:type="ANY" />
        		</AttributeRule>
</AttributeFilterPolicy>

<!-- GEANT Data protection Code of Conduct -->
<AttributeFilterPolicy id="releaseToCoCo">
        <PolicyRequirementRule		<AttributeRule attributeID="schacHomeOrganization">
			<PermitValueRule xsi:type="EntityAttributeExactMatch"
                ANY"/>
		</AttributeRule>
	</AttributeFilterPolicy>

	<!-- REFEDS Pseudonymous Authorization Entity Category -->
	<!-- Supports data minimalisation to prevent use together with anonymous -->
	<AttributeFilterPolicy id="releaseToRefedsPseudonymous">
		<PolicyRequirementRule xsi:type="AND">
			<Rule xsi:type="EntityAttributeExactMatch" attributeName="http://macedir.org/entity-category"
                attributeValue="httphttps://wwwrefeds.geant.netorg/uri/dataprotection-code-of-conduct/v1category/pseudonymous" />
        <AttributeRule attributeID="eduPersonTargetedID">
                <PermitValueRule			<Rule xsi:type="NOT">
				<Rule xsi:type="EntityAttributeExactMatch" attributeName="AttributeInMetadatahttp://macedir.org/entity-category" onlyIfRequiredattributeValue="truehttps://refeds.org/category/anonymous" />
        </AttributeRule>
        			</Rule>
		</PolicyRequirementRule>
		<AttributeRule attributeID="eduPersonPrincipalNamesamlPairwiseID">
                			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="true" ANY"/>
        		</AttributeRule>
        		<AttributeRule attributeID="eduPersonUniqueIdeduPersonScopedAffiliation">
                <PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="true" />
        </AttributeRule>
        			<PermitValueRule xsi:type="ANY"/>
		</AttributeRule>
		<AttributeRule attributeID="eduPersonOrcidschacHomeOrganization">
                			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="true" ANY"/>
        		</AttributeRule>
        		<AttributeRule attributeID="norEduPersonNINeduPersonAssurance">
                			<PermitValueRule xsi:type="ANDANY" />
		</AttributeRule>
	</AttributeFilterPolicy>

	<!-- REFEDS Personalized Access Entity Category	-->
	<!-- Supports data minimalisation to prevent use together with anonymous and         <Rule pseudonymous-->
	<AttributeFilterPolicy id="releaseToRefedsPersonalized">
		<PolicyRequirementRule xsi:type="AttributeInMetadata" onlyIfRequired="true" />
                        AND">
			<Rule xsi:type="RegistrationAuthorityEntityAttributeExactMatch" registrarsattributeName="http://wwwmacedir.swamid.se/org/entity-category" />
                </PermitValueRule>
        </AttributeRule>
        <AttributeRule attributeID="personalIdentityNumber">
                <PermitValueRule attributeValue="https://refeds.org/category/personalized" />
			<Rule xsi:type="NOT">
				<Rule xsi:type="OR">
					<Rule xsi:type="ANDEntityAttributeExactMatch">
                        <Rule xsi:type="AttributeInMetadata" onlyIfRequired="true" />
                         attributeName="http://macedir.org/entity-category" attributeValue="https://refeds.org/category/anonymous" />
					<Rule xsi:type="RegistrationAuthorityEntityAttributeExactMatch" registrarsattributeName="http://www.swamid.se/macedir.org/entity-category" attributeValue="https://refeds.org/category/pseudonymous" />
                </PermitValueRule>
        </AttributeRule>
        				</Rule>
			</Rule>
		</PolicyRequirementRule>
		<AttributeRule attributeID="schacDateOfBirthsamlSubjectID">
                			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="true"ANY" />
        		</AttributeRule>
        		<AttributeRule attributeID="maildisplayName">
                <PermitValueRule xsi			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="trueANY" />
        		</AttributeRule>
        		<AttributeRule attributeID="cngivenName">
                			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="trueANY" />
        <		</AttributeRule>
        		<AttributeRule attributeID="displayNamesn">
                			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="trueANY" />
        		</AttributeRule>
        		<AttributeRule attributeID="givenNamemail">
			<PermitValueRule xsi:type="ANY"               />
		</AttributeRule>
		<AttributeRule attributeID="eduPersonAssurance">
			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="trueANY" />
        		</AttributeRule>
        		<AttributeRule attributeID="snschacHomeOrganization">
			<PermitValueRule                <PermitValueRulexsi:type="ANY" />
		</AttributeRule>
		<AttributeRule attributeID="eduPersonScopedAffiliation">
			<PermitValueRule xsi:type="OR">
				<Rule xsi:type="Value" value="faculty" caseSensitive="false" />
				<Rule xsi:type="AttributeInMetadataValue" onlyIfRequiredvalue="truestudent" caseSensitive="false"/>
        </AttributeRule>
        <AttributeRule attributeID="eduPersonAssurance">
                <PermitValueRule				<Rule xsi:type="Value" value="staff" caseSensitive="false"/>
				<Rule xsi:type="AttributeInMetadataValue" onlyIfRequiredvalue="truealum" caseSensitive="false"/>
        </AttributeRule>
        <AttributeRule attributeID="eduPersonScopedAffiliation">
                <PermitValueRule				<Rule xsi:type="Value" value="member" caseSensitive="false"/>
				<Rule xsi:type="Value" value="affiliate" caseSensitive="false"/>
				<Rule xsi:type="ANDValue">
                         value="employee" caseSensitive="false"/>
				<Rule xsi:type="AttributeInMetadataValue" onlyIfRequiredvalue="truelibrary-walk-in" caseSensitive="false"/>
			</PermitValueRule>
		</AttributeRule>
	</AttributeFilterPolicy>

	<!-- Rule to honour Subject ID requirement tag in metadata. Used in combination with Geant/Refeds Code of Conduct       <Rule xsi:type="OR">
                                v* -->
	<!-- Code of Conduct can be combined with other entity categories -->
	<!-- Supports data minimalisation to prevent subject-id and pairwise-id being released together -->
	<AttributeFilterPolicy id="subject-identifiers">
		<PolicyRequirementRule xsi:type="OR">
			<Rule xsi:type="ValueEntityAttributeExactMatch" valueattributeName="facultyhttp://macedir.org/entity-category" ignoreCaseattributeValue="truehttp://www.geant.net/uri/dataprotection-code-of-conduct/v1" />
			<Rule                                <Rule xsi:type="Value" value="student" ignoreCase="true" />
                                xsi:type="EntityAttributeExactMatch" attributeName="http://macedir.org/entity-category" attributeValue="https://refeds.org/category/code-of-conduct/v2" />
		</PolicyRequirementRule>
		<AttributeRule attributeID="samlPairwiseID">
			<PermitValueRule xsi:type="AND">
				<Rule xsi:type="Value" value="staff" ignoreCase="true" />
                                NOT">
					<Rule xsi:type="EntityAttributeExactMatch" attributeName="http://macedir.org/entity-category" attributeValue="https://refeds.org/category/personalized" />
				</Rule>
				<Rule xsi:type="Value" value="alum" ignoreCase="trueOR">
					<Rule xsi:type="EntityAttributeExactMatch" attributeName="urn:oasis:names:tc:SAML:profiles:subject-id:req" attributeNameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" attributeValue="pairwise-id" />
					<Rule                                <Rule xsi:type="Value" value="member" ignoreCase="true" />
                                <Rule xsi:type="Value" value="affiliate" ignoreCase="true" />
                                xsi:type="EntityAttributeExactMatch" attributeName="urn:oasis:names:tc:SAML:profiles:subject-id:req" attributeNameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" attributeValue="any" />
				</Rule>
			</PermitValueRule>
		</AttributeRule>
		<AttributeRule attributeID="samlSubjectID">
			<PermitValueRule xsi:type="AND">
				<Rule xsi:type="NOT">
					<Rule xsi:type="ValueEntityAttributeExactMatch" valueattributeName="employeehttp://macedir.org/entity-category" ignoreCaseattributeValue="truehttps://refeds.org/category/pseudonymous" />
                                				</Rule>
				<Rule xsi:type="ValueEntityAttributeExactMatch" valueattributeName="library-walk-in" ignoreCase="true" />
                        </Rule>
                </PermitValueRule>
        </AttributeRule>
        <AttributeRule attributeID="eduPersonAffiliation">
                <PermitValueRuleurn:oasis:names:tc:SAML:profiles:subject-id:req" attributeNameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" attributeValue="subject-id" />
			</PermitValueRule>
		</AttributeRule>
	</AttributeFilterPolicy>

	<!-- GEANT Data protection Code of Conduct or REFEDS Data Protection Code of Conduct Entity Category -->
	<AttributeFilterPolicy id="releaseToCodeOfConduct">
		<PolicyRequirementRule xsi:type="OR">
			<Rule xsi:type="AttributeInMetadataEntityAttributeExactMatch" onlyIfRequiredattributeName="true" />
        </AttributeRule>
        <AttributeRule attributeID="o">
                <PermitValueRulehttp://macedir.org/entity-category" attributeValue="http://www.geant.net/uri/dataprotection-code-of-conduct/v1" />
			<Rule xsi:type="AttributeInMetadataEntityAttributeExactMatch" onlyIfRequiredattributeName="true" />
        </AttributeRule>
        http://macedir.org/entity-category" attributeValue="https://refeds.org/category/code-of-conduct/v2" />
		</PolicyRequirementRule>
		<AttributeRule attributeID="norEduOrgAcronymeduPersonTargetedID">
                			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="true" />
        <		</AttributeRule>
        		<AttributeRule attributeID="ceduPersonPrincipalName">
                			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="true" />
        		</AttributeRule>
        		<AttributeRule attributeID="coeduPersonOrcid">
                			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="true" />
        		</AttributeRule>
        		<AttributeRule attributeID="schacHomeOrganizationnorEduPersonNIN">
                <PermitValueRule			<PermitValueRule xsi:type="AND">
				<Rule xsi:type="AttributeInMetadata" onlyIfRequired="true" />
				<Rule        </AttributeRule>
        xsi:type="RegistrationAuthority" registrars="http://www.swamid.se/" />
			</PermitValueRule>
		</AttributeRule>
		<AttributeRule attributeID="schacHomeOrganizationTypepersonalIdentityNumber">
                <PermitValueRule 			<PermitValueRule xsi:type="AND">
				<Rule xsi:type="AttributeInMetadata" onlyIfRequired="true" />
				<Rule        </AttributeRule>
</AttributeFilterPolicy>

<!-- REFEDS Research and Schoolarship -->
<AttributeFilterPolicy id="releaseToRandS">
        <PolicyRequirementRule xsi:type="RegistrationAuthority" registrars="http://www.swamid.se/" />
			</PermitValueRule>
		</AttributeRule>
		<AttributeRule attributeID="schacDateOfBirth">
			<PermitValueRule xsi:type="EntityAttributeExactMatchAttributeInMetadata"
                attributeName="http://macedir.org/entity-category"
                attributeValue="http://refeds.org/category/research-and-scholarshiponlyIfRequired="true" />
		</AttributeRule>
		<AttributeRule attributeID="mail">
			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="true" />
<!-- Alternative configuration examples for ePTID. See the static variables section of the attribute resolver.
        		</AttributeRule>
		<AttributeRule attributeID="eduPersonTargetedIDcn">
                			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="NOTtrue" />
                        <Rule		</AttributeRule>
		<AttributeRule attributeID="displayName">
			<PermitValueRule xsi:type="ValueAttributeInMetadata" valueonlyIfRequired="true"https://refeds.org/assurance/ID/eppn-unique-no-reassign" />
		</AttributeRule>
		<AttributeRule attributeID="eduPersonAssurancegivenName" />
			<PermitValueRule                </PermitValueRule>
        </AttributeRule>
-->
<!--
        xsi:type="AttributeInMetadata" onlyIfRequired="true" />
		</AttributeRule>
		<AttributeRule attributeID="eduPersonTargetedIDsn">
			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="true"              />
		</AttributeRule>
		<AttributeRule attributeID="eduPersonAssurance">
			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="ANYtrue" />
        		</AttributeRule>
-->
        		<AttributeRule attributeID="displayNameeduPersonScopedAffiliation">
                <PermitValueRule			<PermitValueRule xsi:type="AND">
				<Rule xsi:type="ANY" />
        </AttributeRule>
        <AttributeRule attributeID="givenName">
                <PermitValueRuleAttributeInMetadata" onlyIfRequired="true" />
				<Rule xsi:type="ANYOR" />
					<Rule xsi:type="Value"       </AttributeRule>
        <AttributeRule attributeID="sn">
                <PermitValueRule xsi:type="ANYvalue="faculty" caseSensitive="false" />
					<Rule xsi:type="Value" value="student" caseSensitive="false" />
					<Rule xsi:type="Value"       </AttributeRule>
        <AttributeRule attributeID="mail">
                <PermitValueRule xsi:type="ANYvalue="staff" caseSensitive="false" />
					<Rule xsi:type="Value" value="alum" caseSensitive="false" />
					<Rule xsi:type="Value"       </AttributeRule>
        <AttributeRule attributeID="eduPersonUniqueId">
                <PermitValueRule xsi:type="ANYvalue="member" caseSensitive="false" />
					<Rule xsi:type="Value" value="affiliate" caseSensitive="false" />
					<Rule xsi:type="Value"       </AttributeRule>
        <AttributeRule attributeID="eduPersonAssurance">
                <PermitValueRulevalue="employee" caseSensitive="false" />
					<Rule xsi:type="ANYValue" />
        </AttributeRule>
        value="library-walk-in" caseSensitive="false" />
				</Rule>
			</PermitValueRule>
		</AttributeRule>
		<AttributeRule attributeID="eduPersonPrincipalNameeduPersonAffiliation">
                			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="ANYtrue" />
        		</AttributeRule>
        		<AttributeRule attributeID="eduPersonScopedAffiliationo">
                			<PermitValueRule xsi:type="ORAttributeInMetadata">
                        <Rule xsi:type="Value" value="faculty" ignoreCase onlyIfRequired="true" />
                        <Rule		</AttributeRule>
		<AttributeRule attributeID="norEduOrgAcronym">
			<PermitValueRule xsi:type="ValueAttributeInMetadata" value="student" ignoreCaseonlyIfRequired="true" />
		</AttributeRule>
                        <Rule xsi:type="Value" value="staff" ignoreCase="true" />
                        <Rule xsi:type="Value" value="alum" ignoreCase="true" />
                        <Rule xsi:type="Value" value="member" ignoreCase="true" />
                        <Rule xsi:type="Value" value="affiliate" ignoreCase="true" />
                        <Rule xsi:type="Value" value="employee" ignoreCase="true" />
                        <Rule xsi:type="Value" value="library-walk-in" ignoreCase="true" />
                </PermitValueRule>
        </AttributeRule>
</AttributeFilterPolicy>

<!-- DEPRECATED entity-category-swamid-research-and-education WILL BE REMOVED 2020-10-31 -->
<AttributeFilterPolicy id="entity-category-research-and-education">
        <PolicyRequirementRule xsi:type="AND">
                <Rule xsi:type="OR">
                        <Rule xsi:type="EntityAttributeExactMatch"
                                attributeName="http://macedir.org/entity-category"
                                attributeValue="http://www.swamid.se/category/eu-adequate-protection" />
                        <Rule xsi:type="EntityAttributeExactMatch"
                                attributeName="http://macedir.org/entity-category"
                                attributeValue="http://www.swamid.se/category/nren-service" />
                        <Rule xsi:type="EntityAttributeExactMatch"
                                attributeName="http://macedir.org/entity-category"
                                attributeValue="http://www.swamid.se/category/hei-service" />
                </Rule>
                <Rule xsi:type="EntityAttributeExactMatch"
                        attributeName="http://macedir.org/entity-category"
                        attributeValue="http://www.swamid.se/category/research-and-education" />
        </PolicyRequirementRule>
        <AttributeRule attributeID="givenName">
                <PermitValueRule xsi:type="ANY" />
        </AttributeRule>
        <AttributeRule attributeID="sn">
                <PermitValueRule xsi:type="ANY" />
        </AttributeRule>
        <AttributeRule attributeID="displayName">
                		<AttributeRule attributeID="c">
			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="true" />
		</AttributeRule>
		<AttributeRule attributeID="co">
			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="true" />
		</AttributeRule>
		<AttributeRule attributeID="schacHomeOrganization">
			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="true" />
		</AttributeRule>
		<AttributeRule attributeID="schacHomeOrganizationType">
			<PermitValueRule xsi:type="AttributeInMetadata" onlyIfRequired="true" />
		</AttributeRule>
	</AttributeFilterPolicy>

	<!-- REFEDS Research and Scholarship Entity Category -->
	<AttributeFilterPolicy id="releaseToRefedsResearchAndScholarship">
		<PolicyRequirementRule xsi:type="EntityAttributeExactMatch" attributeName="http://macedir.org/entity-category" attributeValue="http://refeds.org/category/research-and-scholarship" />
		<AttributeRule attributeID="eduPersonTargetedID">
			<PermitValueRule xsi:type="NOT">
				<Rule xsi:type="Value" value="https://refeds.org/assurance/ID/eppn-unique-no-reassign" attributeID="eduPersonAssurance" />
			</PermitValueRule>
		</AttributeRule>
		<AttributeRule attributeID="displayName">
			<PermitValueRule xsi:type="ANY" />
        		</AttributeRule>
        		<AttributeRule attributeID="cngivenName">
                			<PermitValueRule xsi:type="ANY" />
        		</AttributeRule>
        		<AttributeRule attributeID="eduPersonPrincipalNamesn">
                			<PermitValueRule xsi:type="ANY" />
        		</AttributeRule>
        
		<AttributeRule attributeID="eduPersonAssurancemail">
                			<PermitValueRule xsi:type="ANY" />
        		</AttributeRule>
        		<AttributeRule attributeID="maileduPersonAssurance">
                			<PermitValueRule xsi:type="ANY" />
         />
		</AttributeRule>
        		<AttributeRule attributeID="eduPersonScopedAffiliationeduPersonPrincipalName">
                			<PermitValueRule xsi:type="ORANY" />
                        <Rule xsi:type="Value" value="faculty" ignoreCase="true" />
                        
		</AttributeRule>
		<AttributeRule attributeID="eduPersonScopedAffiliation">
			<PermitValueRule xsi:type="OR">
				<Rule xsi:type="Value" value="studentfaculty" ignoreCase="true" />
                        caseSensitive="false" />
				<Rule xsi:type="Value" value="staffstudent" ignoreCasecaseSensitive="truefalse" />
                        				<Rule xsi:type="Value" value="alumstaff" ignoreCasecaseSensitive="truefalse" />
                        				<Rule xsi:type="Value" value="alum" caseSensitive="false" />
				<Rule xsi:type="Value" value="member" ignoreCasecaseSensitive="truefalse" />
                        				<Rule xsi:type="Value" value="affiliate" ignoreCasecaseSensitive="truefalse" />
                        				<Rule xsi:type="Value" value="employee" ignoreCasecaseSensitive="truefalse" />
                        				<Rule xsi:type="Value" value="library-walk-in" ignoreCasecaseSensitive="truefalse" />
                			</PermitValueRule>
        		</AttributeRule>
        <AttributeRule attributeID="o">
                <PermitValueRule xsi:type="ANY" />
        </AttributeRule>
        <AttributeRule attributeID="norEduOrgAcronym">
                <PermitValueRule
	</AttributeFilterPolicy>

	<!-- ESI European Student Identifier -->
	<AttributeFilterPolicy id="entity-category-european-student-identifier">
		<PolicyRequirementRule xsi:type="EntityAttributeExactMatch" attributeName="http://macedir.org/entity-category" attributeValue="https://myacademicid.org/entity-categories/esi" />
		<AttributeRule attributeID="schacPersonalUniqueCode">
			<PermitValueRule xsi:type="ValueRegex" regex="^urn:schac:personalUniqueCode:int:esi:.*" />
		</AttributeRule>
	</AttributeFilterPolicy>

	<!-- DEPRECATED entity-category-swamid-research-and-education -->
	<AttributeFilterPolicy id="entity-category-research-and-education">
		<PolicyRequirementRule xsi:type="ANYAND" />
        </AttributeRule>
        <AttributeRule attributeID="c">
                <PermitValueRule			<Rule xsi:type="OR">
				<Rule xsi:type="ANYEntityAttributeExactMatch" />
        </AttributeRule>
        <AttributeRule attributeID="co">
                <PermitValueRule attributeName="http://macedir.org/entity-category" attributeValue="http://www.swamid.se/category/eu-adequate-protection" />
				<Rule xsi:type="ANYEntityAttributeExactMatch" />
        </AttributeRule>
        <AttributeRule attributeID="schacHomeOrganization">
                <PermitValueRuleattributeName="http://macedir.org/entity-category" attributeValue="http://www.swamid.se/category/nren-service" />
				<Rule xsi:type="ANYEntityAttributeExactMatch" />
        </AttributeRule>
</AttributeFilterPolicy>

<!-- DEPRECATED entity-category-sfs-1993-1153 WILL BE REMOVED 2020-10-31-->
<AttributeFilterPolicy id="entity-category-sfs-1993-1153">
        <PolicyRequirementRule attributeName="http://macedir.org/entity-category" attributeValue="http://www.swamid.se/category/hei-service" />
			</Rule>
			<Rule xsi:type="EntityAttributeExactMatch"
                        attributeName="http://macedir.org/entity-category"
                       /entity-category" attributeValue="http://www.swamid.se/category/sfs-1993-1153research-and-education" />
		</PolicyRequirementRule>
		<AttributeRule attributeID="givenName">
			<PermitValueRule xsi:type="ANY" />
		</AttributeRule>
		<AttributeRule attributeID="sn">
			<PermitValueRule xsi:type="ANY" />

        		</AttributeRule>
		<AttributeRule attributeID="norEduPersonNINdisplayName">
                			<PermitValueRule xsi:type="ANY" />
        		</AttributeRule>
        		<AttributeRule attributeID="eduPersonAssurancecn">
                			<PermitValueRule xsi:type="ANY" />
        		</AttributeRule>
</AttributeFilterPolicy>

<!-- Examples of entityId based release to Service Providers -->

<!-- Release to testshib.org -->
<!--
<AttributeFilterPolicy id="testShib">
        <PolicyRequirementRule xsi:type="Requester" value="https://sp.testshib.org/shibboleth-sp		<AttributeRule attributeID="eduPersonPrincipalName">
			<PermitValueRule xsi:type="ANY" />

        		</AttributeRule>
		<AttributeRule attributeID="givenNameeduPersonAssurance">
                			<PermitValueRule xsi:type="ANY" />
        </AttributeRule>

        		</AttributeRule>
		<AttributeRule attributeID="commonNamemail">
                			<PermitValueRule xsi:type="ANY" />
        		</AttributeRule>

        		<AttributeRule attributeID="surnameeduPersonScopedAffiliation">
                <PermitValueRule			<PermitValueRule xsi:type="OR">
				<Rule xsi:type="ANYValue" />
        </AttributeRule>

        <AttributeRule attributeID="principal">
                <PermitValueRule xsi:type="ANY" />
        </AttributeRule>

</AttributeFilterPolicy>
-->




<!-- NyA-webben UHR -->
<!--
<AttributeFilterPolicy id="releaseNyAwebbenEntitlement">
        <PolicyRequirementRulevalue="faculty" caseSensitive="false" />
				<Rule xsi:type="Value" value="student" caseSensitive="false" />
				<Rule xsi:type="Value" value="staff" caseSensitive="false" />
				<Rule xsi:type="Value" value="alum" caseSensitive="false" />
				<Rule xsi:type="Value" value="member" caseSensitive="false" />
				<Rule xsi:type="ORValue">
 value="affiliate"               caseSensitive="false" />
				<Rule xsi:type="RequesterValue" value="https://expert.antagning.se/ecs-spemployee" caseSensitive="false" />
                				<Rule xsi:type="RequesterValue" value="library-walk-in" caseSensitive="false"https://expert.testa.antagning.se/ecs-sp" />
                <Rule  />
			</PermitValueRule>
		</AttributeRule>
		<AttributeRule attributeID="o">
			<PermitValueRule xsi:type="Requester" value="https://expert.testb.antagning.se/ecs-spANY" />
		</AttributeRule>
		<AttributeRule attributeID="norEduOrgAcronym">
			<PermitValueRule xsi:type="ANY" />
        		</PolicyRequirementRule>

        AttributeRule>
		<AttributeRule attributeID="NyAwebbenEntitlementco">
                			<PermitValueRule xsi:type="ANY" />
        		</AttributeRule>
</AttributeFilterPolicy>
-->




<!--  New TCS Personal -->
<!--
<AttributeFilterPolicy id="releaseTcsPersonalEntitlement">
        <PolicyRequirementRule 		<AttributeRule attributeID="c">
			<PermitValueRule xsi:type="ANY" />
		</AttributeRule>
		<AttributeRule attributeID="schacHomeOrganization">
			<PermitValueRule xsi:type="RequesterANY" value="https://www.digicert.com/sso" />

        <AttributeRule attributeID="displayName">
                <PermitValueRule />
		</AttributeRule>
	</AttributeFilterPolicy>

	<!-- DEPRECATED entity-category-sfs-1993-1153 -->
	<AttributeFilterPolicy id="entity-category-sfs-1993-1153">
		<PolicyRequirementRule xsi:type="ANYEntityAttributeExactMatch" />
        </AttributeRule>
        attributeName="http://macedir.org/entity-category" attributeValue="http://www.swamid.se/category/sfs-1993-1153" />
		<AttributeRule attributeID="eduPersonPrincipalNamenorEduPersonNIN">
                			<PermitValueRule xsi:type="ANY" />
        		</AttributeRule>
        		<AttributeRule attributeID="tcsPersonalEntitlementeduPersonAssurance">
                			<PermitValueRule xsi:type="ANY" />
        		</AttributeRule>
	</AttributeFilterPolicy>

	<!-- Sectigo       <AttributeRule attributeID="mail">
                <PermitValueRule -->
	<AttributeFilterPolicy id="releaseSectigoAttributeBundle">
		<PolicyRequirementRule xsi:type="ANYRequester" />
        </AttributeRule>
        value="https://cert-manager.com/shibboleth" />
		<AttributeRule attributeID="schacHomeOrganizationeduPersonPrincipalName">
                			<PermitValueRule xsi:type="ANY"/>
        		</AttributeRule>
</AttributeFilterPolicy>
-->



<!--  Sertigo -->
<!--
<AttributeFilterPolicy id="releaseSertigoEntitlement">
        <PolicyRequirementRule		<AttributeRule attributeID="displayName">
			<PermitValueRule xsi:type="Requester" value="https://cert-manager.com/shibbolethANY" />

        		</AttributeRule>
		<AttributeRule attributeID="eduPersonPrincipalNamegivenName">
                			<PermitValueRule xsi:type="ANY" />
        		</AttributeRule>
        		<AttributeRule attributeID="displayNamemail">
                			<PermitValueRule xsi:type="ANY" />
        		</AttributeRule>
        		<AttributeRule attributeID="givenNamesn">
                			<PermitValueRule xsi:type="ANY" />
        		</AttributeRule>
        		<AttributeRule attributeID="mailschacHomeOrganization">
                			<PermitValueRule xsi:type="ANY" />
        		</AttributeRule>
        		<AttributeRule attributeID="sntcsPersonalEntitlement">
                	<PermitValueRule xsi:type="ANY"/>
        	</AttributeRule>
<   </AttributeFilterPolicy>
-->


 <!-- PLACEHOLDER DO NOT REMOVE -->
</AttributeFilterPolicyGroup>

...