Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Anybody every generated a signed SAML assertion using Qt?
Forum Updated to NodeBB v4.3 + New Features

Anybody every generated a signed SAML assertion using Qt?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    VRHans
    wrote on last edited by
    #1

    I haven't played with the crypto in Qt yet (I presume there's some) - but I was curious if anyone's got example code lying around.

    I've written C++ code in the past that went through the laborious process of doing this (we have a SAML auth system that we bridge other auth method into (IWA, LDAP, Kerberos, OAuth) - after validating the user via those other auth mechanisms, my code creates a SAML assertion that's signed with a key the SAML auth system has been configured to recognized as a SAML IDP. I'm refactoring this shortly, and I'd like to take as much advantage of Qt as I can of course - Qt continues to surprise me with all kinds of nifty ways to do things.

    I was just wondering if anyone's done this in a, at least somewhat, Qt oriented fashion.

    Cheers :)

    V 1 Reply Last reply
    0
    • V VRHans

      I haven't played with the crypto in Qt yet (I presume there's some) - but I was curious if anyone's got example code lying around.

      I've written C++ code in the past that went through the laborious process of doing this (we have a SAML auth system that we bridge other auth method into (IWA, LDAP, Kerberos, OAuth) - after validating the user via those other auth mechanisms, my code creates a SAML assertion that's signed with a key the SAML auth system has been configured to recognized as a SAML IDP. I'm refactoring this shortly, and I'd like to take as much advantage of Qt as I can of course - Qt continues to surprise me with all kinds of nifty ways to do things.

      I was just wondering if anyone's done this in a, at least somewhat, Qt oriented fashion.

      Cheers :)

      V Offline
      V Offline
      VRHans
      wrote on last edited by
      #2

      @VRHans Well, I'll post the results as long as I can minimize the dependencies when I finish :).

      1 Reply Last reply
      1
      • vivianV Offline
        vivianV Offline
        vivian
        wrote on last edited by
        #3

        Was this worked on?

        1 Reply Last reply
        0
        • V Offline
          V Offline
          VRHans
          wrote on last edited by
          #4

          Well, there's a very long story - and boring - to this; however, ultimately I came to create a complete separation of concerns. Qt didn't have anything in particular to offer that helped me (which is no slight against Qt) excepting some Xml parsing/manipulation code (which is very useful - but I already have code for that.)

          Ultimately I couldn't use Qt or my previous SAML code (the majority of it) because the accepting Identity Service was using XmlSec to validate signatures in some fashion I could not discern (and they could not tell me) - so I had to use xmlsec myself to sign the assertions.

          I'd still like to figure out why my assertion signing code worked with one IDP validator and did not work with this one - but I don't have time to do so right now.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved