Changing Logon Page on Netweaver 7.3

As you know Netweaver 7.3 is released on 30 May 2011.



First get war file of logon application.

Its' location is: <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

(In 7.3 version there is no more PAR files!)

 



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 file.
This project depends on tc~sec~ume~logon~logic_api.jar file.

Also get this file from server: <drive>:\\usr\\sap\\<SID>\\J00\\j2ee\\cluster\\apps\\sap.com\\com.sap.security.core.logon\\servlet_jsp\\logon_app\\root\\WEB-INF\\lib




Edit project references as seen on image:



 

Change the content of the imported WAR file as needed.
Create a new EAR and include the module of the logon application.
Open the application-j2ee-engine.xml file.
Add provider name for application.
If you enter nwturk.com as the provider name,
the application deploys to the following path: <ASJava_Installation>/j2ee/cluster/apps/nwturk.com/<project_name>
Now add/change URL alias for your application.
If application.xml does not exist you can it using context menu of Deployment Descriptor in the project.
 


Deploy the application.
Your application is ready to use.
But you must modify UME properties.
You can modify UME properties from Config Tool, but Netweaver 7.3 provides you a web based tool for editing UME properties.
 Type http://<host>:port/nwa your browsers adress bar
follow this menu:
Configuration->Authentication->Properties.

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

 from "/logon_ui_resources"   to    "/custom_logon". 

That's all! Do not forget to restart your Java AS!




No comments:

Post a Comment