on 06-03-2014 4:21 PM
HI experts ,
i have a Requirement , like in sap EP we can use
UMFactory.getLogonAuthenticator().logout(httpRequest,httpResponse);
this code to logoff the user , now in the webdynpro how to logoff in the above way , like im using
WDClientUser.forceLogoffClientUser(https://host:50001/irj/portal);
in one of my webdynpro application say WelcomePage to logoff the user based on some conditions.
using UMFactory.getLogonAuthenticator() at the portal component..... we can logoff the user for all webdynpro applications .
but WDClientUser.force....... will logoff the webdynpro application alone where it was used.
Regards
Govardan Raj S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi pankarj,
Thanks for the reply , i want to log off the user from webdynpro application i.e is it possible to log off vai webdynpro code like
WDClientUser.forceLogoffClientUser();...........
etc and not from the portal.
The above link it suggested refers to log off procedure at portal component .
Regards
Govardan Raj S
log off for all application? log off for one application?
how you define that? how you know that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Junwu,
I have 5 webdynpro applications , for each application we have seperate iview, portal page and portal role.
so welcome is one role having welcome page ---> displaying pending sales order requests etc..
Sales Order is another role ---> where we can create a sales order
etc .......
now assume based on a particular condition i need to log off the user, so im using
WDClientUser.forceLogoffClientUser(https://host:50001/irj/portal); in welcome page applicaiton , when this code is executed , only welcome page application displays that webynpro page got expired if i refresh the page or reoload also it doesnt open, but when i click sales order Role, or any other role , still those applications are working and i can fetch data and update data to the r/3 via rfc,
ideally when i used wdclientuser.forcelogoffclientuser(); at welcome application , all 5 different webdynpro applications in all the roles should get expired..
but it is happening only in welcome page.
Regards
Govardan Raj
No i dont have any single sign on ,
i have a single utils dc used in all these applications , in wdDoInit() of all 5 different webdynpro dcs im calling a method in the utils dc ,
where a condtion is checked and if that condition is false then on executing
WDClientUser.forceLogoffClientUser(https://host:50001/irj/portal); all applications are give dump.
if that condition is true all applications are working normal.
But actually i want to log off the user completely from the portal.
I mean on using above method , my masth head ,roles, all are visible only webdynprp part(screen) will shows dump.
is it possible to log off the user completely
Regards
Govardan
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.