cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing the login par

Former Member
0 Kudos

Hi,

I have been customizing the login par.

I am successful in printing the action for the umLogonPage.jsp

I printed the

out.println(inPortal);

out.println(logonBean.getLogonURL(proxy, null));

The undelying code was

FORM name="logonForm" method="post" action==inPortal?"":logonBean.getLogonURL(proxy, null)

The output is:

true /irj/servlet/prt/portal/prttarget/uidpwlogon/prteventname/undefined/prtroot/com.sap.portal.navigation.portallauncher.default?redirectURL=%2Firj%2Fportal

Now, my understanding tells that portallauncher.class is being called.

Now, I want to know which of the methods in this class are being called:

public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)

private void addMessageBarError(IPortalComponentRequest request, IPortalComponentResponse response, Document myDocument)

public static String getStackTrace(Throwable throwable)

private void addLogoffLink(IPortalComponentRequest request, IPortalComponentResponse response, Document myDocument)

private void checkPortalPlaceQuickLink(IPortalComponentRequest request)

private void clearPortalPlace(IPortalComponentRequest request)

protected void doOnNodeReady(IPortalComponentRequest request, IEvent event)

etc etc

If I write

System.out.println("In this methoname");

in all this methods where would it print.

It would certainly print in some log files.

Regards

Kaushik Banerjee

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kaushik,

No body has done it before.

So, no body can answer your question.

My suggestion is:

1> Use Decompiler and change the PortalLauncher.class.

Means change it to .jad file and the .java file.

Then, compile this .java to .class file.

Rebundle the file as jar and then deploy this jar.

I don't know how to deploy the com.sap.portal.navigation.portallauncher_core.jar

Then, you need bundle this jar into a SDA and then into a SCA (EPBC.SCA).

Deploy your custom EPBC.SCA and let me know.

Anything goes wrong SAP would not support it.

Regards

Neha Singh

Former Member
0 Kudos

Hi Neha,

EP can be redirected to any JSP.

But for that we need to modify the SAPMLogonLogic.java in umelogonbase.jar.

The code is:

if(longUid=="yourcustomid")

{

RequestDispatcher dispatcher = getRequestDispatcher("Test.jsp");

dispatcher.forward( req, resp );

}

Regards

Kaushik Banerjee

Former Member
0 Kudos

Hi Experts,

I need more answers.

Regards

Kaushik Banerjee

Former Member
0 Kudos

No body done it before.

Regards

Neha

p330068
Active Contributor
0 Kudos

Hi Kaushik,

it is better to create your custom Jar file than modifying SAP Standard Jar file.

Hope it helps

Regards

Arun

Former Member
0 Kudos

Hi Arun,

In my case it need to be done.

Regards

Kaushik Banerjee

Answers (0)