|
Home > Archive > WebSphere Portal Server > February 2004 > Login/Log Out redirects for Portal 5.0.1
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Login/Log Out redirects for Portal 5.0.1
|
|
| ssunter 2004-02-13, 7:33 am |
| Hi,
Can any one help me in the following
1. How do I invoke a command (the LogoutUserAuth to be more specific) from another command.
2. Need to know the format in which to specify the redirect.login.url in ConfigService.properties file.
Can someone please help me with this ?
Thanks in advance.
| |
| nithy 2004-02-18, 12:33 am |
| Hi, I am also looking for this, please let me know if you have found this
Regards
Nithyananthan
| |
| ssunter 2004-02-18, 2:33 am |
| Hi,
To invoke the Logout command from another command file - call Command.execute(RunData, "lo");
The config file LoaderService.properties maps the LogoutUserAuth class to command.mapping.lo - so i had initially tried to execute the command by trying Command.execute(RunData,"command.mapping.lo"); But if you take a look at the core WPS classes the comm
and.mapping has been appended to the string that you pass to the execute method.
Also remember to change the command.path variable in the LoaderService.properties file to include the path where your LogoutUserAuth class is.
For Example:
command.path = com.abc.portal.login.commands,com.ibm.wps.engine.commands.
Hope this helps.
|
|
|
|
|