cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring Login Module to J2EE Engine

Former Member
0 Kudos

Hi,

I have to give authentication to my welcome JSP page using JAAS. I have created Login Module in NetWeaver Developer Studio. Now I want Configue the created Login Module to J2EE Engine.

I'm following the following Procedure - Link.

http://help.sap.com/saphelp_erp2005/helpdata/en/b9/9482887ddb3e47bd1a738c3e900195/frameset.htm

Integrating Security Functions>Authentication for Web Applications Users on the J2EE Engine>Using Login Modules to Protect Web Applications-->Create and Configure a Login Module

I did not fin the paths which the above link has given. So, Please , Can any one show the step by step prcdeure like how to configure to J2EE Engine? Please Do the Need fulllllll.

Thanks nad Regards

Praveen.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Venkata Praveen,

I have my custom login module working. So, when I try to access a restricted resource in my web application, I am taken to a login page and once authenticated by my login module I can access my protected page.

But what I couldn't achieve is Open a browser -> Go to Login Page <b>directly</b> (form with fields for username/pwd and action to a servlet) -> After hitting Login button on the form, I am taken to a servlet which does "LoginContext lc = new LoginContext("MyLogin..."); lc.login();". But it doesn't work as I am not passing a CallbackHandler and I get access denied.

Since your question was on creating a login jsp and calling your custom login module, I am wondering if you could achieve that functionality.

Would be nice if you can share your jsp content.

Thanks,

Kiran

Former Member
0 Kudos

Did you look at this <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/07/0ce13d8ee4535ee10000000a114084/frameset.htm">link</a> ?