`
hai0378
  • 浏览: 532039 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

sap netweaver applicaton.xml

 
阅读更多
  

Customizing Logon Page on Portal 7.3

Please find below details steps for customizing logon page on Portal 7.3.

 

1Locate the WAR file.

 

First step is to get the WAR file delievered by SAP for logon page to customize it.

 

 

Copy the war file tc~sec~ume~logon~ui.war to your local machine from

 

<Installation drive>:\usr\sap\<SID>\J00\j2ee\cluster\apps\sap.com\com.sap.security.core.logon
\servlet_jsp\logon_ui_resources\tc~sec~ume~logon~ui.war

 

 

2. Import the WAR file

 

Next we have to import the WAR file into NWDS by going to: File --> Import -->Web --> War File

 

1.jpg

 

     Select the WAR file from the local system.

 

2.jpg

 

 

    As EAR format can be deployed on JEE server, corresponding EAR project has to be created.

   For this, check the “Add project to an EAR “checkbox as above and specify suitable name in “EAR project name “based on the

   WAR project name.

 

   Click Finish to create both WAR and EAR projects.

 

 

 

3.jpg

    Expand the WAR project.

 

4.jpg

 

 

At this point you will notice errors in the project. To remove these errors follow the next step.

 

 

3Adding the required JAR file to remove the Errors.

 

 

     a. Next you need to locate the Jar file “tc~sec~ume~logon~logic_api.jar” on which the WAR file is dependent from the following location:

     <drive>\usr\sap\<SID>\J00\j2ee\cluster\apps\sap.com\com.sap.security.core.logon\servlet_jsp\logon_app\root\WEB-INF\lib

 

    

     Copy the tc~sec~ume~logon~logic_api.jar” file to the WebContent\WEB-INF\lib folder of the WAR project in NWDS.

 

 

5.jpg

 

    bThis Jar file has also to be added in the build path of WAR file.

         Right Click the WAR project and select Build Path --> Configure Build Path.

 

6.jpg

 

 

     cClick on Libraries tab.Click on “Add External  Jars”  and select the JAR file “tc~sec~ume~logon~logic_api.jar” from local system and “Add” to   get   the following screen:

 

7.jpg

 

Once done you will notice that all errors have gone !!

 

4. Make Changes to Layout

 

     a.  Now its time to start making the desired changes to the layout. In our example we are changing the branding image

          on the Logon screen. We have copied the image “hearts.jpg” to the folder WebContent\layout

 

 

8.jpg

 

 

 

SAP delivered image  branding-image-portals.jpg has dimension  290X360 px . If you select a bigger image it will get truncated based on the mentioned dimensions. To change the dimensions you need to edit the element urBrandImage in css file

 

 

urBrandImage{overflow:hidden;width:290px;height:360px}

 

 

 

b. After the changes have been made, we need to be sure that WAR project is updated in the EAR project and latest changes are

   picked up. For this Right Click on WAR project and select Java EE Tools -->Update EAR Libraries.

 

 

9.jpg

 

 

 

5. Configuring deployment descriptors

         

          Next we need to configure 2 deployment descriptors of the EAR application as below:

         

          a. application-j2ee-engine.xml

          b. application.xml

 

 

10.jpg

 

     a.  Configuring application-j2ee-engine.xml

 

 

 

        In the EAR, view the General tab of the file <project_name>/EARContent/META-INF/application-j2ee-engine.xml. 

 

 

          i. Enter a provider name for your application.This is usually domain name of the client.

             The provider name defines your namespace where your applications reside on the AS Java.

              If you enter “example.com”, the application deploys to the following path:<ASJava_Installation>/j2ee/cluster/apps/example.com/<project_name>

 

        ii . Next we need to add reference to the standard application com.sap.security.core.logon

               Choose References and choose +  with the quick info text Add element

 

         iii.  Choose Create new and enter the required data.

 

   

Reference Data for the Logon Application

Field Name

Data

Reference target

com.sap.security.core.logon

Reference type

hard

Reference target type

application

Provider name

sap.com

 

 

11.jpg

 

This will generate the XML in background which can be displayed in the SOURCE tab :

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<application-j2ee-engine

      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

      xsi:noNamespaceSchemaLocation="application-j2ee-engine.xsd">

      <reference

            reference-type="hard">

            <reference-target

                  provider-name="sap.com"

                  target-type="application">com.sap.security.core.logon</reference-target>

      </reference>

      <provider-name>newLogon.com</provider-name>

</application-j2ee-engine>

 

  b.. Configuring application.xml

 

In the EAR, edit the file <project_name>/EARContent/META-INF/application.xml, and define the URL alias and for your custom logon UI.

Double click on application.xml and go to Modules tab . Select the WAR file and enter the “Context Root” field for example : new_logon

 

 

12.jpg

 

We have to provide this alias name later in NWA so please make a note of it.

 

 

 

6. Creating the deployable EAR file

 

     Next we need to create a deployable EAR file . For this right Click on EAR project and select Export -->SAP EAR file

 

13.jpg

 

7. Deploying the EAR file

 

     Right click on the EAR project and select Run As --> Run on server

     Enter the credentials of the server and file will get deployed on the server with a success message.

     You might get an Error screen in NWDS after deployment as below however you can ignore it.

 

 

 

14.jpg

 

8. Configuring UME properties in NWA

 

     Navigate to the following URL to modify UME properties through Netweaver Administrator

     http://<host>:<port>/nwa/auth

 

     a. Change the property Alias of the aplication for customizing login pages (ume.logon.application.ui_resources_alias)                

          to custom  application “ new_logon” which we mentioned previously  in the Context root of application.xml

 

 

     b.  Change the property Path or URL to the branding image (ume.logon.branding_image) to “layout/hearts.jpg”

 

 

15.jpg

 

17.jpg

 

 

Hurray!!!  We have successfully customized the Logon Screen …

 

 

9. Next aim is to have a custom text or Notice on the logon page. 

 

Please add the following code after line 44 in the logon.jsp.

 

<!-- ********************************************* -->

    <!--  disclaimer notice                         -->

                <tr>

      <td class="urLblStdNew">

        <span ><b>Notice for All Users</b>

                      <br><br>Paste your content here.

        </span>

      </td>

    </tr>    

<!-- ********************************************* -->

 

Save the new values and restart the portal server.

 

 

 

18.jpg

 

This finishes (or rather begins) our journey with the customization of Logon page …. !!!

 
 
平均用户评级
 
(1 评级)

评论

 
 
 
 
 
 
 
 
 
 
<iframe id="fb_xdm_frame_http" style="margin: 0px; padding: 0px; border-style: none; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: baseline; background-color: transparent;" title="Facebook Cross Domain Communication Frame" name="fb_xdm_frame_http" src="http://static.ak.facebook.com/connect/xd_arbiter.php?version=24#channel=f14770ae4c&amp;origin=http%3A%2F%2Fscn.sap.com&amp;channel_path=%2Fdocs%2FDOC-27909%3Ffb_xd_fragment%23xd_sig%3Df371242734%26" frameborder="0" scrolling="no"></iframe><iframe id="fb_xdm_frame_https" style="margin: 0px; padding: 0px; border-style: none; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: baseline; background-color: transparent;" title="Facebook Cross Domain Communication Frame" name="fb_xdm_frame_https" src="https://s-static.ak.facebook.com/connect/xd_arbiter.php?version=24#channel=f14770ae4c&amp;origin=http%3A%2F%2Fscn.sap.com&amp;channel_path=%2Fdocs%2FDOC-27909%3Ffb_xd_fragment%23xd_sig%3Df371242734%26" frameborder="0" scrolling="no"></iframe>
分享到:
评论

相关推荐

    SAP NetWeaver 安装.doc

    SAP NetWeaver 安装指南 SAP NetWeaver 是 SAP 公司出品的一款集成平台,旨在提供一个统一的应用程序开发和集成环境。该平台提供了丰富的功能,包括应用程序服务器、集成平台、portal、business intelligence 等。...

    SAP.Connector.dll和SAP.Connector.Rfc.dll

    SAP Connector是用于连接SAP系统与非SAP系统之间数据交换的重要组件,它提供了.NET开发者所需的接口和类库,以便在.NET环境中与SAP R/3或SAP NetWeaver进行集成。在这个压缩包中,包含的是X86架构下的SAP Connector...

    SAP netweaver架构.docx

    SAP NetWeaver 架构详解 SAP NetWeaver 是 SAP 公司开发的一款集成化平台,提供了一个强大的开发环境和运行时环境。它支持 Java 开发和 ABAP 开发,提供了多种开发工具和运行时组件,帮助开发者快速构建企业级应用...

    sapnetweaver概述.docx

    SAP NetWeaver 概述 SAP NetWeaver 是一种基于 J2EE 规范的中间件平台,类似于 Weblogic 或者 JBOSS。它是 SAP 所有解决方案的基础架构,包括新一代的跨应用(xApps)组合应用,特定的业务套件和 SAP 企业软件。...

    SAP NetWeaver.zip_SAP_zip

    总之,"SAP NetWeaver.zip"这个压缩包文件包含了学习SAP NetWeaver的全面指南,无论你是企业IT人员还是寻求职业发展的专业人士,都能从中获得宝贵的知识和技巧。通过深入理解和掌握这个平台,你可以有效地支持企业的...

    SAP Netweaver Developer studio.pdf

    ### SAP NetWeaver Developer Studio:集成Java开发环境 #### 概述 SAP NetWeaver Developer Studio 是一款专为Java开发者设计的集成开发环境(IDE),旨在提供一个强大的平台来支持基于SAP技术的应用程序开发。它...

    Xcelsius 2008 with SAP NetWeaver BI.pdf

    ### Xcelsius 2008 与 SAP NetWeaver BI 的集成应用 #### 概述 本文档主要介绍如何将 Xcelsius 2008 与 SAP NetWeaver BI 结合使用,以实现数据可视化及交互式报表功能。Xcelsius 2008 是一款强大的工具,用于创建...

    SAP.NetWeaver.7.01

    在深入探讨SAP NetWeaver 7.01这一主题之前,我们首先需要理解SAP NetWeaver本身是什么。SAP NetWeaver是SAP公司推出的一个集成平台,旨在为企业的业务流程提供一个统一的技术基础。它包含了多种技术组件,如应用...

    sapjco3.dll sapjco3.jar 版本 7210,1120,28,55042 64位.zip

    SAP Java Connector (SAP JCo) 是一个软件开发工具包,允许Java开发者通过标准的Java接口与SAP R/3或SAP NetWeaver系统进行通信。SAP JCo3提供了两种主要的接口:远程功能调用(RFC)和业务对象再使用(BOR)。RFC...

    SAP.Connector.dll 与 SAP.Connector.Rfc.dll

    接下来,SAP.Connector.Rfc.dll是SAP Remote Function Call (RFC) 的.NET版本,它是SAP NetWeaver系统的核心组件之一。RFC是一种通信协议,允许外部应用程序通过标准接口调用SAP内部的功能模块。这些功能模块可以是...

    sapjco3.jar下载

    首先,`sapjco3.jar`文件是SAP JCo 3.x版本的Java库,它提供了API接口,使得开发者能够通过编写Java代码来访问SAP R/3系统或SAP NetWeaver AS。这个库通常用于实现BAPI调用、IDoc处理、RFC通信等任务。 `sapjco3....

    .NET SAP RFC API based on SAP Netweaver RFC SDK.zip

    .NET SAP RFC API是基于SAP NetWeaver RFC SDK构建的,用于在.NET环境中与SAP系统进行集成和通信。SAP Remote Function Call (RFC) 是一个接口技术,它允许外部系统(如.NET应用程序)调用SAP系统中的函数模块,执行...

    SAP.NetWeaver.的流程整合的灵活性.zip

    这个名为"SAP.NetWeaver.的流程整合的灵活性.zip"的文件包,特别是其中的"ABAP351 Advanced and Generic Programming in ABAP"部分,揭示了SAP NetWeaver如何利用ABAP这一编程语言来实现灵活且高效的业务流程整合。 ...

    sapjco30/sapjco3.dll/sapjco3.jar SAP官网2017/7/18更新版本

    SAP JCo (Java Connector) 是一款用于连接Java应用程序与SAP系统的关键组件,它提供了在Java环境中访问SAP R/3系统或者SAP NetWeaver应用服务器的能力。"sapjco30"指的是SAP JCo的第三版,这个版本对应于JCo 3.0,是...

    SAP NetWeaver RFC SDK

    ### SAP NetWeaver RFC SDK:深入理解与应用 #### 核心知识点概览: 1. **SAP NetWeaver RFC SDK定义与作用** - SAP NetWeaver RFC SDK(Software Development Kit)是SAP官方提供的工具包,用于开发、集成和调用...

    Data Modeling in SAP Netweaver BW.zip

    sap press doc 解压密码:abap_developer

    sapjco3.jar for mac 64

    SAPJCO3.jar是SAP提供的Java连接器,它允许Java应用程序与SAP R/3或SAP NetWeaver系统进行交互,特别是通过Remote Function Call (RFC)接口。这个组件对于那些希望集成SAP系统到Java应用的企业至关重要。在Mac 64位...

    SAP.NetWeaver.Portal.Technology.The.Complete.Reference

    ### SAP NetWeaver Portal Technology: The Complete Reference #### 概述 《SAP NetWeaver Portal Technology: The Complete Reference》是一本由SAP架构师Rabi Jay编写的全面指南,旨在帮助读者掌握整个SAP ...

    SAP NetWeaver 750_7 RFC SDK.zip

    SAP NetWeaver是SAP公司推出的企业应用服务器平台,用于构建、运行和集成各种企业应用程序。SAP NetWeaver 750_7版本是一个更新的发行版,旨在提供更高效、更灵活的IT环境。RFC(Remote Function Call)SDK是SAP ...

Global site tag (gtag.js) - Google Analytics