X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=saml%2Fsaml2%2Fmetadata%2FMetadataCredentialCriteria.h;h=dfe4bccd0c6d40e63f6e95f7462ece55cabb2676;hb=46ac496b77b850309c07e732ff89fa41c776915d;hp=7f8d77bf4d992fa266a22938ab213d757a7fd7a9;hpb=8609db5e5b7aac2ce75fc2fe5fbee8b31a311735;p=shibboleth%2Fcpp-opensaml.git diff --git a/saml/saml2/metadata/MetadataCredentialCriteria.h b/saml/saml2/metadata/MetadataCredentialCriteria.h index 7f8d77b..dfe4bcc 100644 --- a/saml/saml2/metadata/MetadataCredentialCriteria.h +++ b/saml/saml2/metadata/MetadataCredentialCriteria.h @@ -36,7 +36,7 @@ namespace opensaml { class SAML_API MetadataCredentialCriteria : public xmltooling::CredentialCriteria { public: - /* + /** * Constructor. * * @param role source of metadata-supplied credentials @@ -60,7 +60,7 @@ namespace opensaml { return m_role; } - bool matches(xmltooling::Credential& credential) const { + bool matches(const xmltooling::Credential& credential) const { const MetadataCredentialContext* context = dynamic_cast(credential.getCredentalContext()); if (context) { // Check for a usage mismatch.