jquery - Blackbaud Single Sign On PHP to ColdFusion Conversion - did I get it right? -


i'm attempting implement single sign on (sso) using blackbaud documentation sent me. client on coldfusion blackbaud's examples in php or c+. php more readable (by me) opted convert code:

<?php /* make_sso_url * $sharedkey = key specified in sites & settings * $username = blackbaud netcommunity username log in * $url = url of page user login part users should directed * $ip = ip address user should * $includeip = whether or not include ip address in hash */ function make_sso_url($sharedkey,$username,$url,$ip){     $time = time();     $hashstring = $sharedkey.$username.$time;     return $url."&t=".$time."&u=".$username."&m=".md5($hashstring); } ?> 

before far in process, looks ajax call using php variables. if case, can use coldfusion variables, build out url string, use jquery jsonp make domain/ajax call, need blackbaud's system , i'm golden. have missed anything?


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -