on 04-26-2006 10:30 AM
Hi all,
I have developed a simple java application that has user-id & password textboxes along with a submit button.(login.jsp)
this is deployed as an iView in the server.
When the submit button is clicked,it navigates 2 another JSP page(welcome.jsp) that displays the user's name if the id and passowrd matches with that present in the backend DB.
I want 2 display this welcome page directly without prompting for a logon frm the user.
How can i do this with AppIntegrator?I referd the following <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=95024">thread</a>I cant find the system uri,in the source code of the application!
How should i proceed further?
Thanks in advance.
anticipating replies
SwarnaDeepika
I think i can't get the point: If the user should NOT enter there userid / password, how should the application identify him/her?
you are thinking of a SingleSignOn scenario, where the users don't have to enter their credentials, but somewhere this information must be read. For example SPNego / Kerberos could be a solution. But it won't work with your self written logon-application.
or, if the user has already got a SAPLogonTicket, you can use this to extract his userid. then you should implement a SAPLogonTicket verification in your application.
kr, achim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Achim,
Did you go through the thread which i've given in my question?its exactly the same scenario as that of mine!
That person has used AppIntegrator to tackle the issue!
I wondered how could this be possible!
So are you telling that its <b>not</b> possible to bypass the login.jsp and go directly to the welcome.jsp by doing user-mappping?
If i can use logontickets,can u please give the steps to be followed for the same?
thanks
swarna
Swarna,
indeed i didn't read the whole link (because it refers to other blogs and threads...)
now i know, what you are trying to do
the appintegrator takes the usermapping-infos and puts them as request-parameters to the page, the logon.jsp would call. maybe the inputfield names don't match with the request parameters?
<System.uri> is the used path that is behind the http://<host>:<port>/
kr, achim
hi,
Thanks for the Quick reply.
there is where the problem lies!
When i run the jspdyn page & view its source code,the inputfield's name/id is not a constant one.Each time i run it, it shows a different value!
So wat should i give in the <i>URL template for UserMapping</i>parameter of the iView?(i.e. the <u>username</u>=<MappedUser>&<u>password</u>=<MappedPassword> values?)
and should <b>irj/servlet/prt/portal/prtroot/loginpageProject.loginpage</b>be my system.uri?
Awaiting reply
Regards
swarna
Hi Javed,
I have already gone thro those documents.
they only explain the SSO to internet sites but i require the one for logging in to my java application.
i have the following doubts---
1.can i use appintegrator in this situation?
2.if yes,then wat should i give as the system uri,login andpassword parameters?
Regards
SwarnaDeepika
Message was edited by: SwarnaDeepika
Swarna,
For this to work,
Firstly the system would have to be setup according to
The weblog is "Integrating your Web Front-ends into the SAP Enterprise Portal using the Application Integrator" by Markus Pfeffer
Secondly, each user would have to set thier own user and password, for the system in consideration, in their personalization settings.
Sumit.
Hi Swarna,
Kindly try these steps..I have accumulated the points as per the discussions on mail.
Just try all these steps..
1) I hope you have created a J2EE application which has its own data source (i.e: tables in the Data Dictionary which has enteries for user and Password).
2) Create a HTTP system for usermapping.
3) After that perform all the steps as mentioned in the WebLog for the <b>App integrator</b>. (i.e: do the user mapping to the system by providing the User name and password.)
4) In the J2EE Application write the code that If that username which you got from the URL and the userName in your data source is same then show him the main page directly, else show him the Login Page.
5) Create a URL View in which you can put your application. Set the <b>admin,u</b>ser property from the User Management.
I hope all these will solve your problem!! Kinldy check this!!
Regards
Pravesh
Hi pravesh,
Thanks a lott for summarizing all the steps
I can understand all the stpes except for the fourth one---my java code is such that if the username n password entered in the textbox matches with the usename/paswd combination that exists in the dictionary table ...a welcome message is shown...or else it displays 'login failed'!!!
i have no clue as to how will i get the userid n passwd from the URL!is there any weblog or documents based on this? can you provide me the same?
Regards
SwarnaDeepika
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.