Developing a Custom Logon Screen
Use
The SAP NetWeaver Application Server (AS) Java ships with a standard set of logon screens. SAP bundles these screens into the logon user interface (UI) application com.sap~tc~sec~ume~logon~ui. The application includes for example, the logon screen and the password help screen. You can change these screens to reflect your company’s look and feel. This procedure describes how to import the default logon UI application into the SAP NetWeaver Developer Studio from the AS Java, modify the application, and deploy the customized application to your AS Java. This enables you to customize the existing application to meet your needs instead of creating a brand new logon UI.
If you only want to make minor changes to the logon screen, such as changing the branding images, see SAP Help Portal Logon Screen Customization.
Prerequisites
This procedure requires you to restart the AS Java, so you should plan for the required downtime while the AS Java restarts.
Procedure
...
1. Import the WAR file of the default logon user interface application into the SAP NetWeaver Developer Studio.
To import the WAR file, choose File ® Import and navigate to the default logon UI application under the following path:
<ASJava_Installation>/j2ee/cluster/apps/sap.com/com.sap.security.core.logon/servlet_jsp/logon_ui_resources/sap.com~tc~sec~ume~logon~ui.war
To avoid inconsistencies in class references, add the class folder of the logon logic application to the libraries of the Java build path of the imported logon UI application.
You can find the class folder of the default logon logic application under the following path:
<ASJava_Installation>/j2ee/cluster/apps/sap.com/com.sap.security.core.logon/servlet_jsp/logon_app/root/WEB-INF/classes
2. Change the content of the imported WAR file as needed.
3. Create a new EAR Application Project project and include the module of the default logon UI application.
a. To start the EAR Application Project wizard, choose File ® New ® Project, and select Enterprise Application Project from the J2EE folder.
b. Add the module of the default logon UI application sap.com~tc~sec~ume~logon~ui.war to the project.
4. In the EAR, view the General tab of the file <project_name>/EARContent/META-INF/application-j2ee-engine.xml.
a. Enter a provider name for your application.
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>
b. Choose References and choose with the quick info text Add element.
c. 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 |
5. In the EAR, edit the file <project_name>/EARContent/META-INF/application.xml, and define the URL alias and for your custom logon UI.
<?xml version="1.0" encoding="UTF-8"?> |
6. Deploy the application.
7. Change the user management engine (UME) property ume.logon.application.ui_resources_alias to the URL alias of the new application.
ume.logon.application.ui_resources_alias=/custom_logon
For more information about editing UME properties, see Editing UME Properties.
8. Restart the AS Java.
Example
The following is an example of the file application-j2ee-engine.xml with a hard reference to the default logon application and example.com as the provider name.
· <?xml version="1.0" encoding="UTF-8"?> |
.
相关推荐
netweaver7.3企业门户介绍,全面的介绍了netweaver7.3的新特性
SAP NetWeaver 7.3 安装向导
SAP Netweaver 7.3 EP installation(SQL Windows)
SAP NetWeaver 7.0 SR3 - Installation Documentation.pdf
NETWEAVER-CAF-RFC完整的NETWEAVER在CAF下调用R3 BAPI的过程
Solution in Detail - SAP NetWeaver Single Sign-On
SAP企业服务架构 Sap NetWeaver集成应用平台 SAP NetWeaver助力SAP应用
SAP NetWeaver Process Integration - Demo Example Configuration 标准配置过程, 描述了SAP NETWEAVER 中利用XI 在旅行社、汉莎航空、美国航空、美国联合航空之间的数据传递过程。
mySAP SAPTEC - SAP NetWeaver - Fundamentals of the Application Platform (2003-Q2 )
win环境下netweaver7.3 for portal sqlserver安装手册
SAPTEC - 2003-Q2 - A4 - SAP NetWeaver - Fundamentals of the Application Platform
SAP-NetWeaver-BPM技术文档.doc
SAP NetWeaver 是基于专业标准的 集成化应用平台,能够大幅度降低系统整 合的复杂性。其组件包括门户、应用服务 器、商务智能解决方案以及系统整合和数 据整合技术 SAP NetWeaver帮助企业跨越技术 和机构组织的界限...
SAPNetWeaver-快速向导.pdf
ERP信息化专业资料:SAP专业学习资料SAPNW_-_2005-Q4_-_A4_-_SAP_NetWeaver_-_Overview.pdf
SAPNetWeaver-快速向导.docx
SAP NetWeaver开发者指南 中文版 安全编程--ASAP
SAP NetWeaver RFC SDK 英文手册