cancel
Showing results for 
Search instead for 
Did you mean: 

How to Change LogonPage.jsp for automatic login

Former Member
0 Kudos

Hi All,

I need to login automatically using tc~sec~ume~logon~ui.war. this file index page is LogonPage.jsp. I need to pass my username and password directly with out Submit Form. then i can able to login with out asking username Crdentials. How i will give username and password directly in Logonpage.jsp instead of Login Form.

I have attached the LogonPage.jsp code. Can you please help to cutomize the code for Automatic Login

Thanks and Regrds,

Manoj

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Manoj,

You can pass the credentials on the URL like this:

http://<server>:<portnumber>/irj/portal?j_user=<UserID>&j_password=<Password>

You can read more about this in: http://scn.sap.com/thread/3195093

Best Regards,

Dani

Former Member
0 Kudos

Hi Dani,

Thanks lot for your response i have done that. it is working fine but i dodn't wan't to show my username and password in url how we will hide that. Could you please tell your sugesstion for this

http://<server>:<portnumber>/irj/portal?j_user=<UserID>&j_password=<Password>

Thanks and Regrds,

Manoj

Former Member
0 Kudos

Hi Dani,

I can implemented without giving password  using userID itself i can able to login now usiing below link

http://help.sap.com/saphelp_nw73/helpdata/en/48/99a22e7f020e27e10000000a421937/frameset.htm

Here i have used one java class for implement that (MyLoginModuleClass.java). it is working fine.

Now how we will pass the username using that code. Then i can able to login without give user crdentials.

Thanks and Regrds,
manoj

saar_dagan
Employee
Employee
0 Kudos

Hi Manoj,

please note that using Single sign on is recommended in order to maintain security.

if you pass the user/pass using your code make sure that using http watch doesn't record your credentials.

Best regards,

Saar