Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Shibboleth ?

Explorer ,
Feb 23, 2012 Feb 23, 2012

Hi there

has anybody implemented Shibboleth to authenticate?

-Didi

TOPICS
Advanced techniques
1.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 24, 2012 Feb 24, 2012

Yes. You will probably need to set up a proxy server that will do this for you.

Dave Watts, CTO, Fig Leaf Software

Dave Watts, Eidolon LLC
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 24, 2012 Feb 24, 2012

Well, let me be more precise:

We are an university which has implemented Shibboleth in general.

As an IDP as well as on different ressources.

My more precise question: Does anybody have implemented Shib with a CF9 server running on Win2008R2 and Apache ?

-Didi

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 25, 2012 Feb 25, 2012

My more precise question: Does anybody have implemented Shib with a CF9 server running on Win2008R2 and Apache ?

I haven't used those exact versions, to the best of my knowledge, but I don't see how those would make a difference at all if you're running a Shib proxy on another machine. If you're running a Shib proxy on that machine, you'd set that up within Apache to proxy to itself, and again the version of CF would be irrelevant.

Dave Watts, CTO, Fig Leaf Software

Dave Watts, Eidolon LLC
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 26, 2012 Feb 26, 2012

Do you know whether there is somewhere example code available that shows how to implement such an authentication?

Well, I have coded a lot in CF - but still before Application.cfc and CFLOGIN have been introduced.

Now I would like to get back to coding again and of course not sticking with old patterns but doing it the 'right' way.

-Didi

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 26, 2012 Feb 26, 2012
LATEST

Do you know whether there is somewhere example code available that shows how to implement such an authentication?

There's nothing special you have to do on the CF side. From your Shib proxy, you'd insert a header that corresponds to the authenticated user, for example X-User-ID. From the CF side, you would look for this header in the CGI scope, and assume that if this header exists, the user has been authenticated successfully. Then, you'd read the information for the authenticated user from the header and do a database lookup, if necessary, and stick the authenticated user info in your Session scope.

Dave Watts, CTO, Fig Leaf Software

Dave Watts, Eidolon LLC
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources