cancel
Showing results for 
Search instead for 
Did you mean: 

How to configare in Customizing logon screen in portal?

Former Member
0 Kudos

Hi Experts,

i have the customizing the logon screen in portal, but server is crash, how will be change the logon screen in portal plz send the pdf files, as early as possible ,

Regards & Thanks

Chandu

Accepted Solutions (1)

Accepted Solutions (1)

javed_shaikh
Active Contributor
0 Kudos

Below are the steps to customise the portal login page:

Step I:

1. Copy PAR u201Ccom.sap.portal.runtime.logon.par.baku201D to local directory

2. Rename the PAR file.

3. Import the renamed PAR file into NWDS.

4. Add the jar file into directory dist\PORTAL-INF\Private\lib by unzipping the contents of the PAR file.

5. Make necessary modifications to the file u201CumLogonPage.JSPu201D, u201CumLogonBotArea.txtu201D.

6. Save the file. Rebuild Project.

7. Export the PAR file with the changed name.

Step II: Modification of Authschemes.xml to reference the new PAR file containing the modified logon UIs

[Ensure that all dispatcher and server nodes in the cluster are shut down.]

1. Start the Config Tool by executing <SAPJ2EEEngine_installation>\j2ee\configtool\configtool.bat.

2.Choose the symbol for Switch to configuration editor mode.

3.In the tree, navigate to cluster_data -> server -> persistent -> com.sap.security.core.ume.service.

4. To switch to edit mode, choose(Switch between view and edit mode).

5. In the tree, select authschemes.xml and choose (Show the details of the selected node).

6.Choose Download and save the file to a local directory.

7.Edit the file locally.

8.Create a new node in the configuration tree for the edited file as follows:

a. Select the node com.sap.security.core.ume.service.

b. Choose the symbol for Create a node below the selected node ( )

c. Select the type File-entry.

d. Choose Upload and select the file from your local directory.

e.Enter the name for the entry, for example, authschemes_productive.xml. By default, the name of the uploaded file is used.

f.Choose Create.

g. Choose Close window.

The new node appears in the configuration tree.

For UME to use the new file, you have to change the value of the property login.authschemes.definition.file to the name of the new authschemes file. [Change the property as described in Editing UME Properties.]

9. Restart the nodes in the cluster for the changes to take effect.

Step III: Editing UME Properties

Procedure

[Ensure All cluster elements are shut down.]

1.Start the Config Tool by executing <SAPJ2EEEngine_installation>\j2ee\configtool\configtool.bat.

2.Choose the symbol for Switch to configuration editor mode.

3. In the tree, navigate to cluster_data->server ->cfg ->services

4.To switch to edit mode, choose (Switch between view and edit mode).

5.In the tree, double-click on Propertysheet com.sap.security.core.ume.service.

6. Click on the property you want to change.

To enter a custom value, enter it in Custom and choose Apply custom.

To reset a value to its default, choose Restore default.

7. To save the changed properties, choose OK in the property sheet view.

8. Restart the nodes in the cluster for the changes to take effect.

Former Member
0 Kudos

hi friend,

It's very helpful document, ok anyway thnks

Thanks

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Chandu,

Now thatyou know as to how you have to download the runtime.logon .par file and sve it with a different name and have to make changes in that par file and finally again export as par and run and see the output in portal app in default mode.

Ill like to tell you some wayz to customize your logon page:

Changing Text

The text seen on the logon page is not in the JSP page, but in properties files which are called by tags like the Welcome text : <%=logonLocale.get("xtit_WELCOME")%>

In order to change "Welcome" to "Welcome to MyHR" you have to :

- Unzip the file umelogonbase.jar which you can find under distPORTAL-INFlib

- Find the file "logonLabels_" which contains your language;

e.g. for german logonLabels_de.properties,

for russian logonLabels_ru.properties or

for English logonLabels_en.properties

The default is in the file logonLabels.properties .

- Find the key which is used in the tag (here it is xtit_WELCOME) and change the text after the equal sign.

- Save the changed file and create a updated JAR file using a zip program. The file needs to be named umelogonbase.jar, not umelogonbase.zip or umelogonbase.jar.zip.

- Put the JAR file back to distPORTAL-INFlib.

Remove Support and Register links

The links are controlled with the UM settings

ume.logon.logon_help

ume.logon.selfreg

You could also just comment out the lines...

Change/add images

To exchange the two images, which are by default on the logon page, do the following steps:

Copy the image(s) you want to use in your project in the the folder dist/layout.

Find the < img src="" > you want to work on in the umBotArea.txt

Change the src attribute in the img tag to src="<%=webpath + "layout/myPic.gif" %>". The webpath is already defined in the file logon_proxy.txt and ready to use.

Add a Document (e.g. Intro or FAQ)

You can add a document link to the logon page, which points to a KM document. Updating the Logon Document would then involve no transports,and if wanted an approval process. Less paperwork to worry....

1. Setup a folder Logon, e.g. under Public Documents and put in there the document you want to point to.

2. Setup the folder with Read access for the Anonymous Users group.

3. Create a KM Document iview and choose Anonymous as access, but don¡¦t change the path to the document yet.

4. Preview the document and note down the URL of this page (In most browsers Right-click outside the image and select Properties to get the URL).

5. In the iview add now the KM path an d preview it again to make sure that the path is correct.

6. In the logon page, create a link. The href value is the URL you noted down but starting with /irj and without the portal server name and port (otherwise you have to change it after every transport).

note:When you take the logon par file from the server and import into NWDS, 2 jar files that are part of original downloaded par file dont get imported into the project. The jar files are com.sap.portal.runtime.logon_api.jar & umelogonbase.jar exist in the original par file in the folder PORTAL-INF/lib. Copy these 2 jar files into the NWDS project into PORTAL-INF/lib, then compile your code and run it.

I hope this will be helpful to you as i used the same method to customize my logon page.

regards

Pooja.

Please award points if its helpfull

former_member193769
Active Contributor
0 Kudos

Hi,

Try it once and reply.

Copy my.new.logon.par back to <J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\Temp also.

I dont think this works because database server will check the changes in file system and replaces with its own data from last save.

Try one thing. Change the working par name to customlogonnew.par and call this from web.xml.

Before that place the par in the below two directoies.

Copy my.new.logon.par back to <J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd.

Copy my.new.logon.par back to <J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\Temp.

If not try forced deployment using SDM for customlogonnew.par by making par to SDA.

Thanks,

gopal

Former Member
0 Kudos

Hi Chandu,

Just check these steps.

Make a Copy of the Standard Logon Component and Modify It

...

1. Navigate to <J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd.

There you can find com.sap.portal.runtime.logon.par.bak.

2. Make a copy of com.sap.portal.runtime.logon.par.bak and rename it. In this example, it is renamed to my.new.logon.par.

3. Move my.new.logon.par to a location outside of the <J2EE-Engine_Instance>.

4. Extract the files from my.new.logon.par preserving the directory structure.

5. Modify files in the extracted PAR file.

6. Put the modified files back into my.new.logon.par.

7. Copy my.new.logon.par back to <J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd.

This is whwre you change your logon file,

Regards,

Tilak.