on 2022 Nov 14 9:55 AM
Hi
I need to override the login JSP page to add a link in the Login Page.
The link is used to Login with SSO. Is there way we can override the login.jsp for HAC.
I have create a new extension of yhacext . I am not able to override the login jsp.
Can you please provide the guidance?
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hello yashwanth.kumar.k ,
If you want to customize the URL of "Login with Single Sign On" in HAC login page; you can do that using the configuration property below (add it to local.properties or CCV2 appropriate configuration file)
hac.login.singlesignon.redirectWhen this property is set, then "Login with Single Sign On" will appear automatically in your HAC login page as shown in the below screenshot. For other SSO related configuration properties you may refer to samlsinglesignon/project.properties

If you still want to customize HAC login.jsp, as mentioned in other comments, you can do that in the customize folder. You need to make sure the folder structure is exactly the same. For HAC login.jsp page case it must be:
customize/platform/ext/hac/web/webroot/WEB-INF/jsp/login.jsp
I hope that will help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As far as i know, yhacext Extension Template is used to extend functionalities to SAP Commerce Administration Console, there is no way to directly overwrite login.jsp or index.jsp by using this template.
Normally, if the customization is only to replace login.jsp or index.jsp, you can directly go to hac to overwrite the default login.jsp or index.jsp.
Hopefully, it can help you a little.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the past I used the customize.
Stefania
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.