Tuesday, October 18, 2016

Access Manager / EBS -- setting the default language

Another Access Manager post from me.. I started to like these Access Manager issues, dealing with them are like solving puzzles.
Anyways, in this post I will write about changing the default langauge of the OAM login page and indirectly, changing the EBS login language.

What we need to is basically use the wlst to connect to the admin server and then execute configOAMLoginPagePref, as shown in the following demo;

suppose our EBS base lang is English(en) , but we need to make all the users login in to EBS via Turkish language (tr). Suppose we need to display the OAM login page in Turkish as well.

[appoid@ermanoid bin]$ cd /home/app/oracle/middleware/Oracle_IDM2/common/bin
[appoid@ermanoid bin]$ sh wlst.sh
  
Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

wls:/offline> connect()
Please enter your username :weblogic
Please enter your password :
Please enter your server URL [t3://localhost:7001] :t3://ermanoid.ermanexampledomain:7105
Connecting to t3://ermanoid.ermanexampledomain:7105 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'oam_domain'.

Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.

wls:/oam_domain/serverConfig>  configOAMLoginPagePref(persistentCookie="false",persistentCookieLifetime=30,
langPrefCookieDomain="ermanexampledomain",langPrefOrder="oamPrefsCookie,browserAcceptLanguage,serverOverrideLangPref,defaultLanguage",
serverOverrideLanguage="tr",defaultLanguage="en",
applicationSupportedLocales="en,tr")

That's it , clear your browser cache and you ll have turkish OAM login.
Note that, you will also have a drop down list to choose the login language;


Also, if you don't want to have a language selector in the OAM login page; execute the following; 
Note that: following configuration is for  making the OAM page turkish only;

wls:/oam_domain/serverConfig>  configOAMLoginPagePref(persistentCookie="false",persistentCookieLifetime=30,
langPrefCookieDomain="ermanexampledomain",langPrefOrder="oamPrefsCookie,browserAcceptLanguage,serverOverrideLangPref,defaultLanguage",
serverOverrideLanguage="tr",defaultLanguage="en",
applicationSupportedLocales="tr")

Note that, there are some EBS profile, that may affect EBS language, as well. For example: FND_OVERRIDE_SSO_LANG.

So if you are interested to know more about this topic, I suggest you to read the MOS note:  Integrating Oracle E-Business Suite Release 12.2 with Oracle Access Manager 11gR2 (11.1.2) using Oracle E-Business Suite AccessGate (Doc ID 1576425.1) - 5.4 Configure Languages for the Oracle Access Manager Login Page.

Also note that; following languages are not supported with OAM yet;

Hebrew - Bug 16901373 - Fixed in OAM 11gR1 Patchset 2.
Croatian and Canadian French - Bug 16920577 
Albanian, Catalan, Cyrillic Serbian, Dutch, Egyptian, Icelandic, Indonesian, Latin Serbian, Lithuanian, Slovenian, Ukrainain, Vietnamese - Bug 16920613

No comments :

Post a Comment