12.02.2013 Views

Community Building with ChatSpace Server Manual

Community Building with ChatSpace Server Manual

Community Building with ChatSpace Server Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

on the <strong>ChatSpace</strong> server. If the main site and the <strong>ChatSpace</strong> site are on the<br />

same system this link is not a problem.<br />

If the sites are on different systems, you can create a hypertext link or a form<br />

which points to an .ASP page on the <strong>ChatSpace</strong> server. That server can<br />

create the Single Sign-on Pass Ticket Authentication link or redirect.<br />

The hypertext link, or the form, should contain all the login information<br />

needed to do Single Sign-on Pass Ticket Authentication, including user name,<br />

password, email, first and last name. Only the user name is mandatory.<br />

For example the URL.: http://localhost/wb/<br />

localPassticketLogin.asp?<strong>ChatSpace</strong>Login=mike<br />

works the example below, localPassticketLogin.asp.<br />

<br />

The ASP page on the <strong>ChatSpace</strong> server needs to go in the same directory as<br />

the rest of your <strong>ChatSpace</strong> ASP pages. Locating the ASP page in that<br />

directory allows it to create session objects that the main <strong>ChatSpace</strong> ASP<br />

pages can read.<br />

This ASP page needs to create a CSSoap.Tools object. Instead of accessing<br />

this object via SOAP, it accesses it directly. This ASP page creates the pass<br />

ticket then does a redirect to the main or default.asp.<br />

See the localPassticketLogin.asp example above.<br />

Security Restrictions<br />

A note on security: if you use the example localPassticketLogin.asp or a<br />

similar page inside a larger web site, you must restrict that page's access to<br />

only to the people who are logged into your site.<br />

112

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!