CPIP into LDN

5
Average: 5 (1 vote)

"Lazyness is the mother of invention" is my favorite saying because, well, I'm a programmer and like you I'm sure, much of what I do is write scripts and utilities to save me from doing repetative jobs.
Enter my CPIP connector for LDN.

Since I log in all the time to LDN to write content and read all of your posts, I'm beginning to tire of logging in 10+ times a day to do just that. I figured, what the heck, I'll write a connector. So I went about creating the easiest type of CPIP connector (Pickup.Response) and then decided to post the files to save work for anyone here that wants them.

Now one thing to note here. You must have the Luminis Generic Connector Framework installed in order for this to work. (See your friendly neighborhood SCT rep for details on obtaining and installing the framework)

Attached are the .properties and .xml files I used to create the connector.

If you've built CPIP connectors before, then you'll know what to do with these. Otherwise, read on. 

- Place the attached .properties and .xml files into your $CP_ROOT/properties/sso/config directory

- Add your CPIP licence information and key to the .properties file (I've removed ours, sorry <G>)

- Add these properties to your ldap via configman (change as needed) You can save this snip and do a configman -i <filename>

es.ldn.configURL = http://YOURSERVER.edu:8001/cpipconnector/ldn/GetConfigVersion2
es.ldn.configsleeptime = 10000
es.ldn.configattempts = 60
es.ldn.shortcircuitlogin = false
es.ldn.autosync = true
es.ldn.systemdescription = LDN System

-Change the es.systems property to reflect the systems you already have plus the new ldn one.

To do this, run a configman -g es.systems
you'll get something like :   sct is ical epos [others]

The most important thing here is to KEEP THE ONES THAT ARE ALREADY CONFIGURED !!!
To do that, type : configman -s es.system "sct is ical epos [others] ldn"  (use the double quotes or it won't work)
Notice we added ldn to the end

- Add "ldn.properties" to the top line of your local CPIP.PROPERTIES file (in the ...sso/config directory also)

- Bounce your CPIP webserver

$CP_ROOT/properties/ws/https-cpipconnector/stopsvr.bat
$CP_ROOT/properties/ws/https-cpipconnector/startsvr.bat

- Bounce Luminis

stopcp
startcp

- Create a new channel using the targeted Announcements. Create a new section, Create a new subsection (link w/ teaser and photo)
- Add a heading for the channel
- Add this URL : http://YOURSERVER.edu/cp/ip/login?sys=ldn&url=http://ldn.messiah.edu/index.php

- Save all of your changes
- Add the channel to your layout. You may need to logout and login again.

You're all set !

If you're an experienced CPIP developer, I've placed the infamous pickup.html file at : http://ldn.messiah.edu/pickup.html so feel free to build a pickup.remoteurl connector, just be sure to share the files when you're done.

-Jon

 

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Tried the example given...

I get the login page, but the username has encrypted characters in it... that appear to be a sid value or an encrypted version of my user id. The password field is blank... did I miss something?

-Patrick

Created an external account for myself for ldn... now

According to the log... it shows me as logging in successfully, but when the page comes up on my homepage under the ldn cpip inline frame... I am not logged in, the last page viewed is showing. Any hints?

Thanks

Properties change

Try changing the url in the form action tag to - www.lumdev.net instead of ldn.messiah.edu.

I think drupal is dropping the cookie since the URL / domain name changes after the login process.

I actually have the same problem here, I'll chamge mine and let you know.

After you change the .properties file, be sure to bounce your cpip webserver.

.. yep that did it.  I'll change and repost the properties file.

 -Jon

That did it...

Yes, that did it... thanks, PB

Are there new updates needed for the properties file?

I tried implementing this, but when I click the link in Luminis, I'm just taken to http://www.lumdev.net/node and I'm not logged in. I have other pickup response connections working, so I think everything is setup correctly, but I'm wondering if anything in the properties file needs to change since it was last posted. Thanks!

same issue

I think something with the site has changed because I've tried implementing this and am getting the same results as you are.

Help me please ...

Hi,
when I execute my connector shows the following warning to me

[27/Jul/2006:10:54:47] warning ( 3080): for host 10.1.1.201 trying to GET /cpipconnector/connmenu/GetConfigVersion2, send-file reports: can't find e:/luminis/products/sso/connmenu/GetConfigVersion2 (File not found)

In the browser:
CPIP Notification: Unsupported OID service

What is the problem?

Thanks!!!

a suggestion

check the servlets.properties file under your https-cpipconnector virtual webserver to make sure that the path is correct. The line that starts with "servlet.cpipconnector.classpath" should all be on one line with no spaces. Also make sure that all of the files under the "lib" directory where you installed your GCF are listed in that path. I found that I had two files missing when I used the path in the latest documentation. Dont forget that you have to restart the https-cpipconnector virtual webserver before you restart the portal or you could run into some issues. After you confirm that your path is correct you can check the error log for the virtual webserver to make sure that you are not getting any more file not found errors.

Thanks ...

Thank you very much for your response, are all the archives , but the problem was not solved ...

Thanks

question

I keep hearing the phrase "pickup url method" but I cant find any detailed info about it or how to implement it. Also, how does one determine what to use for the following fields in an extsys.properties file for your various cpip connectors:

extsys.license.issued
extsys.license.key

I am also having trouble locating information on those as well.

Help please

Hi, for many days I have been trying to configuration a connector.
I believe that the problem this in the configuration to accede to this URL,
http://YOURSERVER.edu:8001/cpipconnector/ldn/GetConfigVersion2
when I execute it in browser shows to me :
Not Found
The requested object does not exist on this server. The link you followed is either outdated, inaccurate, or the server has been instructed not to let you have it.

some idea? that I must review?

Thanks!!!!

ummm

Please tell me you replaced YOURSERVER with the name of your luminis server... ;)

:)

Hi!!!
I replace the name, is single an example of which I write in browser (with the correct name) and what shows when I execute it
you know as it can be the problem ???

Thanks

call to pickup.html

Jon,

Thanks for the detailed steps! Trying to understand pickup.html. I know Luminis has to pass a "pickup" URL to the external system somehow or other, and I think this is the html page listed in your properties file. How does your http://www.lumdev.net/comment/reply/pickup.html relate here?

Jon (from one who knows how to spell "Jonathan")

CPIP newbie

I just installed GCF so I can try this connector but don't know where to find GetConfigVersion2. Is this a generated file or do we create it?

loginuser request failed for ldn

I tried the example but receive CPIP Notification: loginuser request failed for ldn after clicking the link. I expected to receive a login box so I can enter LDN credentials but instead it seems to be trying to pass Luminis credentials.

[2008-03-10 10:55:51,580] [ERROR] WebServlet [com.pipeline.web.DefaultURLRequestBroker]: Failed to communicated with /cpipconnector/ldn/Authenticate?sid=3%2Bcv9hxS31KteUn%2BH%2FP9hg__&login=jdoe1&uid=C
hxxxBGZr5Mxx%2BIxxxxxw%3D%3D&oid=1.3.6.1.4.1.4409.1.1.4.2

Any idea what setting(s) should be corrected?

Extra space in .properties file

After removing a space following one of the values in the cpipconnector.properties file, I now receive the External Authentication box but it only prompts for the password. How do I configure it to also prompt for the login ID so it won't try sending the Luminis login ID?

I would like to try this "CPIP into LDN"

I wanted to use this tutorial But...i noticed this tutorial mentions about some folders that seem missing on our luminis iv installation. Is it b/c I need to install the "Generic Connector Framework"? Isn't this installed by default? Where do I download this "Generic Connector Framework"?

The missing folders (sso, ws..) on my installation are:
$CP_ROOT/properties/sso/ and

$CP_ROOT/properties/ws/"

Any help is greatly appreciated.

Thank you.