Shibboleth Authentication in mojoPortal

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
9/21/2010 1:31:08 PM
Gravatar
Total Posts 130

Shibboleth Authentication in mojoPortal

All~

I'm wondering if anyone in the mojo community is familiar with Shibboleth authentication .  For the group of sites I am considering migrating to mojoPortal I would need to implement Shibboleth and am just curious for any advice or input anyone might have on the subject.

Thanks!

 

9/21/2010 1:38:54 PM
Gravatar
Total Posts 18439

Re: Shibboleth Authentication in mojoPortal

I don't know anything about it, maybe someone else can help. I did a quick google and it doesn't sound like there is an easy .NET implementation available, but I didn't dig very deep.

Best,

Joe

9/21/2010 1:41:50 PM
Gravatar
Total Posts 130

Re: Shibboleth Authentication in mojoPortal

It's ok - I figured that by putting it here maybe more people from the community would find it.  Like you said, you're not the Wizard of Oz ;-)

Best,

Beth

10/16/2012 10:11:33 AM
Gravatar
Total Posts 2

Re: Shibboleth Authentication in mojoPortal

Beth, I don't believe you solved the Shibboleth solution it looks like.  Because of the the way MojoPortal lays out its login pages, into their own folder, you should be able to use one of the methods for securing content with Shibboleth, and that is by simple URL/Folder security. You can use UF's Shibboleth for IIS to lock down the /wwwroot/secure folder so you can't access the files in that folder without Shibboleth authentication.  Now that doesn't get you the whole way, not really logged into MojoPortal yet, but this might help Joe look at an additional authentication method. The key perhaps for Joe, is that once you perform a Shibboleth authentication, you will have access to the username, email address, and Active Directory groups users belong to, all from the easy to use ServerVariables:

http://www.it.ufl.edu/identity/shibboleth/technicalcodeexamples.html

I believe Joe's code is pretty close to all existing, just needs to be massaged together a little differently. With Active Directory authentication available, perhaps instead of getting the user authenticated from an LDAP connection to AD, he could grab the username, etc., from ServerVariables that was put there from the Shibboleth login.

No idea... just putting stuff in Joe's good mind :-)

A bit more info on Shibboleth.

https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPRequestMapHowTo

http://www.it.ufl.edu/identity/shibboleth/

With a significant number of universities moving to Shibboleth, perhaps there's enough here to get something started for you (us). 

-Joe G.

P.S. Love you work you've done with MojoPortal at UF. (not a WP fan here :-)

10/16/2012 10:41:11 AM
Gravatar
Total Posts 18439

Re: Shibboleth Authentication in mojoPortal

Hi Joe G,

If you're willing to provide me a little support and testing on your end perhaps I would be willing to make the needed changes. If it is simply a matter of detecting some custom server variables and then setting an authentication cookie in mojoPortal that sounds like it would be pretty easy. We actually have a built in tool to display the current server variables under Administration > Advanced Tools > Developer Tools > Server Variables

But since I don't have a Shiboboleth environment I would need you to tell me what the server variable names are and what they mean and which ones when detected should be used to decide whether to set the auth cookie to log the user into mojoPortal. 

Then I could code it up and push it to our source code repository and you could test it on your end.

Best,

Joe

10/17/2012 2:46:03 PM
Gravatar
Total Posts 2

Re: Shibboleth Authentication in mojoPortal

Joe,

I'll work on getting a test mojoPortal site running with Shibboleth, might take a couple of weeks (maintenance windows for the Shibboleth work). I've got a decent .NET coder here on the team that is interested in helping, too.  We'll see what we can do.  Type at you soon.

Joe Gasper

You must sign in to post in the forums. This thread is closed to new posts.