#include <saml/saml2/metadata/MetadataCredentialCriteria.h>
Public Member Functions | |
MetadataCredentialCriteria (const RoleDescriptor &role) | |
Constructor. | |
const RoleDescriptor & | getRole () const |
Return the metadata role associated with the credentials. | |
bool | matches (const xmltooling::Credential &credential) const |
Get whether the candidate credential matches the criteria. |
opensaml::saml2md::MetadataCredentialCriteria::MetadataCredentialCriteria | ( | const RoleDescriptor & | role | ) |
Constructor.
role | source of metadata-supplied credentials |
const RoleDescriptor& opensaml::saml2md::MetadataCredentialCriteria::getRole | ( | ) | const [inline] |
Return the metadata role associated with the credentials.
bool opensaml::saml2md::MetadataCredentialCriteria::matches | ( | const xmltooling::Credential & | credential | ) | const |
Get whether the candidate credential matches the criteria.
credential | candidate |