Javadoc
A filter the removes roles, from an entity descriptor. For those roles specified within the SAML metadata
specification the role element QName is used to identify the role. For other roles, those that appear as
<RoleDescriptor xsi:type="someRoleType"> the role schema type is used to identify the role.
If the entity descriptor does not contain any roles after filter it may, optionally be removed as well. If the root
element of the metadata document is an entity descriptor it will never be removed, regardless of of whether it still
contains roles.
If and entities descriptor does not contains any entity descriptors after filter it may, optionally, be removed as
well. If the root element of the metadata document is an entities descriptor it will never be removed, regardless of
of whether it still contains entity descriptors.