Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Perl and SAML

by idsfa (Vicar)
on Mar 07, 2007 at 06:20 UTC ( #603573=note: print w/replies, xml ) Need Help??

in reply to Perl and SAML

The part of SAML which you need to verify the x.509 signature is XMLSec. This example (in C) illustrates how to use the C library to do this. Unfortunately, there aren't any perl bindings (yet) for this library (though the author is open to the idea).

Parsing the values out of the XML document is, as you say, the easy part ...

The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon

Replies are listed 'Best First'.
Re^2: Perl and SAML
by Hammy (Scribe) on Mar 07, 2007 at 12:38 UTC
    Thanks for taking the time to straighten me out. Conceptually, can't I just take the following steps

    Use crypt:x509 to decipher certificate
    Pull out the public key piece
    Use the public key with the MD5 HASH to verify the signature?

    That is the best I can get from the documentation.

      If you don't want to build your own SAML. Check out AssureBridge SSOExchange. It's a hosted service that integrates into Perl Apps with a few lines of code and provides full SAML functionality.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://603573]
[Corion]: Meh, first round of escalations for me not wanting to fix in production what a project has mismanaged. Now another project, which eats up all the resources until end of this year wants to take that task and put it on my list of things as well.
[Corion]: So now there will be the fun of me explaining to the project that $other_project had low priority because $project has high priority. If $project picks up the task from $other_project, they also will need to reprioritize my tasks to get that done...
[Corion]: ... of course at the cost of something else on my list of tasks for $project, as there only is a finite amount of days until $deadline.

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2017-08-17 12:24 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (287 votes). Check out past polls.