<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.5"/> <title>opensaml-2.5.2: opensaml::saml2::SAML2AssertionPolicy Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); $(window).load(resizeHeight); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">opensaml-2.5.2 </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('a00053.html','');}); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="a00171.html">List of all members</a> </div> <div class="headertitle"> <div class="title">opensaml::saml2::SAML2AssertionPolicy Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>Policy subclass to track SAML 2.0 <a class="el" href="a00005.html" title="Base class for SAML assertions. ">Assertion</a> SubjectConfirmation. <a href="a00053.html#details">More...</a></p> <p><code>#include <saml/saml2/profile/SAML2AssertionPolicy.h></code></p> <div class="dynheader"> Inheritance diagram for opensaml::saml2::SAML2AssertionPolicy:</div> <div class="dyncontent"> <div class="center"> <img src="a00053.png" usemap="#opensaml::saml2::SAML2AssertionPolicy_map" alt=""/> <map id="opensaml::saml2::SAML2AssertionPolicy_map" name="opensaml::saml2::SAML2AssertionPolicy_map"> <area href="a00060.html" title="A policy used to verify the security of an incoming message. " alt="opensaml::SecurityPolicy" shape="rect" coords="0,0,239,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:adbdcaa823cb082f1a7c6f5796411d5a6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00053.html#adbdcaa823cb082f1a7c6f5796411d5a6">SAML2AssertionPolicy</a> (const <a class="el" href="a00040.html">saml2md::MetadataProvider</a> *metadataProvider=nullptr, const xmltooling::QName *role=nullptr, const xmltooling::TrustEngine *trustEngine=nullptr, bool validate=true)</td></tr> <tr class="memdesc:adbdcaa823cb082f1a7c6f5796411d5a6"><td class="mdescLeft"> </td><td class="mdescRight">Constructor for policy. <a href="#adbdcaa823cb082f1a7c6f5796411d5a6">More...</a><br/></td></tr> <tr class="separator:adbdcaa823cb082f1a7c6f5796411d5a6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2a0ffc62c8b51bcf7f6157e8e0fe7e18"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00053.html#a2a0ffc62c8b51bcf7f6157e8e0fe7e18">reset</a> (bool messageOnly=false)</td></tr> <tr class="memdesc:a2a0ffc62c8b51bcf7f6157e8e0fe7e18"><td class="mdescLeft"> </td><td class="mdescRight">Resets the policy object and/or clears any per-message state. <a href="#a2a0ffc62c8b51bcf7f6157e8e0fe7e18">More...</a><br/></td></tr> <tr class="separator:a2a0ffc62c8b51bcf7f6157e8e0fe7e18"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aadc805df56f16cbeda056527a9cce606"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aadc805df56f16cbeda056527a9cce606"></a> void </td><td class="memItemRight" valign="bottom"><b>_reset</b> (bool messageOnly=false)</td></tr> <tr class="separator:aadc805df56f16cbeda056527a9cce606"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0e5ca4486954ac742b3019c2efcab3e7"><td class="memItemLeft" align="right" valign="top">const saml2::SubjectConfirmation * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00053.html#a0e5ca4486954ac742b3019c2efcab3e7">getSubjectConfirmation</a> () const </td></tr> <tr class="memdesc:a0e5ca4486954ac742b3019c2efcab3e7"><td class="mdescLeft"> </td><td class="mdescRight">Returns the subject confirmation that was successfully accepted by the policy. <a href="#a0e5ca4486954ac742b3019c2efcab3e7">More...</a><br/></td></tr> <tr class="separator:a0e5ca4486954ac742b3019c2efcab3e7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab6f9b1dca0289223eecd75df4a7e6b38"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00053.html#ab6f9b1dca0289223eecd75df4a7e6b38">setSubjectConfirmation</a> (const saml2::SubjectConfirmation *confirmation)</td></tr> <tr class="memdesc:ab6f9b1dca0289223eecd75df4a7e6b38"><td class="mdescLeft"> </td><td class="mdescRight">Sets the SubjectConfirmation that was successfully accepted by the policy. <a href="#ab6f9b1dca0289223eecd75df4a7e6b38">More...</a><br/></td></tr> <tr class="separator:ab6f9b1dca0289223eecd75df4a7e6b38"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_a00060"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_a00060')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="a00060.html">opensaml::SecurityPolicy</a></td></tr> <tr class="memitem:a450089f02750049ca76715415d092c4f inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a450089f02750049ca76715415d092c4f">SecurityPolicy</a> (const <a class="el" href="a00040.html">saml2md::MetadataProvider</a> *metadataProvider=nullptr, const xmltooling::QName *role=nullptr, const xmltooling::TrustEngine *trustEngine=nullptr, bool validate=true)</td></tr> <tr class="memdesc:a450089f02750049ca76715415d092c4f inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Constructor for policy. <a href="#a450089f02750049ca76715415d092c4f">More...</a><br/></td></tr> <tr class="separator:a450089f02750049ca76715415d092c4f inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6accc81280683068104ca96b9975aff8 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a00040.html">saml2md::MetadataProvider</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a6accc81280683068104ca96b9975aff8">getMetadataProvider</a> () const </td></tr> <tr class="memdesc:a6accc81280683068104ca96b9975aff8 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Returns the locked MetadataProvider supplied to the policy. <a href="#a6accc81280683068104ca96b9975aff8">More...</a><br/></td></tr> <tr class="separator:a6accc81280683068104ca96b9975aff8 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a43f88d69744e5790cc40aab8a342212a inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">virtual <br class="typebreak"/> <a class="el" href="a00018.html">saml2md::MetadataProvider::Criteria</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a43f88d69744e5790cc40aab8a342212a">getMetadataProviderCriteria</a> () const </td></tr> <tr class="memdesc:a43f88d69744e5790cc40aab8a342212a inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Returns a reference to a MetadataProvider::Criteria instance suitable for use with the installed MetadataProvider. <a href="#a43f88d69744e5790cc40aab8a342212a">More...</a><br/></td></tr> <tr class="separator:a43f88d69744e5790cc40aab8a342212a inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8107ae6358632bf2ab8c0736999bd16e inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">const xmltooling::QName * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a8107ae6358632bf2ab8c0736999bd16e">getRole</a> () const </td></tr> <tr class="memdesc:a8107ae6358632bf2ab8c0736999bd16e inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Returns the peer role element/type supplied to the policy. <a href="#a8107ae6358632bf2ab8c0736999bd16e">More...</a><br/></td></tr> <tr class="separator:a8107ae6358632bf2ab8c0736999bd16e inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac4eb4520eae14e31261f046589d49d61 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">const xmltooling::TrustEngine * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#ac4eb4520eae14e31261f046589d49d61">getTrustEngine</a> () const </td></tr> <tr class="memdesc:ac4eb4520eae14e31261f046589d49d61 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Returns the TrustEngine supplied to the policy. <a href="#ac4eb4520eae14e31261f046589d49d61">More...</a><br/></td></tr> <tr class="separator:ac4eb4520eae14e31261f046589d49d61 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8e2306d8c330419d714a1cf0e62e9c60 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a8e2306d8c330419d714a1cf0e62e9c60">getValidating</a> () const </td></tr> <tr class="memdesc:a8e2306d8c330419d714a1cf0e62e9c60 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Returns XML message validation setting. <a href="#a8e2306d8c330419d714a1cf0e62e9c60">More...</a><br/></td></tr> <tr class="separator:a8e2306d8c330419d714a1cf0e62e9c60 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a37781c1c747b220500dde16b0001bee4 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a37781c1c747b220500dde16b0001bee4">requireEntityIssuer</a> () const </td></tr> <tr class="memdesc:a37781c1c747b220500dde16b0001bee4 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Returns flag controlling non-entity issuer support. <a href="#a37781c1c747b220500dde16b0001bee4">More...</a><br/></td></tr> <tr class="separator:a37781c1c747b220500dde16b0001bee4 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8a1625795b992c2b43d5aab23f289fd2 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">const std::vector<br class="typebreak"/> < xmltooling::xstring > & </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a8a1625795b992c2b43d5aab23f289fd2">getAudiences</a> () const </td></tr> <tr class="memdesc:a8a1625795b992c2b43d5aab23f289fd2 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Returns the SAML audiences that represent the receiving peer. <a href="#a8a1625795b992c2b43d5aab23f289fd2">More...</a><br/></td></tr> <tr class="separator:a8a1625795b992c2b43d5aab23f289fd2 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a891a024e86f583239d5c493e0701aa87 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">std::vector<br class="typebreak"/> < xmltooling::xstring > & </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a891a024e86f583239d5c493e0701aa87">getAudiences</a> ()</td></tr> <tr class="memdesc:a891a024e86f583239d5c493e0701aa87 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Returns the SAML audiences that represent the receiving peer. <a href="#a891a024e86f583239d5c493e0701aa87">More...</a><br/></td></tr> <tr class="separator:a891a024e86f583239d5c493e0701aa87 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa4b7ed9efc983acbeea783baaed843f0 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#aa4b7ed9efc983acbeea783baaed843f0">getTime</a> () const </td></tr> <tr class="memdesc:aa4b7ed9efc983acbeea783baaed843f0 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Gets the effective time of message processing. <a href="#aa4b7ed9efc983acbeea783baaed843f0">More...</a><br/></td></tr> <tr class="separator:aa4b7ed9efc983acbeea783baaed843f0 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6e14f0ce22133c56084efc1e984b7f75 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a6e14f0ce22133c56084efc1e984b7f75">getCorrelationID</a> () const </td></tr> <tr class="memdesc:a6e14f0ce22133c56084efc1e984b7f75 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Returns the message identifier to which the message being evaluated is a response. <a href="#a6e14f0ce22133c56084efc1e984b7f75">More...</a><br/></td></tr> <tr class="separator:a6e14f0ce22133c56084efc1e984b7f75 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae6c3594a1c14b5af991940ae7932d292 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">std::vector< const <br class="typebreak"/> <a class="el" href="a00061.html">SecurityPolicyRule</a> * > & </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#ae6c3594a1c14b5af991940ae7932d292">getRules</a> ()</td></tr> <tr class="memdesc:ae6c3594a1c14b5af991940ae7932d292 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Gets a mutable array of installed policy rules. <a href="#ae6c3594a1c14b5af991940ae7932d292">More...</a><br/></td></tr> <tr class="separator:ae6c3594a1c14b5af991940ae7932d292 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae51ade58db914eb82644ca5f62f82a2e inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#ae51ade58db914eb82644ca5f62f82a2e">setMetadataProvider</a> (const <a class="el" href="a00040.html">saml2md::MetadataProvider</a> *metadata)</td></tr> <tr class="memdesc:ae51ade58db914eb82644ca5f62f82a2e inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Sets a locked MetadataProvider for the policy. <a href="#ae51ade58db914eb82644ca5f62f82a2e">More...</a><br/></td></tr> <tr class="separator:ae51ade58db914eb82644ca5f62f82a2e inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a113bcb7efc91b141fa05783a3d878f10 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a113bcb7efc91b141fa05783a3d878f10">setMetadataProviderCriteria</a> (<a class="el" href="a00018.html">saml2md::MetadataProvider::Criteria</a> *criteria)</td></tr> <tr class="memdesc:a113bcb7efc91b141fa05783a3d878f10 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Sets a MetadataProvider::Criteria instance suitable for use with the installed MetadataProvider. <a href="#a113bcb7efc91b141fa05783a3d878f10">More...</a><br/></td></tr> <tr class="separator:a113bcb7efc91b141fa05783a3d878f10 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a333832670bb67facb01ad710d5758a3e inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a333832670bb67facb01ad710d5758a3e">setRole</a> (const xmltooling::QName *role)</td></tr> <tr class="memdesc:a333832670bb67facb01ad710d5758a3e inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Sets a peer role element/type for to the policy. <a href="#a333832670bb67facb01ad710d5758a3e">More...</a><br/></td></tr> <tr class="separator:a333832670bb67facb01ad710d5758a3e inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a407a4317296dc37795ea6d91dd730c31 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a407a4317296dc37795ea6d91dd730c31">setTrustEngine</a> (const xmltooling::TrustEngine *trust)</td></tr> <tr class="memdesc:a407a4317296dc37795ea6d91dd730c31 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Sets a TrustEngine for the policy. <a href="#a407a4317296dc37795ea6d91dd730c31">More...</a><br/></td></tr> <tr class="separator:a407a4317296dc37795ea6d91dd730c31 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a32846ea25f0f98ccd35716ff13c978f1 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a32846ea25f0f98ccd35716ff13c978f1">setValidating</a> (bool validate=true)</td></tr> <tr class="memdesc:a32846ea25f0f98ccd35716ff13c978f1 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Controls schema validation of incoming XML messages. <a href="#a32846ea25f0f98ccd35716ff13c978f1">More...</a><br/></td></tr> <tr class="separator:a32846ea25f0f98ccd35716ff13c978f1 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a426ab744256eb8c0ccf40c61af7d9117 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a426ab744256eb8c0ccf40c61af7d9117">requireEntityIssuer</a> (bool entityOnly=true)</td></tr> <tr class="memdesc:a426ab744256eb8c0ccf40c61af7d9117 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Sets flag controlling non-entity issuer support. <a href="#a426ab744256eb8c0ccf40c61af7d9117">More...</a><br/></td></tr> <tr class="separator:a426ab744256eb8c0ccf40c61af7d9117 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9021f56b0e976e6ca995c4563922c546 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a9021f56b0e976e6ca995c4563922c546">setTime</a> (time_t ts)</td></tr> <tr class="memdesc:a9021f56b0e976e6ca995c4563922c546 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Sets effective time of message processing. <a href="#a9021f56b0e976e6ca995c4563922c546">More...</a><br/></td></tr> <tr class="separator:a9021f56b0e976e6ca995c4563922c546 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a88fa06e259319dfa745ea3e67c71eb45 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a88fa06e259319dfa745ea3e67c71eb45">setCorrelationID</a> (const XMLCh *correlationID)</td></tr> <tr class="memdesc:a88fa06e259319dfa745ea3e67c71eb45 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Sets the message identifier to which the message being evaluated is a response. <a href="#a88fa06e259319dfa745ea3e67c71eb45">More...</a><br/></td></tr> <tr class="separator:a88fa06e259319dfa745ea3e67c71eb45 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a760babb944c9b743188508284b4f9619 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a760babb944c9b743188508284b4f9619">evaluate</a> (const xmltooling::XMLObject &message, const xmltooling::GenericRequest *request=nullptr)</td></tr> <tr class="memdesc:a760babb944c9b743188508284b4f9619 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Evaluates the policy against the given request and message, possibly populating message information in the policy object. <a href="#a760babb944c9b743188508284b4f9619">More...</a><br/></td></tr> <tr class="separator:a760babb944c9b743188508284b4f9619 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a20f56ebd5823ea2fbe4056800bb350d1 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a20f56ebd5823ea2fbe4056800bb350d1">_reset</a> (bool messageOnly=false)</td></tr> <tr class="memdesc:a20f56ebd5823ea2fbe4056800bb350d1 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Resets the policy object and/or clears any per-message state for only this specific class. <a href="#a20f56ebd5823ea2fbe4056800bb350d1">More...</a><br/></td></tr> <tr class="separator:a20f56ebd5823ea2fbe4056800bb350d1 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afead283e1dc08de3c7a9a652337da77e inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#afead283e1dc08de3c7a9a652337da77e">getMessageID</a> () const </td></tr> <tr class="memdesc:afead283e1dc08de3c7a9a652337da77e inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Returns the message identifier as determined by the registered policies. <a href="#afead283e1dc08de3c7a9a652337da77e">More...</a><br/></td></tr> <tr class="separator:afead283e1dc08de3c7a9a652337da77e inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a21e59354c709a6670d906dc0906a2be1 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a21e59354c709a6670d906dc0906a2be1">getIssueInstant</a> () const </td></tr> <tr class="memdesc:a21e59354c709a6670d906dc0906a2be1 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Returns the message timestamp as determined by the registered policies. <a href="#a21e59354c709a6670d906dc0906a2be1">More...</a><br/></td></tr> <tr class="separator:a21e59354c709a6670d906dc0906a2be1 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a21ba4c40fbe6a49a8612987a2224235e inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">const saml2::Issuer * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a21ba4c40fbe6a49a8612987a2224235e">getIssuer</a> () const </td></tr> <tr class="memdesc:a21ba4c40fbe6a49a8612987a2224235e inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Gets the issuer of the message as determined by the registered policies. <a href="#a21ba4c40fbe6a49a8612987a2224235e">More...</a><br/></td></tr> <tr class="separator:a21ba4c40fbe6a49a8612987a2224235e inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0d097a326a1794efb12da23161061db0 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">const saml2md::RoleDescriptor * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a0d097a326a1794efb12da23161061db0">getIssuerMetadata</a> () const </td></tr> <tr class="memdesc:a0d097a326a1794efb12da23161061db0 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Gets the metadata for the role the issuer is operating in. <a href="#a0d097a326a1794efb12da23161061db0">More...</a><br/></td></tr> <tr class="separator:a0d097a326a1794efb12da23161061db0 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a813491f4203d1cc0e5d2a11d67a7c0c6 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a813491f4203d1cc0e5d2a11d67a7c0c6">isAuthenticated</a> () const </td></tr> <tr class="memdesc:a813491f4203d1cc0e5d2a11d67a7c0c6 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Returns the authentication status of the message as determined by the registered policies. <a href="#a813491f4203d1cc0e5d2a11d67a7c0c6">More...</a><br/></td></tr> <tr class="separator:a813491f4203d1cc0e5d2a11d67a7c0c6 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1e1182621e06b0df2946d3ff197a6b7e inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a1e1182621e06b0df2946d3ff197a6b7e">setMessageID</a> (const XMLCh *id)</td></tr> <tr class="memdesc:a1e1182621e06b0df2946d3ff197a6b7e inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Sets the message identifier as determined by the registered policies. <a href="#a1e1182621e06b0df2946d3ff197a6b7e">More...</a><br/></td></tr> <tr class="separator:a1e1182621e06b0df2946d3ff197a6b7e inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a36053c291798a5089ef6eab2d3754141 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a36053c291798a5089ef6eab2d3754141">setIssueInstant</a> (time_t issueInstant)</td></tr> <tr class="memdesc:a36053c291798a5089ef6eab2d3754141 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Sets the message timestamp as determined by the registered policies. <a href="#a36053c291798a5089ef6eab2d3754141">More...</a><br/></td></tr> <tr class="separator:a36053c291798a5089ef6eab2d3754141 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab9fe6996bc114f63da8514663325fc4f inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#ab9fe6996bc114f63da8514663325fc4f">setIssuer</a> (const saml2::Issuer *issuer)</td></tr> <tr class="memdesc:ab9fe6996bc114f63da8514663325fc4f inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Sets the issuer of the message as determined by the registered policies. <a href="#ab9fe6996bc114f63da8514663325fc4f">More...</a><br/></td></tr> <tr class="separator:ab9fe6996bc114f63da8514663325fc4f inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae990aaa0ccb2ebac708e4fdd51d09cdd inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#ae990aaa0ccb2ebac708e4fdd51d09cdd">setIssuer</a> (const XMLCh *issuer)</td></tr> <tr class="memdesc:ae990aaa0ccb2ebac708e4fdd51d09cdd inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Sets the issuer of the message as determined by the registered policies. <a href="#ae990aaa0ccb2ebac708e4fdd51d09cdd">More...</a><br/></td></tr> <tr class="separator:ae990aaa0ccb2ebac708e4fdd51d09cdd inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a119cc3b3923c9eae1f2ec2a3749ef46c inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a119cc3b3923c9eae1f2ec2a3749ef46c">setIssuerMetadata</a> (const saml2md::RoleDescriptor *issuerRole)</td></tr> <tr class="memdesc:a119cc3b3923c9eae1f2ec2a3749ef46c inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Sets the metadata for the role the issuer is operating in. <a href="#a119cc3b3923c9eae1f2ec2a3749ef46c">More...</a><br/></td></tr> <tr class="separator:a119cc3b3923c9eae1f2ec2a3749ef46c inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a32b0cb80da5030065e5bb16ab9a482b6 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a32b0cb80da5030065e5bb16ab9a482b6">setAuthenticated</a> (bool auth)</td></tr> <tr class="memdesc:a32b0cb80da5030065e5bb16ab9a482b6 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Sets the authentication status of the message as determined by the registered policies. <a href="#a32b0cb80da5030065e5bb16ab9a482b6">More...</a><br/></td></tr> <tr class="separator:a32b0cb80da5030065e5bb16ab9a482b6 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7983cec67b75ef81b9bf4521f2be0fca inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a00029.html">IssuerMatchingPolicy</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a7983cec67b75ef81b9bf4521f2be0fca">getIssuerMatchingPolicy</a> () const </td></tr> <tr class="memdesc:a7983cec67b75ef81b9bf4521f2be0fca inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="a00029.html" title="Allows override of rules for comparing saml2:Issuer information. ">IssuerMatchingPolicy</a> in effect. <a href="#a7983cec67b75ef81b9bf4521f2be0fca">More...</a><br/></td></tr> <tr class="separator:a7983cec67b75ef81b9bf4521f2be0fca inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3af16a76a0f4bbf78bbc8a0697c197f0 inherit pub_methods_a00060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#a3af16a76a0f4bbf78bbc8a0697c197f0">setIssuerMatchingPolicy</a> (<a class="el" href="a00029.html">IssuerMatchingPolicy</a> *matchingPolicy)</td></tr> <tr class="memdesc:a3af16a76a0f4bbf78bbc8a0697c197f0 inherit pub_methods_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="a00029.html" title="Allows override of rules for comparing saml2:Issuer information. ">IssuerMatchingPolicy</a> in effect. <a href="#a3af16a76a0f4bbf78bbc8a0697c197f0">More...</a><br/></td></tr> <tr class="separator:a3af16a76a0f4bbf78bbc8a0697c197f0 inherit pub_methods_a00060"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pro_attribs_a00060"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_a00060')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="a00060.html">opensaml::SecurityPolicy</a></td></tr> <tr class="memitem:ac314e1a58cc900152a1566de029822e2 inherit pro_attribs_a00060"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00018.html">saml2md::MetadataProvider::Criteria</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#ac314e1a58cc900152a1566de029822e2">m_metadataCriteria</a></td></tr> <tr class="memdesc:ac314e1a58cc900152a1566de029822e2 inherit pro_attribs_a00060"><td class="mdescLeft"> </td><td class="mdescRight">Manufactured MetadataProvider::Criteria instance. <a href="#ac314e1a58cc900152a1566de029822e2">More...</a><br/></td></tr> <tr class="separator:ac314e1a58cc900152a1566de029822e2 inherit pro_attribs_a00060"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_static_attribs_a00060"><td colspan="2" onclick="javascript:toggleInherit('pro_static_attribs_a00060')"><img src="closed.png" alt="-"/> Static Protected Attributes inherited from <a class="el" href="a00060.html">opensaml::SecurityPolicy</a></td></tr> <tr class="memitem:ae2ca260c35a13cfa3c5b7386987403cd inherit pro_static_attribs_a00060"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00029.html">IssuerMatchingPolicy</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#ae2ca260c35a13cfa3c5b7386987403cd">m_defaultMatching</a></td></tr> <tr class="memdesc:ae2ca260c35a13cfa3c5b7386987403cd inherit pro_static_attribs_a00060"><td class="mdescLeft"> </td><td class="mdescRight">A shared matching object that just supports the default matching rules. <a href="#ae2ca260c35a13cfa3c5b7386987403cd">More...</a><br/></td></tr> <tr class="separator:ae2ca260c35a13cfa3c5b7386987403cd inherit pro_static_attribs_a00060"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Policy subclass to track SAML 2.0 <a class="el" href="a00005.html" title="Base class for SAML assertions. ">Assertion</a> SubjectConfirmation. </p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="adbdcaa823cb082f1a7c6f5796411d5a6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">opensaml::saml2::SAML2AssertionPolicy::SAML2AssertionPolicy </td> <td>(</td> <td class="paramtype">const <a class="el" href="a00040.html">saml2md::MetadataProvider</a> * </td> <td class="paramname"><em>metadataProvider</em> = <code>nullptr</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const xmltooling::QName * </td> <td class="paramname"><em>role</em> = <code>nullptr</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const xmltooling::TrustEngine * </td> <td class="paramname"><em>trustEngine</em> = <code>nullptr</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>validate</em> = <code>true</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructor for policy. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">metadataProvider</td><td>locked MetadataProvider instance </td></tr> <tr><td class="paramname">role</td><td>identifies the role (generally IdP or SP) of the policy peer </td></tr> <tr><td class="paramname">trustEngine</td><td>TrustEngine to authenticate policy peer </td></tr> <tr><td class="paramname">validate</td><td>true iff XML parsing should be done with validation </td></tr> </table> </dd> </dl> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a0e5ca4486954ac742b3019c2efcab3e7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const saml2::SubjectConfirmation* opensaml::saml2::SAML2AssertionPolicy::getSubjectConfirmation </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the subject confirmation that was successfully accepted by the policy. </p> <dl class="section return"><dt>Returns</dt><dd>a successfully evaluated SubjectConfirmation </dd></dl> </div> </div> <a class="anchor" id="a2a0ffc62c8b51bcf7f6157e8e0fe7e18"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void opensaml::saml2::SAML2AssertionPolicy::reset </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>messageOnly</em> = <code>false</code></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Resets the policy object and/or clears any per-message state. </p> <p>Resets can be complete (the default) or merely clear the previous message ID and timestamp when evaluating multiple layers of a message.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">messageOnly</td><td>true iff security and issuer state should be left in place </td></tr> </table> </dd> </dl> <p>Reimplemented from <a class="el" href="a00060.html#ade17197646d608a98d27d27d6a765d5a">opensaml::SecurityPolicy</a>.</p> </div> </div> <a class="anchor" id="ab6f9b1dca0289223eecd75df4a7e6b38"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void opensaml::saml2::SAML2AssertionPolicy::setSubjectConfirmation </td> <td>(</td> <td class="paramtype">const saml2::SubjectConfirmation * </td> <td class="paramname"><em>confirmation</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the SubjectConfirmation that was successfully accepted by the policy. </p> <p>The lifetime of the SubjectConfirmation object <b>MUST</b> be longer than the lifetime of the policy object.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">confirmation</td><td>the successfully evaluated SubjectConfirmation </td></tr> </table> </dd> </dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>saml/saml2/profile/<a class="el" href="a00111.html">SAML2AssertionPolicy.h</a></li> </ul> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="a00119.html">opensaml</a></li><li class="navelem"><a class="el" href="a00122.html">saml2</a></li><li class="navelem"><a class="el" href="a00053.html">SAML2AssertionPolicy</a></li> <li class="footer">Generated on Sat Oct 19 2013 08:32:21 for opensaml-2.5.2 by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li> </ul> </div> </body> </html>