Friday, November 17, 2006

We have found a very simple way to integrate authentication schemes of two applications. This will be useful in implementing Identity Management/Single Sign-on solutions. Merging authentication mechanisms for various applications have been a big enterprise challenge, and a full fledged industry exists to support this market.

Now we have a straight forward mechanism to handle this. Map the fields in authentication tables of two applications. Write a synchronization script in slave application that always fills the authentication table with user data in master application as soon as some user logs in slave application. Suspend the slave application authentication FRONT END totally, and two applications identity have been merged without making a single line of functionality code change in either application.
Brad Pitt exposes weakness in Indian law

Angeline Jolie and Brat Pitt have been entertaining Indians almost daily these days. Their stay in India could itself make for a blockbuster comic movie plot. The latest: Angelina's bodyguards have been arrested for racial abuse. The crime: they couldn't hold their tongues in the maddening evening Mumbai crowd. The police duly locked them up: and released them on bail after Brad Pitt personally met the Mumbai Police Commissioner. The police commissioner explained that "Police were duty bound to record a complaint and arrests were done according to Indian law." Brad Pitt then innocuosly asked whether people could be arrested on a mere complaint and without giving them an opportunity to get their version across. And he is absolutely right.

The Indian Penal Code gives police uncontrolled powers to make arrests after an FIR has been lodged without even hearing counterparty arguments. Typically as soon as a FIR has been registered, the accused is forced to seek anticipatory bail, without getting an opportunity to make a counter statement with the police. Otherwise he can be arrested. This system is heavily loaded in favor of the complainer, and subject to abuse. I feel its a British legacy left unattended.
The system should be modified to let the accused make a counter-statement, and if police believes that it still needs to proceed with arrest, it should go ahead and procure an arrest warrant.