on 05-04-2009 6:18 PM
Hi,
I want to develop a servlet that does some kind of login verification and then sets the current user if the verification routine passed correctly.
To do this , in the servlet I want to do something like
if (authorizedByRoutine)
setCurrentUser("ccddee");
else
throw Exception("Not authorized");
This could also be done in a filter.
I know you can set the run-as user (role) in the web.xml but can you do it programmaticaly ?
Thanks.
Hi,
In this document:
http://help.sap.com/saphelp_nwce711/helpdata/en/46/3079bf50094f09e10000000a114a6b/frameset.htm
it is described how to specify run-as programmatically.
Best regards,
Ekaterina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This is the related document for servlets:
http://help.sap.com/saphelp_nwce711/helpdata/en/46/7b7b98690c429ee10000000a1553f7/frameset.htm
Best regards,
Ekaterina
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.