on 10-12-2006 11:26 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can make the changes to the login screen using NWDS..
and use the customized login screen instead of the default one..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.