Fwd: Usage of OpenSAML C++

Akbar Bash akbar.bs at gmail.com
Mon Oct 17 04:39:56 EDT 2016


Hi,

As I have to use C++ , Does Open SAML library of C++ version have the full
functionality?
When I tried to run the test cases some of the prerequisite calls are
missing. for e.g.: XMLToolingConfig::getConfig().init();

I have couple of queries.

1)  To see the xmltooling library logs, to we need to initialise the
properties file manually.  I could not find logs in the paths mentioned in
the property file.

2) I am trying to test the metadata file  using the test case
SAML2ArtifactTest. the following API fails to get the plugin

                SAMLConfig::getConfig().MetadataProviderManager.
newPlugin(XML_METADATA_PROVIDER, doc->getDocumentElement())

When I debugged the map has zero entries
(gdb) p g_config
$4 = {<opensaml::SAMLConfig> = {_vptr.SAMLConfig = 0x7ffff7af9908 <vtable
for opensaml::SAMLInternalConfig+16>, MessageDecoderManager = {
      m_map = std::map with 0 elements}, MessageEncoderManager = {m_map =
std::map with 0 elements}, SAMLArtifactManager = {
      m_map = std::map with 0 elements}, SecurityPolicyRuleManager = {m_map
= std::map with 0 elements}, MetadataProviderManager = {
      m_map = std::map with 0 elements}, MetadataFilterManager = {m_map =
std::map with 0 elements}, EntityMatcherManager = {
      m_map = std::map with 0 elements}, m_artifactMap = 0x0}, m_initCount
= 0, m_lock = {px = 0x669dd0},
  m_contactPriority = std::vector of length 0, capacity 0}
(gdb)


Can you let me know whether we need to initialise to fill these maps.

Thanks in advance.
Akbar

[image: screencapture_20161017_1238120.png]

[image: screencapture_20161017_1238120.png]

[image: screencapture_20161017_1238120.png]

[image: screencapture_20161017_1238120.png]

[image: screencapture_20161017_1238120.png]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20161017/022b480b/attachment.html>


More information about the dev mailing list