EasyCFM.COM ColdFusion Forums / PHP to CFML / PHP to CF Oracle SSO

   Reply to Discussion | New Discussion << previous || next >> 
Posted By Discussion Topic: PHP to CF Oracle SSO

book mark this topic Printer-friendly Version  send this discussion to a friend  new posts last

dduck1934
09-19-2006 @ 10:32 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Senior Member
Posts: 264
Joined: Sep 2004

I am currently looking into implementing oracle sso with coldfusion.  The stuff i have found out there off the oracle.com site has been in jsp and php, and pl/sql .

The php code to do the sso stuff can be found here
http://www.oracle.com/technology/oramag/webcolumns/2003/techarticles/bennett_php.html

I need to figure out how to convert that into cf.  I havent touched php in years, so i need some help from you guys.

Anyone up for the challenge?

Matthew (dduck)

I feel my luck could change...Its gonna be a glorious day.

dduck1934
11-14-2006 @ 9:57 AM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Senior Member
Posts: 264
Joined: Sep 2004

In case any of you are interested, I was able to get the same functionality of the PHP in CF.  

I basically setup two variables.


<!---request--->
<cfset req = getPageContext().getRequest()>
<!---response--->
<cfset res = getPageContext().getResponse()>


then i can get and set headers and grab the authenticated user.


<!---Request--->
<cfdump var="#req.getRemoteUser()#">
<cfdump var="#req.getHeader('easycfm')#">
<!---Response--->
<cfset res.setHeader("easycfm","http://www.easycfm.com")>


I know most of you do not use Oracle, but I thought this would prove beneficial to someone, somewhere as it did me.

see ya!

I feel my luck could change...Its gonna be a glorious day.


Website Designed and Developed by Pablo Varando.