Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Bypassing TS login page
mpal
Hi guyz,
I need to have a custom html page residing on the webserver that logs into Teamsite bypassing the Teamsite login page. i.e it should post all parameters to teamsite directly and not display the Teamsite login page. has anyone done this kinda thing before ?? Im using TS 6.1 .
Find more posts tagged with
Comments
coschtl
Hi mpal,
here is the (perl) solution I used some time ago for a similar problem.
Please note that the client from which you load your url has to be able to handle cookies (a webbrowser or the Perl module LWP::UserAgent are fine).
my pageString= "$server";
$pageString = "iw-cc/command/iw.base.show_done_page?"; --> the (propably unsupported) url you need to call
$pageString .= "iw_domain=iwenc%3A".(iw_urlencode($domain,11)); --> your domain
$pageString .= "&iw_user=iwenc%3A".(iw_urlencode($user,11)); --> the username
$pageString .= "&iw_role=iwenc%3A".(iw_urlencode($role,11)); --> the role you want to use
$pageString .= "&iw_password=iwenc%3A".(iw_urlencode($password,11)); --> the users password
$pageString .= "&_iw_which_ui=iwenc%3A"."ccpro"; --> the gui you want to use (ccpro, ccstd or webdeskpro)
$pageString .= "&done_page=$absolute_path_to_file"; --> the file you want to load
$pageString .= "done_page"; --> don't ask me about that ;-)
Now $pageString represents the String you need for loading the URL.
The iw_urlencode-function can be found at /iw-cc/base/util/login_parameter_encoding.js (and easily translated to other languages, if needed...)
Hope this helps,
regards,
Stephan