on 11-26-2008 7:11 AM
Hi All,
I need to develop a webdynpro java application for login welcome screen.
How can i create this application? how to autheticate the users while logging into the application.
Regards
Sireesha.
Hi,
Creating a Login page is simple enough in Dynpro Java and JSP.
For Dnypro: Create a View with the required Login UI Elements. Then on the click of the button (Submit) - please call a method that used the code from the second post in this Thread. That will allow you to get the current Portal user.
To use the code you will have to add the security jars for Portal to your Web dynpro Project.
For JSP: Create a Web Module project and then create the page in a way similar to the above. However you will need to write your own validation code in a JAvascript or Java method by taking the password and verifying it against the database.
Hope that helps.
Thanks.
p256960
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do you want to have your login page in WD itself because you can have jsp page and use form based authentication for your application.
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use the below code
IWDClientUser clientUser = WDClientUser.getCurrentUser();*
*clientUser.getClientUserID();//For User ID*
*clientUser.getFirstName() //For First Name*
*clientUser.getLastName()//For LastName*
*clientUser.getTitle()//For Title
Regards
Padma N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Put this code in view - wdinit
IWDClientUser user = WDClientUser.getLoggedInClientUser();
IUser epuser = user.getSAPUser();
portalUser = epuser.getUniqueName();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.