Skip to Content
author's profile photo Former Member
Former Member

Form based authentication

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2006 at 10:39 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2006 at 01:01 PM

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

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2006 at 09:44 AM

    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>

    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>

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.