cancel
Showing results for 
Search instead for 
Did you mean: 

Form based authentication

Former Member
0 Kudos

hi ,

Can aneone provide me with the step by step document to achieve form based authentication for my webdynpro applications.

i searched alot but couldnt find a detailed one .

thanks in advance

regards

Madhvika

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi all,

Finally i got it

First u have to create a J2EE application with form authentication enabled which inturn call the webdynpro application once user login successfully

For <b>Form Authentication</b>

All configuration are same as that of basic authentication except changes made to the web.xml file .

you need to create two html or JSP pages in your web project. One for login page and one for error page

<b>Code for login page (LoginForm.html)</b>

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>Login Test: Login Form</title>

</head>

<h1>Login Form</h1>

Welcome to the login page. You will have to authenticate to get access to the secure area:

<form method="POST" action="j_security_check">

Username: <input type="text" name="j_username"><br />

Password: <input type="password" name="j_password"><br />

<br />

<input type="submit" value="Login">

<input type="reset" value="Reset">

</form>

</html>

<b>Code for Login Error page (LoginError.html)</b>

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>Login Test: Error logging in</title>

</head>

<body bgcolor="#FFFFFF">

<h1>Error Logging In</h1>

I am sorry, you must have put in the wrong username/password.

<br />

<a href="LoginForm.html">Click here to try again</a>

</body>

</html>

In the General tab of the web.xml file check the “Login Configuration” checkbox and select FORM from the drop-down for “Authorization method” field.

And in “Form login configuration “browse to login page and error page.

Rest all steps are same as that of Basic authentication.

Regards

Madhvika

Former Member
0 Kudos

You can make the changes to the login screen using NWDS..

and use the customized login screen instead of the default one..

Former Member
0 Kudos

Madhivka,

There is no free-style form based authentication in WD applications. Typically, UME (User Management Engine) logon screen is used to authenticate user to WD and any other J2EE Web application running on SAP WebAS.

Probably, what you are looking for is UME logon screen customization. So try to search forums with query <b>logon AND screen AND UME</b>, date range <b>all</b>

Valery Silaev

SaM Solutions

http://www.sam-solutions.net

Former Member
0 Kudos

Thanks VS.

I want to replace UME logon screen with a simple jsp page .

This page will contain two input field (for user id and password) and button (for logon) which will authenticate the entered user id and password with UME user details and allow the user to login to my application .

can aneone help me in this !!!!!!!

regards

Madhvika