cancel
Showing results for 
Search instead for 
Did you mean: 

Authetification in JSP

Former Member
0 Kudos

Hello,

Till now, I created WD Java apps, but right now I need to create my first .JSP page into my NWDS 7.3... I hope you can help me!

My request:

- An end-user will receive an email with a .JSP link within. This .JSP link needs to have some parameters...

https://<host>:<port>/.../file.jsp?p1=val1&p2=val2

- I need to create this .JSP file into my NWDS 7.3 IDE

- When the user click over this link, some actions will be done in R/3 backend (¿JCO?) and a popup must to be showed to the end-user with a "OK!" text in it.

Questions:

- When the end-user click over this link, some kind of authentification will be done? I think it will... how can I avoid it? I think it will be necessary to avoid this authetification... the end-user clicks over the link and the popup appears, that's all!

- Any guide to know how to create a JSP file that modify some values in R/3? It will work through JCOs?

Thanks!!!

Miguel Angel.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thanks for all guys! Finally we did it through WD Java app and SAP Authetication = false... but for the next time I'll need to develop a JSP, I'll read again your inputs and helps!

Answers (2)

Answers (2)

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

this was about ten years ago when I did this last time. The point is that authentication with JSP / Servlet may be done declarative. Then it is declared in the web.xml.

If you search in this direction, you should get it.

Regards,

Benny

Sreejith1
Contributor
0 Kudos

Hi You can use the proxy classes to call R/3 FM's.

http://www.saptechnical.com/Tutorials/XI/Proxy/JavaABAP2.htm

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50cbfadf-9ef5-2910-e28a-c2dc39176...

If you go through both the documents you will get better idea.

Hope this will help your requirements.

Regards,

Ram

Former Member
0 Kudos

Hello!

Any comments about the authentication?

When the user click over the .jsp link, we need to avoid any kind of authentication........ the end-user clicks over the link and the popup appears, that's all!

Thanks!

Miguel Angel.

Sreejith1
Contributor
0 Kudos

Hi Miguel Angel,

If you are creating a JSP, it will not ask any authentication.Your JSP is in java server but not under role based hierarchy.When you are creating iviews of that, you are giving some kind of authentication.

When you are developing an application in WD, and if you have not set authentication to true,

it will not authenticate that application.

Regards,

Ram