�� 3 ��
Ϊ Communications Express ����ϵͳ
���½��� Communications Express ��ϵͳ�����ϵͳ������ϸ��Ϣ��
ϵͳ����
����˵�����������ݣ�
Ӳ��
�ڰ�װ Sun Java System Communications Express ֮ǰ������ȷ����������͵�Ӳ���Ͳ���ϵͳҪ��
Ҫ���� Sun Java System Communications Express������ʹ�������� JavaScript �������
�����
����ʹ�����³���4�鿴 Communications Express��
- Netscape Communicator 6.2.x��7
- Internet Explorer 5.x��6.0
- Mozilla 1.0 ���߰汾
ƽ̨
����ƽ̨֧�ֱ���Ʒ��
- Sparc �ϵ� Solaris 9 ������ Webserver 6.1 �� Application Server 7.0
- X86 �ϵ� Solaris 9 ������ Webserver 6.1 �� Application Server 7.0
Ҫ���������ܣ���ʹ���� 3-1 ���г��������ƽ̨��ϡ�
�� 3-1 �����ƽ̨����
�����
|
Sparc �ϵ� Solaris
|
x86 �ϵ� Solaris
|
x86 �ϵ� Linux
|
Windows XP
|
Windows 98
|
Netscape Communicator
|
6.2.x��7.x
|
6.2.x��7.x
|
6.2.x��7.x
|
6.2.x��7.x
|
6.2.x��7.x
|
Internet Explorer
|
NA
|
NA
|
NA
|
6.0, 5.5
|
6.0, 5.5
|
Mozilla
|
1.0
|
1.0
|
1.0
|
1.0
|
1.0
|
��������
�ڰ�װ Communications Express ֮ǰ���밲װ���³���
- Directory Server 5.2
- Calendar Sever 6.1
- Messaging Server 6.1
- Identity Server 6.2�������ʹ�õ��� Schema 2��
- Web Server 6.1 SP2 ���� JDK �汾 1.4.2
����
Application Server 7.0
�༭�����ļ�
Communication Express �������ļ��б������ò���
- uwcauth.properties �ļ���������֤���û�/����ʺ͵����¼�йصIJ���uwcauth.properties �ļ�λ�ڣ�<uwc-deployed-path>/WEB-INF/config/
- uwcconfig.properties �ļ������������ʼ���ͨѶ¼�йص����ò���uwcconfig.properties �ļ�λ�ڣ�<uwc-deployed-path>/WEB-INF/config/
- db_config.properties �ļ����ڶ���ͨѶ¼�洢������ϸ��Ϣ��Ĭ������£�Communications Express ����}�����͵� db_config.properties �ļ���
- ����ͨѶ¼�洢������ͨѶ¼�洢�����ļ�λ�� <uwc-deployed-path>/WEB-INF/config /ldappstore/db_config.properties �¡�
- ��˾ͨѶ¼�洢����˾ͨѶ¼�洢�����ļ�λ�� <uwc-deployed-path>/WEB-INF/ config /corp-dir/db_config.properties �¡�
���������ļ���Ϊ ASCII �ı��ļ�������ÿ�о����¸�ʽ������������ֵ��
<����>=<ֵ>
������ Communications Express ʱ�����ʼ����Щ����װ����ʹ���ı��༭��༭���ļ���
�༭�����ļ�
- �Ծ�����Ȩ���û���ݵ�¼��
- ת�� .properties �ļ����ڵ�Ŀ¼��
- ʹ���ı��༭��༭��Щ����
����Ϊ����Լ����
- �����õȺ� (=) �ָ����в��������ֵ�� �Ⱥ�ǰ������пո���Ʊ��
���磺
uwc-user-attr-sunUCDefaultApplication=calendar
- ÿ��ע���ж��Ը�̾�� (!) ��ͷ��
Ĭ������£�ijЩ���ò���ʹ�ø�̾��ע�͵�Ҫʹ����Щ���������ɾ���̾�ţ������ֵ�������裩��Ȼ�������� Web Sever ��ʹ��Щ������Ч��
- ������ Web Server �Ա��µ�����ֵ��Ч��
�����ʼ��������ͨѶ¼����
������±������������ʼ���ͨѶ¼���ò���
�йظ����ʼ��������ͨѶ¼���ò�����μ��� 4 �¡�ʵ�ֵ����¼����
�� uwcconfig.properties �� uwcauth.properties �ļ�������Ӧ�ó���Χ�ڵIJ���
�� 3-2 �� uwcconfig.properties ������Ӧ�ó���Χ�ڵIJ���
����
|
Ĭ��ֵ
|
����
|
uwc.defaultskin
|
uwc
|
ָ��Ҫ����Ӧ�ó����ȫ���������ơ�
|
uwc.gzipcompression
|
true
|
���� Web ҳ���ݵ� GZIP ѹ��
����ֵ����Ϊ true ������ Web ҳ���ݵ� GZIP ѹ��
|
�� 3-3 �� uwcauth.properties ������Ӧ�ó���Χ�ڵIJ���
����
|
Ĭ��ֵ
|
����
|
defaultdomain
|
|
ָ��û�����ʱ�����û���¼��Ĭ����
�����ù���������ֵ����� defaultdomain��
|
defaultlocal
|
en
|
ָ��Ӧ�ó���ʹ�õ�Ĭ�����Ի�����
|
virtualdomain.mode
|
|
ָ�� Communications Express �Ƿ���������ģʽ�����С�
�������Ϊ Calendar Server �������й���֧�֣������ô�ѡ�
�����ù���������ֵ����� virtualdomain.mode��
|
�� uwcconfig.properties �ļ��������ʼ����������
�� 3-4 �ʼ����������
����
|
Ĭ��ֵ
|
����
|
mail.deployed
|
|
ָ���Ƿ��� Messenger Express��������������ʱ�������ô˲���
������� Messenger Express��������������true����
|
webmail.host
|
|
ָ�������� Messenger Express �ļ����������
Messenger Express �������Ӧ���벿���� Web Server �ļ�������ƶ�Ӧ��
|
webmail.port
|
|
ָ�� Messenger Express HTTP Server ������Ķ˿ںš�
|
�� uwcauth.properties �ļ���Ϊ Sun Java System LDAP Schema �汾 1 ���� LDAP ��֤���������
�����֤ LDAP ���������û�/�� LDAP ��ͬ������Ա༭�� 3-5 ���ᵽ�IJ���
�� 3-5 LDAP ��֤���������
����
|
Ĭ��ֵ
|
����
|
ldapauth.ldaphost
|
|
ָ�� LDAP ���ֵ��
ͨ����ldapauth.ldaphost ֵ�� ldapusersession ֵ��ͬ�������Ҫ�����Խ�������Ϊ����ֵ��
|
ldapauth.ldapport
|
|
ָ�� ldap �˿ںš�
|
ldapauth.dcroot
|
|
Ϊ��֤��ָ�� DC ��
|
ldapauth.domainattr
|
inetDomainBaseDN,inetDomainStatus,inetDomainSearchFilter,domainUidSeparator,preferredLanguage
|
ָ��Ҫ����֤�û����ڵ�����Ŀ�м���������б?
|
ldapauth.domainfilter
|
(|(objectclass=inetDomain)(objectclass=inetDomainAlias))
|
ָ����������Ŀ����ڵĹ�����
|
ldapauth.ldapbinddn
|
|
ָ������֤ LDAP ���û����û� DN��
|
ldapauth.ldapbindcred
|
|
ָ������֤ LDAP ���û��Ŀ��
|
ldapauth.enablessl
|
false
|
ָ��Ҫִ����֤��Ŀ¼�Ƿ��� SSL ģʽ��
��Ĭ��ֵ���Ϊ��true���ɽ�b��ȫ�� LDAP l�ӡ�
|
�� 3-6 LDAP �û������
����
|
Ĭ��ֵ
|
����
|
ldapusersession.ldaphost
|
|
ָ���û��� Directory server �������
|
ldapusersession.ldapport
|
|
ָ���û�/�� Directory server �Ķ˿ںš�
|
ldapusersession.ldapbinddn
|
|
ָ�����û��� Directory server �Ĺ���Ա���û� DN��
|
ldapusersession.ldapbindcred
|
|
ָ�����û���Ĺ���Ա�Ŀ��
|
ldapusersession.dcroot
|
|
�� Sun Java System LDAP Schema �汾 1 �����ڽ����û���Ŀ���û�/�� LDAP ��ָ������� (DC) ��
|
�� uwcauth.properties �ļ������� Identity Server ����
�� 3-7 Identity Server ����
����
|
Ĭ��ֵ
|
����
|
uwcauth.identity.enabled
|
true
|
ָ���Ƿ����� Identity Sever��
���ʹ�� Identity Server �ĵ����¼���ƽ�����֤������������Ϊ��true����
|
uwcauth.identity.naming.url
|
|
ָ�� Identity Server ���� URL
���磬uwcauth.identity.naming.url= protocol://hostname:port Context URI
|
uwcauth.identity.binddn
|
|
ָ�� amAdmin �û������������� (DN)��
���磬
uid=amadmin, ou=People, o=siroe.com
|
uwcauth.identity.bindcred
|
|
ָ�� amAdmin ���
|
|
ע
|
��� uwcauth.identity.enabled ֵ����Ϊ��true������������� uwcauth.identity.naming.url��uwcauth.identity.binddn��uwcauth.identity.bindcred��
|
|
�� uwcauth.properties �ļ���Ϊ�û�/�������û����Ҳ���
�� 3-8 �û����Ҳ���
����
|
Ĭ��ֵ
|
����
|
ldapusersession.defaultugfilter
|
uid@domain
|
ָ���ڼ����û���Ŀʱʹ�õ�Ĭ�Ϲ��������
|
ldapusersession.ldappoolmin
|
30
|
ָ��ҪΪ�û�/�� LDAP ������ LDAP �û�l�ӵ���С��Ŀ��
|
ldapusersession.ldappoolmax
|
100
|
ָ��ҪΪ�û�/�� LDAP ������ LDAP �û�l�ӵ������Ŀ��
��ݲ���Ҫ���������ֵ��
|
ldapusersession.lookthru_limit
|
1000
|
ָ������������ѯ���ơ�
|
�� uwcconfig.properties �ļ������� Calendar Server ����
|
ע
|
ȷ���� Sun Java System Calendar Server �������˴�����֤��������ʡ�
Ҫ���ô�����֤��������ʣ��������������ļ� ics.config ���������� Calendar Server ����
- service.http.allowadminproxy = ��yes��
- service.http.admins = <��(�� uwcconfig.properties ��Ϊ calendar.wcap.adminid ָ����ֵ>
- service.admin.calmaster.userid = <�� uwcconfig.properties ��Ϊ calendar.wcap.adminid ָ����ֵ>
- service.admin.calmaster.cred = <�� uwcconfig.properties ��Ϊ calendar.wcap.passwd ָ����ֵ>
- service.wcap.anonymous.allowpubliccalendarwrite = "yes"
- service.http.allowanonymouslogin = "yes"
- service.calendarsearch.ldap = "no"
�й����ô�����֤����ϸ��Ϣ�Լ����� Calendar Server �����˵����μ�λ�� http://docs.sun.com/doc/817-7088 �ġ�Sun Java System Calendar Server ����ָ������
|
|
�� 3-9 Calendar Server ����
����
|
Ĭ��ֵ
|
����
|
calendar.deployed
|
true
|
ָ���Ƿ�������ģ�顣������������ʱ�������ô˲���
������ˡ���������������Ϊ��true����
|
calendar.wcap.host
|
|
ָ�� WCAP ������������
|
calendar.wcap.port
|
|
ָ�� WCAP ������Ķ˿ںš�
|
calendar.wcap.adminid
|
|
ָ�� WCAP ������Ĺ���Ա ID��
|
calendar.wcap.passwd
|
|
ָ�� WCAP ������Ĺ���Ա���
|
|
ע
|
- ȷ��Ϊ calendar.wcap.adminid ָ���� Calendar ����Ա�û� ID ֵ�� Calendar Server ics.conf �ļ����ᵽ�� service.admin.calmaster.userid ֵ��ͬ��
- ������������������й���������ģʽ�����У����������Ա�û� ID ֵ�ĸ�ʽӦ��Ϊ��uid@domain������������������ڽ����й����������ģʽ�����У����������Ա�û� ID ֵ�ĸ�ʽӦ��Ϊ uid��
- ȷ���������Ա�û� ID ����Ӧ�û���Ŀ�� LDAP �������ϴ��ڡ�
|
|
�� db_config.properties �ļ�������ͨѶ¼���˴洢����
�� 3-10 �г��� db_config.properties �ļ��е�Ĭ��ͨѶ¼���˴洢���ò���
���Դ�����λ�÷��ʸ��ļ���
<uwc-deployed-path>/WEB-INF/config/ldappstore/
�� 3-10 ����ͨѶ¼���˴洢����
����
|
Ĭ��ֵ
|
����
|
defaultserver.ldaphost
|
|
ָ������ͨѶ¼ (PAB) �洢�� LDAP ���
|
defaultserver.ldapport
|
|
ָ���洢�Ķ˿ڡ�
|
defaultserver.ldapbinddn
|
|
ָ�����ڰ� PAB �洢�� DN��
����¼����Ϊ restricted �� proxy������������ֵ��
����¼����Ϊ��anonymous��������Ҫ����ò����ֵ��
|
defaultserver.ldapbindcred
|
|
ָ�����ڰ� PAB �洢�� DN �Ŀ��
|
login_type
|
restricted
|
ָ������ LDAP �洢l����ʹ�õķ�����
�����Ϊ�˲���ָ���������ֵ��
anon - ��Ϊ�����û�l�ӵ� LDAP��
restricted - ��Ϊ��Ȩ��ͨѶ¼�洢ִ�в�����û�����l�ӡ�
proxy - ��Ϊ��Ȩ��ͨѶ¼�洢ִ�в�����û�����αװ�������ֵ��������ܣ���Ϊ��ִ��ÿ�����ʱ����� LDAP ��
ע�⣺����˴�����αװ���û����й���Ա����� ACL��
|
defaultserver.ldappoolmin
|
4
|
ָ��Ϊ PAB �洢���ֵ� LDAP �ͻ���l�ӵ���С��Ŀ��
|
defaultserver.ldappoolmax
|
12
|
ָ��Ϊ PAB �洢���ֵ� LDAP �ͻ���l�ӵ������Ŀ��
|
defaultserver.ldappooltimeout
|
10
|
ָ�� LDAP l�ӳ�ʱǰ��������Ӹ�ֵ�ɻ�ýϴ��������
|
lookthru_limit
|
1000
|
ָ������������ѯ���ơ�
|
���ù�˾Ŀ¼���� db_config.properties �ļ�
�� 3-11 �г��� db_config.properties �ļ��е�Ĭ�Ϲ�˾Ŀ¼����Ĭ������£����� LDAP �������Ϣ���Ǹ���漰�û�/��Ŀ¼��ֵ���õġ�
���Դ�����λ�÷��� db_config.properties �ļ���
WEB-INF/config/corp-dir/
�� 3-11 ��˾Ŀ¼����
����
|
Ĭ��ֵ
|
����
|
defaultserver.ldaphost
|
|
ָ����˾Ŀ¼�� LDAP ���
|
defaultserver.ldapport
|
|
ָ����˾Ŀ¼�Ķ˿ڡ�
|
defaultserver.ldapbinddn
|
|
ָ�����ڰ���˾Ŀ¼�� DN��
����¼����Ϊ restricted �� proxy�������ָ�� defaultserver.ldapbinddn ��ֵ������¼����Ϊ��anonymous��������Ҫ����ò����ֵ��
|
defaultserver.ldapbindcred
|
|
ָ�����
|
entry_id
|
uid
|
ָ����˾Ŀ¼�����ڱ�ʶjϵ��/����Ŀ�ļ�
����Խ� entry_id ����Ϊ UID ��������ȡjϵ��/����Ϣ�ļ��� empid ����Ҫ�û� ID��
�� xlate-inetorgperson.xml �ļ��У��� <entry entryID= ��db:uid��> �еġ�uid���滻Ϊ�˴�ָ���� entry_id ֵ��
|
login_type
|
restricted
|
ָ������ LDAP �洢l����ʹ�õķ�����
�����Ϊ�˲���ָ���������ֵ��
anon - ��Ϊ�����û�l�ӵ� LDAP��
restricted - ��Ϊ��Ȩ��ͨѶ¼�洢��ִ�в�����û�����l�ӡ�
proxy - ��Ϊ��Ȩ��ͨѶ¼�洢ִ�в�����û�����αװ�������ֵ��������ܣ���Ϊ��ִ��ÿ�����ʱ����� LDAP ��
ע�⣺Ϊαװ�û�����ֻ�w���Ȩ�ޡ�
|
defaultserver.ldappoolmin
|
1
|
ָ��Ϊ��˾Ŀ¼���ֵ� LDAP �ͻ���l�ӵ���С��Ŀ��
|
defaultserver.ldappoolmax
|
4
|
ָ��Ϊ��˾Ŀ¼���ֵ� LDAP �ͻ���l�ӵ������Ŀ��
|
defaultserver.ldappooltimeout
|
10
|
ָ�� LDAP l�ӳ�ʱǰ��������Ӹ�ֵ�Ի�ýϴ��������
|
lookthru_limit
|
1000
|
ָ������������ѯ���ơ�
|
��˾Ŀ¼�� xlate-<objectclass-name>.xml ��ʽ����}�� xlate �ļ���
- xlate-inetorgperson.xml ����jϵ��
- xlate-groupofuniquemembers.xml ������
�� xlate-<objectclass-name>.xml �У�<objectclass-name> ��ʾ��ʶ�ض� LDAP ��Ŀ���͵Ķ����ࡣ���磬xlate-inetorgperson.xml �����ڱ�ʶjϵ�˵Ķ����ࣻgroupofuniquemembers �������� Sun Java System Directory Server �б�ʶ��Ķ����ࡣ
xlate �ļ���jϵ�˻���� LDAP ģʽ��ͨѶ¼ XML ģʽ֮����ֶ�ӳ�䡣ӳ���ǰ��� XML �ڵ㶨��ġ����磬
<ab-xml-schema-key>db:LDAPField</ab-xml-schema-key>
���У�ab-xml-schema-field ��ͨѶ¼�ڴ�����ʹ�õ�ֵ��LDAPField �� LDAP �е���Ӧ�ֶ���ơ�
����ҪΪ LDAPField �ṩ��Ӧ���ֶ���ơ�Ϊ LDAPField �����ֵӦ���빫˾Ŀ¼ LDAP ģʽ�����е� LDAPField ֵ��Ӧ��
����ʾ�� 3-1 �� xlate-inetorgperson.xml �ļ���ʾ��
����ʾ�� 3-1 xlate-introgperson ��Ĭ������
<abperson uid="db:uid">
<entry entryID="db:uid">
<displayname>db:cn</displayname>
<description>db:multilineDescription</description>
<creationdate>db:createtimestamp</creationdate>
<lastmodifieddate>db:modifytimestamp</lastmodifieddate>
</entry>
<person>
<givenname>db:givenname</givenname>
<surname>db:sn</surname>
</person>
<organization>
<company>db:company</company>
<organizationalunit>db:ou</organizationalunit>
<location>
<building>db:buildingnum</building>
<floor>db:iplanetbuildinglev</floor>
<office>db:roomNumber</office>
</location>
<title>db:title</title>
<manager>db:manager</manager>
<secretary>db:secretary</secretary>
</organization>
<phone priority="1" type="work">db:telephoneNumber</phone>
<phone priority="2" type="fax">db:facsimileTelephoneNumber</phone>
|
|
<phone priority="3" type="mobile">db:mobile</phone>
<phone priority="4" type="home">db:homePhone</phone>
<phone priority="5" type="pager">db:pager</phone>
<email priority="1" type="work">db:mail</email>
<im priority="1" service="SunONE">db:uid</im>
<im priority="2" service="AIM">db:aimscreenname</im>
<im priority="3" service="ICQ">db:icqnumber</im>
<postaladdress type="home">
<street>db:homePostalAddress</street>
</postaladdress>
<postaladdress type="work">
<street>db:postaladdress</street>
</postaladdress>
<weburl priority="1">
<urladdr>db:labeleduri</urladdr>
<description>URL</description>
</weburl>
<weburl priority="2">
<urladdr>db:homepage</urladdr>
<description>Home URL</description>
</weburl>
<calendar type="calendar">
<urladdr>db:caluri</urladdr>
</calendar>
</abperson>
|
|
���ð�ȫ���ֲ� (SSL)
����������� SSL ģʽ�²��� Communications Express �� Web Server���й���������� SSL ģʽ�²��� Communications Express �� Web Server ����Ϣ����μ�λ�� http://docs.sun.com/db/coll/S1_websvr61_en �ġ�SunONE Web Server Administrator's Configuration File Reference����
�� SSL ģʽ��ʹ�� Communications Express
- �༭ <uwc-deployed-path>/WEB-INF/config/uwcauth.properties �е��������ò���
- uwcauth.ssl.enable=true
- uwcauth.https.port=SSL-port-number-of -the webserver-in which-uwc-is-deployed
Ҳ���Խ������֤Ŀ��Ϊ SSL ���� Communications Express�����ʾ����ͨ�� SSL ִ����֤�����˺�ͨ��� SSL ģʽ����Ӧ�ó���
�������֤Ŀ��Ϊ SSL ���� Communications Express
- �� uwcauth.properties �ļ��У��� uwcauth.ssl.enable ����Ϊ��false����
- �� uwcauth.https.port ����Ϊ������ Communications Express �� Web Server �� SSL �˿ںš�
- �� uwcauth.ssl.authonly ������true����
|
ע
|
uwcauth.ssl.authonly �� uwcauth.ssl.enable ��}������ǻ���ġ�
|
|