Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

TABLE OF CONTENTS

  1. 1. Introduction

  1. 2. Overview

  1. 3. Downloading the PAR File
    1. 3.1 From server
    2. 3.2 From portal

  1. 4. Creating PAR Project

  1. 5. Making changes
    1. 5.1 Changing the branding image
    2. 5.2 Creating the PAR File
    3. 5.3 Uploading the PAR File

         6. Result

    

Fig 1 Standard Portal Logon Page

  1. 2. Overview

Customization of the logon page consists of the following steps

  • Downloading the PAR File
  • Creating a PAR project
  • Making Changes
  • Uploading the PAR File

  1. 3. Downloading the PAR File

The standard portal logon page is in the standard par file com.sap.portal.runtime.logon.par.bak. The par file can be downloaded from the server or portal

  1. 3.1 From the server

The path to download the PAR File from the server

Usr/sap/GPS/JC00/j2ee/cluster/server0/apps/sap.com/irj/servelet_jsp/irj/root/WEB-INF/deployment/pcd/com.sap.portal.runtime.logon.par.bak

Fig 2 Server Path

  1. 3.2 From the Portal

  • Login to the portal http://xxx/irj/portal  using Enterprise Portal Administrator user id and password.
  • Go to System administrationà Support à Portal Runtime à Browse Deployment.
  • The path is ROOT/WEB-INF/deployment/ pcd.
  • There the list of par files is shown. There will be a par file com.sap.portal.runtime.logon.par.bak. 
  • Download that par file into the local system.

Fig 3 Downloading PAR File from Portal

  1. 4. Creating a PAR project

  • Remove the .bak extension in the downloaded file.
  • Open Netweaver developer studio (NWDS).
  • Choose File -- > Import -- > Par file


Fig 4 Creating PAR Project in NWDS

  • Click on Next and browse for the path of the PAR file downloaded
  • Enter the project name and click on Finish. Do not enter the same name as that of the standard PAR

Fig 5 Creating PAR Project

  • Now the new par file project is created in the NWDS.
  • Open the navigator view in the NWDS.
  • The par project we created will be there.

  1. 5. Making changes

  Open the downloaded par file with WinZip and in the lib folder two jar files named com.sap.portal.runtime.logon_api.jar and umelogonbase.jar are present. Copy these files in the folder ‘lib’ in par project.

Fig 6 Adding JAR Files in the project

  1. 5.1 Changing the branding image

Branding image is changed in the following way

Paste the new branding image in the layout folder. Here we pasted Winter.jpg as our custom image.

Fig 7 Adding Branding image in layouts

In the file umLogonBotArea.txt coding is to be done

Comment the following piece of code in the .txt file

<imgsrc="<%=com.sap.security.logonadmin.ServletAccessToLogic.getAbsoluteURL(  webpath,com.sap.security.core.imp.TenantFactory.getInstance().getLogonBrandingImage1(request))%>" alt="Branding Image" border="0">

Add the following piece of code

<img src= “<%= webpath %>layout/ Winter.jpg” alt =“TCS” border= “0”>

Fig 8 Adding the code in umLogonBotArea.txt

  1. 5.2 Creating PAR File
    • Once the modifications are done save the project .Right click on the project and click on ‘Export’. Then choose par file and click on ‘Next’. Choose your project and click on ‘Next’.
    • Check the ‘Include source code of the portal application’ check box and click on ‘Finish’.
    • A par file with our project name will be created.
    • Copy the par file to the local system.

  1. 5.3 Upload the PAR file

            5.3.1 In Portal

  • Rename the par file to the ‘com.companyname.logon’.
  • Login in portal http://xxx/irj/portal using the EP administrator user id and password.
  • Go to the path System Administration àSupport àSupport Desk à Portal Runtime àAdministration console
  • Browse for the par file we created and click on Upload.

Fig 9 Uploading the PAR File in the portal

  1. 5.3.2 In server

    • In order to Upload the new par we need to configure the deployment descriptor. For this we will make use of the j2ee engine.

Changes have to be made in the authschemes.xml file located in the server to point to the new par file.

To download the authschemes.xml file

  • Open The offlinecfgeditor .bat under the directory
    ¡§\sap\J2E\JC00\j2ee\configtool
  • Switch to edit mode by clicking on the icon. It will open a confirmation dialog
    box. Click Yes.

  The Config Tool window will open.

Fig 10 Config Tool

  • Click  on the Edit. It will display the configuration
  • Navigate till cluster_data/server/persistent/com.sap.security.core.ume.service
    In the tree, select authschemes.xml. Right Click on authschemes.xmlàshow detailsàDownload


Fig 11 Edit mode of the Config Tool

The File will get downloaded to the server.

Fig 12 File is downloaded to the server

  • After that extract the file from the server to the local system.
  • Open the file and replace the Occurrence of com.sap.poratl.runtime.logon with your par file name ( dont change the rest part such as basicauthentication),and save it with a new name.

To upload the authschemes.xml file

  • Open The offlinecfgeditor .bat under the directory
    ¡§\sap\J2E\JC00\j2ee\configtool
  • Switch to edit mode by clicking on the icon. It will open a confirmation dialog
    box. Click Yes.
  • The Config Tool window will open.
  • Click on the Edit. It will display the configuration
  • Navigate till cluster_data/server/persistent/com.sap.security.core.ume.service
    in the tree, select authschemes.xml. Right Click on authschemes.xmlàChange.
  • A change file window will open. Click on UploadàOK.

Fig 13: uploading the Authschemes.xml file in the server

  1. 6. Result

After the changes are made the logon page will look like this


ALL THE BEST

This is SVREDDY

svreddy0086@hotmail.com


1 Comment
Labels in this area