359 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
Mac Yosemite, Java, IBM Notes and OnTime Group Calendar
Fri, Oct 17th 2014 297
How to increase the number of worker threads for different internet protocols
Mon, Oct 13th 2014 164
WebSphere Application Server Liberty Profile webcast replay
Wed, Aug 6th 2014 223
Social Connections VI Prague - An introduction to IBM Connections as an appdev platform
Tue, Jun 17th 2014 185
Premaster RSA secret error with 4096-bit encryption in WAS ISC
Sun, Jun 15th 2014 240
R.I.P. Tim
Mon, May 12th 2014 211
Installing TDI v. 7.1 on Windows Server 2012
Wed, May 7th 2014 320
Top 10
Installing TDI v. 7.1 on Windows Server 2012
Wed, May 7th 2014 320
Terminology is the most important thing to know when when starting out with WebSphere Application Server
Fri, Nov 29th 2013 309
Mac Yosemite, Java, IBM Notes and OnTime Group Calendar
Fri, Oct 17th 2014 297
Premaster RSA secret error with 4096-bit encryption in WAS ISC
Sun, Jun 15th 2014 240
WebSphere Application Server Liberty Profile webcast replay
Wed, Aug 6th 2014 223
R.I.P. Tim
Mon, May 12th 2014 211
It's been a while!
Fri, May 2nd 2014 210
Fixing an IBM Connections Social Mail CPU spike problem
Wed, May 7th 2014 201
IBM Connections wsadmin commands for newcomers
Wed, Mar 5th 2014 198
Year in review 2012 (not a typo)
Tue, Dec 31st 2013 193


Turning the login procedure for IBM Connections on its head
   

In the latter part of last year I was involved in installing IBM Connections at a customer site for initially 20.000 users and then, if all went well, for the full 70.000 users. The challenges in evangelizing the solution and getting people to use it is for another blog post but the project is interesting from other perspectives as well.

Firstly they wanted to change the layout of IBM Connections and add their own colors etc. which wasn't a biggie. Next they wanted to change certain core words within IBM Connections. In Danish the word for "Communities" is "Fællesskaber" but they wanted it to be "Grupper". Changing that throughout IBM Connections was a hazzle and we have to migrate these changes by hand when we upgrade to version 3 but it was possible which is the good story here. The last one was the biggest requirement and the the requirement it took the most work to satisfy. They wanted to turn the entire login process for IBM Connections on its head.

So what do I mean by that?

By default IBM Connections works by you importing all valid users into the Profiles database using TDI or a handcrafted tool and then hooking Websphere Application Server up to LDAP. They didn't want that and the users actually didn't exist in a LDAP directory but instead in another (Domino based) member database.

They had a number of requirements:

  1. IBM Connections should work with their existing single-sign-on (SSO) solution which supported a number of different login methods incl. two-factor and digital certificates.
  2. Before being granted access to IBM Connections the user should accept an End User License Agreement (EULA) and if not the user should be denied access to IBM Connections.
  3. Users wasn't allowed to be available in IBM Connections before opting in to using it by accepting the EULA i.e. they didn't want users in the Profiles database before they had accepted the EULA.
The access procedure they wanted may be illustrated as below.


(click the image to a larger version)

So what does an IBM Business Partner do? Say "Sorry that isn't possible" and "That's really not the way that IBM Connections work"? Well of course not because it was and is possible due to IBM Connections being built on top of Websphere Application Server which is an open and highly extensible platform.

The key piece to the puzzle is a piece of technology called a Trust Association Interceptor - or TAI for short - and is a way to change the way Websphere handles authentication and how Websphere normally integrates with reverse proxies such as WebSEAL.

A TAI is a Java class written to a specification (interface) from IBM and very easy to write. The functionality may of course be complex but the way you integrate with Websphere Application server isn't. Once the TAI was written and installed into Websphere Application Server the customer now has an access procedure like this:

  1. User tries to access IBM Connections.
  2. If the user isn't logged in using the 3rd party SSO solution the user is sent to the login screen (1 in the diagram above).
  3. If the user is logged in (and tokens are still valid) an EULA check is performed to verify that the latest EULA has been agreed to.
  4. If not the user is sent to the EULA system (2 in the diagram above) to accept the EULA instructing the EULA system to return the user to IBM Connections afterwards.
  5. If the user did accept the latest EULA we check to see if the user is available in IBM Connections.
  6. If the user isn't in Profiles yet the user is sent to the Populator system (3 in the diagram above) that handles collecting using information and populating Profiles. Once completed the user is returned to Websphere Application Server.
  7. If the user is in Profiles already the user is granted access to IBM Connections (bottom on the diagram).
It sounds complex but it's done in less than 500 lines of code incl. comments and documentation. That isn't too bad is it? What's really cool is that it allows for some very exciting ways to integrated IBM Connections into existing environments.

I'll post more about TAI's over the next few days about how you write them and more about the technical underpinnings. Stay tuned.



---------------------
http://lekkimworld.com/2011/06/07/turning_the_login_procedure_for_ibm_connections_on_its_head.html
Jun 07, 2011
25 hits



Recent Blog Posts
297


Mac Yosemite, Java, IBM Notes and OnTime Group Calendar
Fri, Oct 17th 2014 1:51a   Mikkel Heisterberg
After upgrading my Mac to OS X Yosemite (10.10) I had to reinstall Java to make IBM Notes startup just like Rene describes. To install go to the download page for Java on apple.com, download and install. It takes around 5 minutes and you are ready to go. Once installed the Java runtime makes IBM Notes fly again and I can confirm that the OnTime Group Calendar UI's run just fine on OS X Yosemite. [read] Keywords: ibm notes apple eclipse java mac
164


How to increase the number of worker threads for different internet protocols
Mon, Oct 13th 2014 9:13a   Mikkel Heisterberg
Came across this technote outlining how to configure the worker threads for the different internet protocols on IBM Domino. How to increase the number of worker threads for different internet protocols [read] Keywords: domino ibm
223


WebSphere Application Server Liberty Profile webcast replay
Wed, Aug 6th 2014 10:47p   Mikkel Heisterberg
In case you haven't heard about WebSphere Application Server Liberty Profile and you are doing any work with J(2)EE servers you really should do your self the favour and read up on it. In essence it's the best thing since sliced bread for application developers that target WebSphere Application Server and here's why: It downloads and installs in less that 5 minutes It's binary compatible with the full WebSphere Application Server so you can be certain that code that runs on Liberty Profile [read] Keywords: ibm application eclipse mac profile server websphere
185


Social Connections VI Prague - An introduction to IBM Connections as an appdev platform
Tue, Jun 17th 2014 5:50a   Mikkel Heisterberg
[read] Keywords: connections ibm
240


Premaster RSA secret error with 4096-bit encryption in WAS ISC
Sun, Jun 15th 2014 11:40p   Mikkel Heisterberg
Had a customer the other day that couldn't import their SSL certificate into the WebSphere Application Server (WAS) Integrated Solutions Console (ISC) due to a "RSA premaster secret" error being shown when attempting the import. A PMR with IBM Support confirmed my suspicion that export restrictions was in play. Here is the response from IBM Support. The premaster RSA secret error with 4096-bit encryption is usually due to the unrestricted JCE policy requirement. Please, try to install the [read] Keywords: ibm application java password security server websphere
211


R.I.P. Tim
Mon, May 12th 2014 12:38p   Mikkel Heisterberg
I'm deeply saddened by the news that Tim Tripcony has passed. There are very few people that I as a programmer / coder look up to, who inspire and impress me and who I admire. Tim was one of those and now I'll never get to admit it to his face. R.I.P. Tim. [read] Keywords:




320


Installing TDI v. 7.1 on Windows Server 2012
Wed, May 7th 2014 4:00a   Mikkel Heisterberg
Trying to install IBM Tivoli Directory Integrator (TDI) v. 7.1 for IBM Connections on Windows Server 2012 I got the following error: ZeroGu2: Windows DLL failed to load at ZeroGa2.b(DashoA10*..) at ZeroGa2.b(DashoA10*..) at com.zerog.ia.installer.LifeCycleManager.b(DashoA10*..) at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..) at com.zerog.ia.installer.Main.main(DashoA10*..) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.inv [read] Keywords: connections ibm java server tivoli
201


Fixing an IBM Connections Social Mail CPU spike problem
Wed, May 7th 2014 12:28a   Mikkel Heisterberg
The other day we did a test upgrade of our internal IBM Connections 4.5 environment from CR3 to CR4 before doing the real upgrade. After the upgrade the CPU of the WebSphere Application Server node (we are in a single node architecture) would spike to a 100%. After some digging and perusing of log files we narrowed the problem down to IBM Social Mail and that component being loaded. Actually even more specifically to the Discovery Servlet which is used to discover the mail service for a particul [read] Keywords: connections domino ibm application eclipse java security server websphere
210


It's been a while!
Fri, May 2nd 2014 11:51a   Mikkel Heisterberg
Wow! Blogging hasn't really been my thing for a while. Actually I realize that I've flow a bit below the radar for the last couple of months. November saw the birth of our second child (a son, Matheo) and we're still adjusting a bit to the life as a two-kids family though it's getting easier. I sure enjoyed going to Summer Time this year as it means that he wakes up at 6am instead of 5am. Besides that 2013 ended in work, work and preparations for Connect 2014. IBM Connect 2014 is still kin [read] Keywords: connections ibm notes blogging consulting eclipse twitter
198


IBM Connections wsadmin commands for newcomers
Wed, Mar 5th 2014 3:05a   Mikkel Heisterberg
I've updated my IBM Connections wsadmin commands for newcomers page for IBM Connections 4+ and added a couple of new commands. I've also added information on how to easily work with wsadmin from the command line on *nix. Comments are very welcome. [read] Keywords: connections ibm




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - Mobile Edition