Gemini integration with dotnetnuke
Hi,
I work in a custom software development company and would like to install and configure DotNetNuke (DDN) to be the support portal for our customers. I wouldlike to know if it is possible:
- To use Gemini as the issue tracking software but, with single sign-on. That is, if the custumer was logged into DDN, Gemini does not need to ask for login again.
- To integrate Gemini views into DDN
Thanks a lot in advance,
Adrian
|
alasso
· 1 |
|
| Tuesday, February 28, 2006, 1:39:05 AM | |
0
|
Hi - I concur with that requirement. Am currently lookingat sparse info on SSO.aspx and would be very happy to know what the value should be in the following web.config setting. <add key="SSOKey" value="" /> Additionally, are there any further constraints/requirements on the referring application. thanks |
||||
|
|||||
0
|
The SSO page is exactly for this use. This page will automatically log a user into Gemini when provided with the parameters. The SSOKey is the key used to encrypt the password that is sent to the SSO page. The SSOPasswordType controls which password is sent and how it is encrypted. Example of use: string pwd="your clear text password here"; string encryptKey="countersoft"; // This is your key as is in the web.config file. pwd=new CounterSoft.GeminiLib.GeminiHelper().Encrypt(pwd,encryptKey); Response.Redirect("http://localhost/gemini/sso.aspx?u=admin&p="+pwd); |
||||
|
|||||
0
|
Was anyone able to get Single Sign On to work with DNN? If so, what did you do to get DNN to provide the username and password for Gemini SSO? |
||||
|
|||||
0
|
I am also interested in integrating this tool with DNN? How can I so that? Preferably Gemini in a different folder than DNN? |
||||
|
|||||
0
|
Me too! I'd also like to know how to call Gemini from DNN without having to log in again. |
||||
|
|||||
0
|
Please see Saar's post above. All you have to do is call Gemini's SSO.aspx page with the user name and password from DNN. |
||||
|
|||||
0
|
Okay, I know "what" to do. Call the SSO.aspx page with the user name and password from DNN. My question is not "What", but "How"! If someone could provide a step by step solution on how to do it. Thanks! |
||||
|
|||||
0
|
Hi Irperez, I installed a Gemini next to a DNN in the virtual directory. I thinkg your SSO.aspx issue needs a custom DNN module in which you can pass the password from DNN to the SSO.aspx. I will try to work it out next week or so. The only thing I am concerned is how to avoid that Gemini is also accessible for the public. I would like to put a DNN installation on top of it, but I am afraid I have to mingle DNN and Gemini for that. And that's not what I want. Jelle Ossewaarde |
||||
|
|||||
0
|
Well, Thats what I feared. It would be nice if the Countersoft team made a module for DotNetNuke to automatically log in users or integrate DNN with Gemini. As far as the issue of having users access Gemini outside of DNN is no big deal for me. But to be able to integrate with DNN is something my company is looking for. |
||||
|
|||||
0
|
Hi Irperez, I don't understand what you are a fraid of? My integration with DNN is ready for PLAIN password now. However, encrypting needs some more investigation. Jelle |
||||
|
|||||
0
|
Hi Irperez, Also with encryption implementated. See also post about problems with authentication in version V2.0.3. From the 12th of May (yesterday) V2.0.4 has been released. The authentication problems are solved and therefor my encryption was not working :-(( Now all works, however I will improve my DNN module so that you can do your settings easily after you have uploaded the module; and I want to make some documentation on the settings. I think your company then has what you are looking for. I will post my module on Snowcovered on the 1st of June and add a link here. Jelle Ossewaarde |
||||
|
|||||
0
|
I have made a single logon module to login from DNN to Gemini directly. Passwords and login needs to be the same on both sides. Please reply if I should upload my module to Snowcovered or send me private message. |
||||
|
|||||
0
|
We will appreciate it if you could post us the code (support@countersoft.com) so we can add it to this thread. |
||||
|
|||||
0
|
Hello Jelle, I would love to take a look at the module. Thanks! It would also be great if we could give this module to Countersoft so that they could share with everyone else too. |
||||
|
|||||
0
|
Just a quick note to Countersoft that this is a hot issue. Last I checked this thread has over 1000 views. DotNetNuke integration is a big thing. |
||||
|
|||||
0
|
Dear all, Please feel free to use this post or buy a complete DNN module ready to use on your DNN installation. The source code is included in the package. In order to satisfy also those who do not appreciate to contribute to this software effort in a financial way and/or prefer to make their own module/ application. The most important code lines are posted below: private string GeminiRedirectURL() string _uid = this.UserInfo.Membership.Username;// user name // This is your key as is in the web.config file. // This is the url of the virtual directory to redirect to. if (licenseKey == null || geminiURL == null || _licenseKey == string.Empty || _geminiURL == string.Empty) System.Text.StringBuilder _strBuilder = new System.Text.StringBuilder(5); return _strBuilder.ToString();
|
||||
|
|||||
0
|
Jelle, There are some problems with your code, for one thing this wont work in dnn 3.3.x / 4.3.x (UserInfo.Membership.Password will be empty). Furthermore.. do you mean licensekey or encryption key.. in the gemini web.config, those 2 are 2 seperate things cheers, Erik |
||||
|
|||||
0
|
Dear Erik, Indeed this does not work for version 4.3.x. This version is the latest release of DNN. It will work till version 4.1.3. For DNN 3.x it has never worked. Since I did not compile it for .NET 1.1. The licensekey of Gemini is used for encryption. If you want a 4.3. version. Feel free to contact me. I will update it for version 4.3.x as soon as I am satisfied about version 4.3.x. There are quite some bugs around that need to be fixed. Jelle |
||||
|
|||||
0
|
To create single sign on with mixed mode, do I need to create a new page/app which will be set to as the default page of the application and redirect to sso.aspx if credentials found and to default.aspx if not found. I need help in this regard. Your help is greatly appreciated.
Thanks Lobmeyer |
||||
|
|||||
0
|
In my Gemini Single Logon module the next behaviour is encountered: If sso.aspx will not allow a login, you will get default.aspx automatically. Hope this matches with our question. |
||||
|
|||||
0
|
[quote user="Jelle Ossewaarde"] In my Gemini Single Logon module the next behaviour is encountered: If sso.aspx will not allow a login, you will get default.aspx automatically. Hope this matches with our question. [/quote] Actually that is the default behaviour of the sso.aspx page (regardless whether you are using DNN) |
||||
|
|||||
0
|
Hi Jelle: My question is that if I create another project to enable this behavior, where do i save this.aspx page and what would be my commands in that case. Does this has to be in C# or could I do the same thing in VB.NET also. I am not using DNN, all I am doing is enabling single sign on. Thanks Lobmeyer
|
||||
|
|||||
0
|
Hi Lobmeyer, I understand it is more a general programming question you have. On your aspx page (can be VB as well) you create some logic to send the password and login to the sso page of Gemini. The code for the logic is given. This logic will encrypt the password and post the result of the logic as a http-request to the Gemini sso page. This page will process the request and allow or disallow you to logon to Gemini. If it is disallowed it does redirect you to the main.aspx as Erik confirmed as well. Hope this will help you. If you want to code in VB simply use a code converter or search for the syntax used. VB and C# are quite similar. Jelle |
||||
|
|||||
0
|
Version for DNN 4.3.x is available now. http://www.snowcovered.com/Snowcovered2/Default.aspx?tabid=242&mid=1397&PackageID=5025 |
||||
|
|||||




