Sunday, August 5, 2012

Introduction to OpenID

When was the last time that you wanted to access the website but you didn’t remember the user name or password? All of us face this situation quite frequently and people have come up with solutions which are quite risky from a security perspective. Some people use the same username and password across all websites. Others keep a note of username and passwords used in different websites.
Another annoying part is filling up the sign up form. Every time you register for a new website, you end up filing pretty much same information again and again.

OpenId is meant to solve these problems. The idea here is to create an id with an openId provider and use that ID to log on to sites that support openId. In an ideal world where all websites support openId you will end up having just one user id and password. Isn’t this amazing!

In terms of adoption, OpenID is used by many large websites including Facebook. If you are using services like Yahoo, Google, Flickr or Myspace, you already have your own OpenID. Additionally there are some dedicated ID provider like myOpenID, verisign and myID.net. Visit http://openid.net/get-an-openid/ for complete list.

Typical actors in OpenId standard are “id provider” and the “relying party”. This standard provides the framework for the two actors to communicate.

Coming to the problem of re-typing the same information again and again, OpenID standard has an extension (OpenID attribute exchange) that allows for transfer of user information from id provider to the relying party. This way you don’t need to retype this information all over every time you sign up to a new website.

OpenID is not free of all evils though. You need to be careful with your OpenID because if your OpenID and password is stolen then all your registered sites become a target! You would be better off if your OpenID service provider supports two factor authentication. VeriSign is one such provider.

Tuesday, January 5, 2010

Websphere Portal 6.1.5 - portal light mode

WebSphere Portal now comes with something called "portal light mode". Once enabled, a set of portlet applications are not started during portal startup. it works on line of lazy loading wherin these portlet applications are started when portal recieves a first http request for the portlet.

wp.base_ProfileEarAttributesTargetMapInclList.jacl contains the list of portlet applications that has to be lazily loaded.

COMMAND TO ENABLE LIGHT MODE
ConfigEngine.bat enable-portal-light-startup-performance -DWasPassword=password
 
COMMAND TO ENABLE LIGHT MODE
ConfigEngine.bat enable-portal-light-startup-performance -DWasPassword=password

Saturday, January 2, 2010

WPS 6.1.5 installation issue: CreateProcess failed ==> %1 is not a valid Win32 application

I was trying to install WPS 6.1.5 on my windows XP and it was failing with following error:
CreateProcess failed ==> %1 is not a valid Win32 application

after some troubleshooting i could resolve this. It was happening because i had two user variables defined in windows environment variables as follows:
TEMP = %USERPROFILE%\Local Settings\Temp
TMP = %USERPROFILE%\Local Settings\Temp

with this install.bat was having problems with directory name having spaces.

I tried changing it to TEMP = c:\mytemp

at this time i started getting

CreateProcess failed ==> %1 is not a valid Win32 application

later i realised that there are two system variables defined as well with similar name TEMP and TMP as follows:

TEMP = c:\Windows\TEMP
TMP = c:\Windows\TEMP


so, i removed the uservariables TEMP and TMP and tried the installer once again and it installed successfuly. :)