Through this blog putting a small effort to put detail information available at one place to meet subjected goal and reduce your search time.
Use:
Change the SAP standard authentication error messages text on sap portal logon page (including initial password change page) with custom /more generic messages as per client requirement.
E.g. in this blog we will be changing following sap logon page error messages with our custom error messages.
Solution
SAP error messages for logon page are stored in LogonMessages.properties file within sap.com~tc~je~security~impl.jar.
Ø Get sap.com~tc~je~security~impl.jar file from following server location.
\usr\sap\<sid>\<instid>\j2ee\cluster\bin\services\security\lib\private
Ø Take a backup of original jar before making modifications to it.
Ø Change the extension of jar from .jar to .zip. Unzip the content and navigate to
com\sap\engine\services\security\exceptions\
Ø If you want to change the English text, edit both LogonMessages_EN.properties and LogonMessages.properties file.Change Following key in both properties file as below
Ø zip the content back with same name sap.com~tc~je~security~impl and change the extension to .jar .Make sure not to corrupt the jar.
Approach 1:
Ø Replace the original jar on server with this jar
Ø Restart your server
Approach 2:
You can package the modified jar into security.sda and deploy the modified security.sda directly through the admin tools. Deployment of sceurity.sda will cause the server to restart.
That’s it …You are done. Now your new changes will reflect.
Note:
This jar is part of security.sda which in turn is part of SERVERCORExx_x.sca. These changes will get overwritten by a patch/update of this sca .You need to repeat above steps to make your custom changes available again in the system.
Below are the screen shots for changes done by me
Scenario 1: User authentication failed
Scenario 2: Password change failed
Scenario 3: New password and password confirmation are not identical
Scenario 4: Password confirmation missing
Scenario 5: New password missing
Scenario 6: Password missing
Scenario 7: Authentication failed. Password locked
Scenario 8: User account locked
Scenario 9: User is not currently valid
Regards,
Madhvika
Please do correct me if I have mentioned anything wrong.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
8 | |
7 | |
7 | |
5 | |
4 | |
4 | |
4 | |
3 | |
3 |