shibboleth-3.0.1
|
A trivial FilteringContext implementation. More...
#include <shibsp/attribute/filtering/BasicFilteringContext.h>
Public Member Functions | |
BasicFilteringContext (const Application &app, const std::vector< Attribute * > &attributes, const opensaml::saml2md::RoleDescriptor *role=nullptr, const XMLCh *authncontext_class=nullptr, const XMLCh *authncontext_decl=nullptr) | |
Constructor. More... | |
const Application & | getApplication () const |
Gets the Application doing the filtering. More... | |
const XMLCh * | getAuthnContextClassRef () const |
Returns a URI containing an AuthnContextClassRef associated with the subject. More... | |
const XMLCh * | getAuthnContextDeclRef () const |
Returns a URI containing an AuthnContextDeclRef associated with the subject. More... | |
const XMLCh * | getAttributeRequester () const |
Gets the ID of the requester of the attributes, if known. More... | |
const XMLCh * | getAttributeIssuer () const |
Gets the ID of the issuer of the attributes, if known. More... | |
const opensaml::saml2md::RoleDescriptor * | getAttributeRequesterMetadata () const |
Gets the SAML metadata for the attribute requesting role, if available. More... | |
const opensaml::saml2md::RoleDescriptor * | getAttributeIssuerMetadata () const |
Gets the SAML metadata for the attribute issuing role, if available. More... | |
const std::multimap < std::string, Attribute * > & | getAttributes () const |
Returns the set of Attributes being filtered. More... | |
A trivial FilteringContext implementation.
shibsp::BasicFilteringContext::BasicFilteringContext | ( | const Application & | app, |
const std::vector< Attribute * > & | attributes, | ||
const opensaml::saml2md::RoleDescriptor * | role = nullptr , |
||
const XMLCh * | authncontext_class = nullptr , |
||
const XMLCh * | authncontext_decl = nullptr |
||
) |
Constructor.
app | reference to Application |
attributes | attributes being filtered |
role | metadata role of Attribute issuer, if any |
authncontext_class | method/category of authentication event, if known |
authncontext_decl | specifics of authentication event, if known |
|
virtual |
Gets the Application doing the filtering.
Implements shibsp::FilteringContext.
|
virtual |
Gets the ID of the issuer of the attributes, if known.
Implements shibsp::FilteringContext.
|
virtual |
Gets the SAML metadata for the attribute issuing role, if available.
Implements shibsp::FilteringContext.
|
virtual |
Gets the ID of the requester of the attributes, if known.
Implements shibsp::FilteringContext.
|
virtual |
Gets the SAML metadata for the attribute requesting role, if available.
Implements shibsp::FilteringContext.
|
virtual |
Returns the set of Attributes being filtered.
No modifications should be performed, access is provided only for use by MatchFunctors based on the presence of Attribute data.
Implements shibsp::FilteringContext.
|
virtual |
Returns a URI containing an AuthnContextClassRef associated with the subject.
SAML 1.x AuthenticationMethods will be returned as class references.
Implements shibsp::FilteringContext.
|
virtual |
Returns a URI containing an AuthnContextDeclRef associated with the subject.
Implements shibsp::FilteringContext.