+ /**
+ * Sets the order of contact types to use in annotating exceptions with contact information.
+ *
+ * @param contactTypes whitespace-delimited list of contact types
+ */
+ virtual void setContactPriority(const XMLCh* contactTypes)=0;
+
+ /**
+ * Returns the appropriate contact to use for the entity.
+ *
+ * @param entity the entity to search
+ * @return a contact to use, or nullptr
+ */
+ virtual const saml2md::ContactPerson* getContactPerson(const saml2md::EntityDescriptor& entity) const=0;
+
+ /**
+ * Returns the appropriate contact to use for the role.
+ *
+ * @param entity the role to search
+ * @return a contact to use, or nullptr
+ */
+ virtual const saml2md::ContactPerson* getContactPerson(const saml2md::RoleDescriptor& role) const=0;
+