opensaml-3.2.1
opensaml::saml2md::MetadataCredentialCriteria Class Reference

Metadata-based CredentialCriteria subclass. More...

#include <saml/saml2/metadata/MetadataCredentialCriteria.h>

Inheritance diagram for opensaml::saml2md::MetadataCredentialCriteria:

Public Member Functions

 MetadataCredentialCriteria (const RoleDescriptor &role)
 Constructor. More...
 
const RoleDescriptor & getRole () const
 Return the metadata role associated with the credentials. More...
 
bool matches (const xmltooling::Credential &credential) const
 Get whether the candidate credential matches the criteria. More...
 

Detailed Description

Metadata-based CredentialCriteria subclass.

Constructor & Destructor Documentation

◆ MetadataCredentialCriteria()

opensaml::saml2md::MetadataCredentialCriteria::MetadataCredentialCriteria ( const RoleDescriptor &  role)

Constructor.

Parameters
rolesource of metadata-supplied credentials

Member Function Documentation

◆ getRole()

const RoleDescriptor& opensaml::saml2md::MetadataCredentialCriteria::getRole ( ) const
inline

Return the metadata role associated with the credentials.

Returns
the associated metadata role

◆ matches()

bool opensaml::saml2md::MetadataCredentialCriteria::matches ( const xmltooling::Credential &  credential) const

Get whether the candidate credential matches the criteria.

Parameters
credentialcandidate

The documentation for this class was generated from the following file: