As part of the XPages Development Contest sponsored by IBM business partner We4IT, Mark Leusink has contributed a project called Auto Logins for IBM Domino/ XWork server.

Here is Mark's description:

"Auto Logins for IBM Domino/ XWork server is an application that you can use to add a "Remember me" feature to the login screen of an IBM Domino/ Xwork server. If a user (within the specified number of days) tries to access the server again, he is recognized (based on a token in a cookie). If the token is valid and hasn't expired, the user is automatically signed in.

The algorithm that has been used for the remember me feature is described here.

This is a great feature for any web (XPage) application, especially mobile web applications: it will make using the application a lot easier/ user friendlier.

The sign-in process is handled by creating an LTPA token. This requires that multi-server session authentication is enabled on the server. The code used to generate the LTPA token was developed by Serdar Başeğmez and is available on the XSnippet site. Note that this application does not work with imported Websphere Ltpa keys, only with Domino keys."

Watch the mini video to see the project in action.

A picture named M2

comments powered byDisqus