I am trying to use SSO for my application.
I got sample codes from few of the threads related to SSO
Now I am getting ClassCastException , in the below line
ILandscapeService landSrv = (ILandscapeService) PortalRuntime.getRuntimeResources().getService(ILandscapeService.KEY);
Can some one guide me how to solve this issue, what are the api/jar that I need to include.