#include <saml/saml2/metadata/AbstractMetadataProvider.h>
Inheritance diagram for opensaml::saml2md::AbstractMetadataProvider:

Public Member Functions | |
| void | outputStatus (std::ostream &os) const |
| Generate an XML representation of the provider's status. | |
| void | emitChangeEvent () const |
| Convenience method for notifying every registered Observer of an event. | |
| void | emitChangeEvent (const EntityDescriptor &) const |
| Convenience method for notifying every registered Observer of an event. | |
|
std::pair< const EntityDescriptor *, const RoleDescriptor * > | getEntityDescriptor (const Criteria &criteria) const |
| const EntitiesDescriptor * | getEntitiesDescriptor (const char *name, bool requireValidMetadata=true) const |
| Gets the metadata for a given group of entities. | |
| const xmltooling::Credential * | resolve (const xmltooling::CredentialCriteria *criteria=nullptr) const |
|
std::vector< const xmltooling::Credential * >::size_type | resolve (std::vector< const xmltooling::Credential * > &results, const xmltooling::CredentialCriteria *criteria=nullptr) const |
Protected Member Functions | |
| AbstractMetadataProvider (const xercesc::DOMElement *e=nullptr) | |
| Constructor. | |
| virtual void | indexEntity (EntityDescriptor *site, time_t &validUntil, bool replace=false) const |
| Loads an entity into the cache for faster lookup. | |
| virtual void | indexGroup (EntitiesDescriptor *group, time_t &validUntil) const |
| Loads a group of entities into the cache for faster lookup. | |
| virtual void | index (EntityDescriptor *site, time_t validUntil, bool replace=false) const |
| virtual void | index (EntitiesDescriptor *group, time_t validUntil) const |
| virtual void | clearDescriptorIndex (bool freeSites=false) |
| Clear the cache of known entities and groups. | |
Protected Attributes | |
| time_t | m_lastUpdate |
| Time of last update for reporting. | |
| xmltooling::KeyInfoResolver * | m_resolver |
| Embedded KeyInfoResolver instance. | |
|
|
Constructor. If a DOM is supplied, a set of default logic will be used to identify and build a KeyInfoResolver plugin and install it into the provider. The following XML content is supported:
XML namespaces are ignored in the processing of these elements.
|
|
|
Clear the cache of known entities and groups.
|
|
||||||||||||
|
Gets the metadata for a given group of entities. If a valid group is returned, the resolver will be left in a locked state. The caller MUST unlock the resolver when finished with the group.
Implements opensaml::saml2md::MetadataProvider. |
|
||||||||||||
|
|
|
||||||||||||||||
|
This includes processing known reverse lookup strategies for artifacts.
|
|
||||||||||||||||
|
Loads an entity into the cache for faster lookup. This includes processing known reverse lookup strategies for artifacts. The validUntil parameter will contain the smallest value found on output.
|
|
||||||||||||
|
Loads a group of entities into the cache for faster lookup. The validUntil parameter will contain the smallest value found on output.
|
|
|
Generate an XML representation of the provider's status. The XML must be well-formed, but is otherwise arbitrary.
Reimplemented from opensaml::saml2md::MetadataProvider. |
1.4.6