10.07.2015 Views

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1. In the head section of the page, replace the three appearances of with the host name of the Sametime server. For example,if the host address of the Sametime server is sametime.acme.com, the headsection of the page should contain what is shown in Example 9-19.Example 9-19 Sametime server host name in head sectionsetSTLinksURL("http://sametime.acme.com/sametime/stlinks");2. In order for the links to show online users, change the Sametime linkparameters Name1 through Name5 to the names of people who areregistered in your directory. For example, replace:writeSametimeLink("Name1", "Name1", true, "offlineLink:yes")with:writeSametimeLink("Carl Tyler", "Carl Tyler", true, "offlineLink:yes")To ensure the names are unique, you can use the canonical name format.For example:writeSametimeLink("Carl Tyler/US/<strong>Instant</strong>", “Carl Tyler", true,"offlineLink:yes")3. Fill in the e-mail address mapping. There are five mapping assignments forName1 through Name5. Replace the names with the names that you used inthe calls to writeSametimeLink. Replace the e-mail addresses with thecorresponding e-mail addresses. For example, replace:emailAddress["Name1"] = "email1";with:emailAddress["Carl Tyler"] = "ctyler@instant-tech.com”;4. Replace the login name and password in the writeSTLinksApplet call:writeSTLinksApplet("", "", false)with the login name and password of a registered user. Note that althoughthis sample uses password authentication, most <strong>Web</strong> applications enabledwith Sametime Links use token authentication to achieve single sign-on andbetter security. See the Sametime Links 3.1 Toolkit Developer's Guide andReference for instructions on how to use token authentication.5. Put the page on a <strong>Web</strong> server and open it in a browser.270 <strong>Lotus</strong> <strong>Instant</strong> <strong>Messaging</strong>/<strong>Web</strong> <strong>Conferencing</strong> (Sametime): Building Sametime-Enabled Applications

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

Saved successfully!

Ooh no, something went wrong!