on 11-08-2005 1:44 PM
Hi All.
I'm working in an application that has the sap.authencation property set to true, when the app is executed this launch the login screen standard of SAP Netweaver. I wanna know how can i implement a logout action that exits the app and places the app in the first page(standard login page)
I'm using this fragment of code:
String deployableObjectName = wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();
try {
WDDeployableObjectPart deployableObjectPart =
WDDeployableObject.getDeployableObjectPart( deployableObjectName, "<APPNAME>",
WDDeployableObjectPartType.APPLICATION);
String urlToTargetApp = WDURLGenerator.getApplicationURL(deployableObjectPart, new HashMap());
wdThis.wdGetPCTInterfaceViewController().wdFirePlugExit(urlToTargetApp);
} catch (WDURLException e) {
manager.reportException(e.getLocalizedMessage(), false);
} catch (WDDeploymentException ex) {
manager.reportException(ex.getLocalizedMessage(), false);
}
But doesnt work. It simulates the refresh button of the borwser.
I hope somebody can help me.
Thx and regards.
Gregory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.