SSO is working - now how to remove logout box ?

BO XI R2.

When users enter the Webi interface.
They are logged in with SSO.

But when they exit (close the window) they are asked to "log off OR cancel (remain logged in)

Q: Is there a way to remove this logout box - and just by closing the window the user is logged out ?

/ Stig Henning


kilko :norway: (BOB member since 2006-01-27)

This is a personal user preference in Infoview. Log into Infoview and click on the preferences icon. In the General tab there is a radio button group called ‘When I close my browser window…’. Just change that to ‘Always log me off Infoview’

Regards

Rod


rodallen :uk: (BOB member since 2006-02-10)

This is great!!

But is there a global variable I can set - to use this option for all users ?

I check the InfoView Preferences page and found:


<!-- CUSTOMIZATION TABLE .. CLIENT SESSION END MODE ... VARIABLE "clientSessionEndMode" -->
<tr>
	<td class="listSelected">When I close my browser window ...</td>
</tr>
<tr> 	
	<td class='main'>
        <input type="radio" name="clientSessionEndMode" value="AskUser" checked="checked">always ask before logging me off InfoView
	</td>
</tr>
<tr>
	<td class='main'>
        <input type="radio" name="clientSessionEndMode" value="AlwaysTry">always log me off InfoView
	</td>
</tr>
<tr>
	<td class='main'>
        <input type="radio" name="clientSessionEndMode" value="Never">never log me off InfoView
	</td>
</tr>
<tr>
	<td colspan="2"><hr></td>
</tr>

Might there be a global file where I can set the “clientSessionEndMode” = “AlwaysTry”

/ Stig Henning


kilko :norway: (BOB member since 2006-01-27)

Or is is more possible to alter the header, and then have a code look like this:

onExit -> run logoff.jsp (or what the file is called)

Possible ?


kilko :norway: (BOB member since 2006-01-27)

Hi,

I am not aware of any way to set personal preferences like this from the CMC or by updating xml files, however there is an unsupported java utility which comes with Performance Management. If you have the full install, look in

…\Performance Management 11.5\setup\

There are 2 files in there :-

prefsCopyUtil.jar
prefsCopyUtil.properties

I managed to copy preferences from a ‘template’ user to all users in a group using this utility. You first need to update the properties file with your CMS name, Admin password, source user and target group. Then just create a dos batch file in notepad to contain something like :-

cd /d %~dp0
@echo copy prefs util
“D:\Business Objects\j2sdk1.4.2_08\bin\java” -jar prefsCopyUtil.jar PrefsCopyUtil.properties

When you execute the file, it should connect to the CMS and update the personal preferences of all users in your target group based on the settings of your source user. I don’t know any more about it than that as I picked up this tip from another user on this forum. It does appear to work, and it is mentioned in the PM admin guide, although I gather it is not officially supported by Business Objects. So try it out and if you are happy using it without support - all well and good. I guess it is one of the many little quirky features that would/should sit better in the CMC :wink:

Good luck!

Rod


rodallen :uk: (BOB member since 2006-02-10)

Anything is possible if you have the sourcecode, you could try hacking the jsp pages themselves to get what you want, but as in all these things the problem is in doing something that is not supported. If you check the documentation you will find that directly editing files with a .jsp extension(among other filetypes) is unsupported, which means if you run into problems later on, Business Objects support might insist that you uninstall any modifications before they attempt to assist you.

Regards

Rod


rodallen :uk: (BOB member since 2006-02-10)

Rod; good point - that there will be no more support. Hmm…

Ive searched manuals and forums with no result.
Better ask BO about any workaround (with support) :slight_smile:

/ Stig Henning


kilko :norway: (BOB member since 2006-01-27)

Speaking with BO, I’ve heard that there is no option for setting global logoff, when closing the window :frowning:

I feel this is odd, since reason for using SSO is to get around the login/logout function. :crazy_face:

/ Stig Henning


kilko :norway: (BOB member since 2006-01-27)

We have a quasi-SSO set up, using the Lawson authentication process. When users log off, they get redirected to our intranet home page. No log in box will ever be displayed.


substring :us: (BOB member since 2004-01-16)

Interesting…
But it seems like they system you have, users have to “click logoff”, right?

Everytime users close the BO window, its easier to track which users are currently logged in and logged off. (using Home -> Servers -> hostname.cms )

/ Stig Henning


kilko :norway: (BOB member since 2006-01-27)

Interesting…I have never come across the Lawson authentication process. Any advantages over standard AD authentication or is it a form of LDAP for Operating Systems other than windows?

p.s. kilko - you mentioned about tracking users in the CMC. Check out this topic :-

There is a bug in the PM version of Infoview to do with session cleanup - but there is a section of code in web.xml that you can uncomment which seems to fix it.


rodallen :uk: (BOB member since 2006-02-10)

No advantage whatsoever. It is our legacy financial and HR system and everything evolves around Lawson. Using it to authenticate users is merely an interim solution. Our IT folks are going to implement AD in the next few months. I will switch over from Lawson authentication to AD authentication.

With that being said, I plan to continue using the same redirection scheme…all users will access Infoview thru our intranet BI home page, and get redirected back to this same BI home page when they log off voluntarily or involuntarily.


substring :us: (BOB member since 2004-01-16)

I think that “unsupported” means that if you use the tool to copy the Preferences and it doesn’t work, don’t go crying to BO. Your environment will still be supported, regardless of if you’ve used that tool or not. They just don’t want to be on the hook to support the “extras” they shipped with the product.

DJ


DJ06482 :us: (BOB member since 2002-11-22)

rodallen; ah, the PM bug. We at this point do not use PM. Only standard-out-of-box installation. But this might come in handy some day :wink:

substring;
That is excacly what we are doing. Accessing the BO through our intranet, but by doing that, SSO jumps in and logs us automaticlly in.
So users should not have to be bothered with login out…

Is not this (dont have to think about it) what SSO is all about ?

/ Stig Henning


kilko :norway: (BOB member since 2006-01-27)

I agree, I didn’t want to discourage anyone from trying prefsCopyUtil.jar. I have tried it and it seemed to work well with no issues. As soon as we have a need to roll out preferences on a large scale, I will probably use it again (unless that functionality has been added into the CMC in the next release of XI by then)


rodallen :uk: (BOB member since 2006-02-10)

I agree, I’ve used the PrefsCopyUtil.jar to roll out preferences for roughly 300 users per environment across three environments. So far, it’s worked great! “Unsupported” can mean many things, so I thought it was important to clarify what was unsupported - use of the tool or the entire environment.

DJ


DJ06482 :us: (BOB member since 2002-11-22)

By what method is the redirection at log off done?


tomk :us: (BOB member since 2006-06-30)

In our custom Java code.


substring :us: (BOB member since 2004-01-16)

So using the PrefsCopyUtil.jar I may change all the users settings.
Just what I need… 8)

But the PrefsCopyUtil.properties only contains some code.

To be able to set logout for all users (when closing the window), how should I enter this into the PrefsCopyUtil.properties ?

/ Stig Henning


kilko :norway: (BOB member since 2006-01-27)

pick a user to act as your ‘template’ profile. Manually alter settings for that user and then modify the PrefsCopyUtil.properties to copy preferences from that user to all users in your target Enterprise group.


rodallen :uk: (BOB member since 2006-02-10)