This applies to the Mail Channel only. If the Mail channel is connected to a more secure HTTP- enabled messaging server instead of the basic HTTP-enabled messaging server, you need to make some security-related adjustments for the Mail channel to work as intended. For more information, see Configuring the Mail Provider to Work with an HTTPS Enabled Sun Java System Messaging Server.
Sun Java System Instant Messengeris installed during the installation of Sun Java System Portal Server if the Enable IM in Sun Java System Portal Server option is selected.
While the Instant Messaging Portal channel is designed to work right out of the box, other configuration might be necessary depending upon your site’s needs. Therefore, after following the steps in Instant Messaging Channel see Additional Configuration for the Instant Messaging Channel to determine if any of that section’s subsections apply to your installation.
The Instant Messaging channel is based on a Sun Java System Portal Server content provider called IMProvider. The IMProvider is an extension of the JSPProvider in the Portal Server. As an extension of the JSPProvider, IMProvider uses the JSP files to generate the content page and the edit page for the Instant Messaging channel. The JSP files are also used to generate the pages used to launch the Instant Messenger. The IMProvider also defines an instant messaging-specific tag library and this tag library is used by the JSP files. The JSP files and the tag library use the channel properties that are defined by the IMProvider.
For more information on Sun Java SystemInstant Messenger, see Instant Messaging Administrator’s Guide.
Administrators and end users can access information about Sun Java System Instant Messengerby visiting the URL used in the codebase property for the Instant Messaging Channel configuration.
From an Internet browser, log into the Sun Java System Portal Server administration console at http://hostname:port /psconsole, for example http://psserver.company22.example.com:80/psconsole
Click the Identity Management tab to display the View drop down list in the navigation pane (the lower left frame).
Select Services in the View drop down list to display the list of configurable services.
Under the Sun Java System Portal Server Configuration heading, click the arrow next to Portal Desktop to bring up the Portal Desktop page in the data pane (the lower right frame).
Click the Manage Channels and Containers.
Scroll down to the Channels heading and click Edit Properties next to IMChannel to display the Instant Messenger service panel, which includes Basic Properties.
The following is a partial list of the properties displayed in the Edit IMChannel page with example values provided for each property.
Property |
Example Value |
---|---|
uid |
|
imapplet.example.com |
|
My Contacts |
|
imserver.example.com |
|
muxport |
49909 |
IM |
|
password |
(not applicable when idsvr is used for authmethod ) |
port |
49999 |
server |
imserver.example.com |
username |
(not applicable when idsvr is used for authmethod ) |
In the text field next to each property you want to input, enter the desired value. The following describes the properties and the type of information to enter as a value.
Scroll as needed and click Save.
The following sections provide information for additional configuration of the Instant Messaging Channel.
When a Sun Java System Portal Server instance serves multiple organizations but uses a single server additional steps must be taken.
Portal Server and Sun Java System Portal Server allow administrators to set up users with the same User ID (uid) across an organization. For example, an organization could have two suborganizations that each have an end user named enduser22. This creates a conflict when these two end users attempt to access their respective accounts through the channel.
To avoid this potential conflict, one set of JSP launch pages per organization must be created to contain a pass-in-the-parameter domain set to the value of the organization’s attribute sunPreferredDomain. The default launch pages are:
/etc/opt/SUNWportal/desktop/default/IMProvider/jnlpLaunch.jsp
/etc/opt/SUNWportal/desktop/default/IMProvider/pluginLaunch.jsp
By default Instant Messenger links are added to the Application channel, which provides the links to launch various applications, in the default organization. The Instant Messenger links allows end users to launch the Instant Messenger from the Application channel. You need to add Instant Messenger links manually if:
You want to add these links for another organization.
You do not have the sample portal installed.
You are using the AppProvider for another channel.
The contents for the Instant Messenger links are in the file PortalServer-base /SUNWportal/samples/InstantMessaging/dp-IMChannel.xml. The dp-IMChannel.xml file also contains the sample IMChannel .
Edit a copy of the file dp-IMChannel.xml to add the Instant Messenger links information to the display profile for another organization and install the file using the psadmin command as follows:
Change to the following directory:
PortalServer-base /SUNWportal/bin/
Create a copy of the dp-IMChannel.xml file as follows:.
cp dp-IMChannel.xml newfile.xml
To modify the Application channel, type the following psadmin command:
psadmin modify -u ADMIN_DN -w PASSPHRASE -d ORG_DN -m newfile.xml |
where:
ADMIN_DN - Replace with LDAP administrator DN. For example: psadmin
PASSPHRASE - Replace with the administrator’s password.
ORG_DN - Replace with the DN of the Organization where the links are to be added. For example: o=example.com, o=isp
The URL for launching the Instant Messenger using Java Plug-in is a reference to the Instant Messaging channel with a launch argument. For example:
/portal/dt?action=content&provider=IMChannel&launch=plugin&username=sam
The URL for launching the Instant Messenger applet with Java Web Start is:
/portal/imlaunch?channel=IMChannel&launch=jnlp&username=sam
Netlet facilitates secure communication between the Instant Messenger and the server.
The Instant Messaging channel automatically uses the secured mode when accessed through the Secure Remote Access gateway. The Instant Messaging channel does not use the secured mode when it is not accessed through the gateway.
To enable the secure mode, you need to add the Netlet Rule.
To add the Netlet Rule:
From an Internet browser, log into the Portal Server administration console at http://hostname:port /psconsole, for example http://psserver.company22.example.com:80/psconsole
Click the Identity Management tab to display the View drop down list in the navigation pane.
Select Services in the View drop down list to display the list of configurable services.
Scroll down to SRA Configuration and select Netlet.
Click the arrow icon beside Netlet. The Netlet Rules are displayed in the right panel.
Click Add under Netlet Rules.
Type IM in the Rule Name field.
The Netlet rule name can be different. You can configure the Instant Messaging channel to use a different Netlet rule.
Remove the default value in the URL field and leave the field blank.
Select the Download Applet check box and enter the following string:
$IM_DOWNLOAD_PORT:$IM_HOST:$IM_PORT
For example:
49916:company22.example.com:80
where:
IM_DOWNLOAD_PORT. The port on which Instant Messaging resources are downloaded using Netlet.
IM_HOST. The host name of the web container serving Instant Messenger. For example: company22.example.com
IM_PORT. The port number of the web container serving the Instant Messenger. For example, 80.
Select the default value in the Port-Host-Port List and click Remove.
In the Client Port field, Enter the local host port on which Netlet runs. For example: 49916.
Enter the Instant Messaging Multiplexor host name in the Target Host(s) field.
Enter the Instant Messaging Multiplexor port in the Target Port(s) field.
The values for Netlet Port, Instant Messaging Host, and Instant Messaging Port should be the same as the Instant Messaging service attributes mentioned in the Instant Messenger service panel as discussed in the final steps of Instant Messaging Channel.
Click Add to List.