cancel
Showing results for 
Search instead for 
Did you mean: 

Need help regarding portal login page redirection

Former Member
0 Kudos

hi,

I have a webdynpro application ported ti enterprise portal.

At some point of time, an exception in application or invaid authentication to backend should lead me to login page of the portal.

can any one helpme out how can i solve this problem

thanks in advance.

rgds,

dharmendra.v

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Dharmendra,

Try using <a href="https://media.sdn.sap.com/javadocs/NW04/SPS15/wd/com/sap/tc/webdynpro/services/sal/um/api/WDClientUser.html#forceLogoffClientUser(java.lang.String)">WdClientUser.forceLogoffClientUser(String URL)</a>(where URL = http://<SID>:<port>/irj/portal) when you get an exception.

Bala

Former Member
0 Kudos

Hi,

In my portal content i dont hav search iview..... There i have created one iview <b>KM search view</b> i have enterd the name and id of iview... and i opend the object for editing.... there i have choosen the property cateogry -- show all.... here the problem is... in my properties i am <b>NOT</b> getting the follwoing two options...

1.Search Component Set

2.Search Option Set....

why i am not getting these two options.... how to get these options in my properties....

please help me...

Thanks & Regards

Ravi Shankar B

Message was edited by: RaviShankar B

Former Member
0 Kudos

Hi,

I think the following code will log off the user and redirect to the login page.


WDClientUser.forceLogoffClientUser("http://<servername>.<domain>:<port>/irj/portal");

You can catch the exception and then write this code.

Regards,

Satyait.