cancel
Showing results for 
Search instead for 
Did you mean: 

Login Page for Java Application in Portal

04-22-2009 10:28 PM
861 views 5 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hello,

We have deployed a java application and want enabled authetication through EP Portal. Using the Visual Admin -> Security Provider, we can add BasicAutheticationModule to this application but when trying to access it pop-up a window for user-id/password.

How we can acheive the same login page authentication for this Java application, the way we have it when we access /irj/portal.

regards,

Jaish

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

The portal uses the ticket logonstack by default. Can you use this?

Former Member
0 Likes

Hi,

I am using the ticket stack only. But it pops-up a window for userid/password when trying to access this java application. Rather than that we wanted to route it to logon page.

regards,

Jaish

Former Member
0 Likes

The help is certainly confusing! http://help.sap.com/saphelp_nw70ehp1/helpdata/en/8f/ae29411ab3db2be10000000a1550b0/frameset.htm tells us that the basic authentication is used for basic and form based authentication. I'm not sure how you force it to use a form instead of the popup. You could try and wrap your J2ee app in a portal component and then launch the app as a portal component. It's a hack.

Former Member
0 Likes

Thanks.

I changed it FORM from BASIC but still getting the pop-up for user id/password. Not sure what else I can try so that I get the same login page which I get when access /irj/portal

regards,

Jaish

Former Member
0 Likes

I'm not sure either, but as I mentioned, a simple portal component can act as a wrapper.


public class Default extends AbstractPortalComponent
{
    public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
    {			
    response.write("< script>");
    response.write("window.location.href='https://answers.sap.com/myapp'");
    response.write("< /script>");
};
}

Answers (0)