Sun Java System Communications Express 6 2005Q1 ����ָ�� |
�� 3 ��
������ϸ��Ϣ���½����� Communications Express ��������ϸ��Ϣ��
Communications Express �����ļ�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 �ļ���
���������ļ���Ϊ ASCII �ı��ļ�������ÿ�о����¸�ʽ������������ֵ��
����=ֵ
������ Communications Express ʱ�����ʼ����Щ����װ����ʹ���ı��༭��༭���ļ���
�༭�����ļ�
���ò�����ϸ��Ϣ
������±������������ʼ���ͨѶ¼���ò���
�йظ����ʼ��������ͨѶ¼�����ò���������� 4 �¡�ʵ�ֵ����¼����
�� uwcconfig.properties �ļ������� Messenger Express ����
�� uwcauth.properties �ļ���Ϊ Sun Java System LDAP Schema v.1 ������ Directory Server �йصIJ���
�����֤ LDAP ���������û�/�� LDAP ��ͬ������Ա༭�� 3-2 ���ᵽ�IJ���
�� uwcauth.properties �ļ������� Identity Server ����
ע
��� uwcauth.identity.enabled ֵ����Ϊ "true"����������� uwcauth.identity.naming.url��uwcauth.identity.binddn �� uwcauth.identity.bindcred��
�� uwcauth.properties �ļ���Ϊ�û�/�������û����Ҳ���
�� uwcconfig.properties �ļ������� Calendar Server ����
ע
��ȷ���� Sun Java System Calendar Server �������˴�����֤��������ʡ�
Ҫ���ô�����֤��������ʣ��������������ļ� ics.config ���������� Calendar Server ����
- service.http.allowadminproxy = "yes"
- service.http.admins = includes-the-value-specified-for- calendar.wcap.adminid-in-uwcconfig.properties.
- service.admin.calmaster.userid = the-value-specified-for- calendar.wcap.adminid-in-uwcconfig.properties
- service.admin.calmaster.cred = the-value-specified-for- calendar.wcap.passwd-in-uwcconfig.properties
- service.wcap.anonymous.allowpubliccalendarwrite = "yes"
- service.http.allowanonymouslogin = "yes"
- service.calendarsearch.ldap = "no"
�й����ô�����֤�ĸ����Ϣ�Լ����� Calendar Server �����˵������� Sun Java System Calendar Server ����ָ�ϣ���ָ��λ�� http://docs.sun.com/doc/819-1478��
�� db_config.properties �ļ�������ͨѶ¼���˴洢����
�� 3-7 �г��� db_config.properties �ļ��е�Ĭ��ͨѶ¼���˴洢���ò���
���Դ�����λ�÷��ʸ��ļ���
uwc-deployed-path/WEB-INF/config/ldappstore/
���ù�˾Ŀ¼���� db_config.properties �ļ�
�� 3-8 �г��� db_config.properties �ļ��е�Ĭ�Ϲ�˾Ŀ¼����Ĭ������£����� LDAP �������Ϣ���ǻ����漰�û�/��Ŀ¼��ֵ���õġ�
���Դ�����λ�÷��� db_config.properties �ļ���
WEB-INF/config/corp-dir/
��˾Ŀ¼ά��}�� xlate �ļ������ʽΪ xlate-objectclass-name.xml��
�� xlate-objectclass-name.xml �У�objectclass-name ��ʾ��ʶ�ض� LDAP ��Ŀ���͵Ķ����ࡣ���磬xlate-inetorgperson.xml Ϊ���ڱ�ʶjϵ�˵Ķ����ࣻgroupofuniquemembers Ϊ������ Sun Java System Directory Server �б�ʶ��Ķ����ࡣ
xlate �ļ���jϵ�˻���� LDAP Schema ��ͨѶ¼ XML Schema ֮����ֶ�ӳ�䡣ӳ���ǰ��� XML �ڵ㶨��ġ����磬
ab-xml-schema-keydb:LDAPField/ab-xml-schema-key
����
ab-xml-schema-field ΪͨѶ¼�ڴ�����ʹ�õ�ֵ��
LDAPField Ϊ LDAP �е���Ӧ�ֶ���ơ�
����ҪΪ LDAPField �ṩ��Ӧ���ֶ���ơ�Ϊ LDAPField ָ����ֵӦ���빫˾Ŀ¼ LDAP Schema �����е� LDAPField ֵ��Ӧ��
����ʾ�� 3-1 Ϊ xlate-inetorgperson.xml �ļ���һ��ʾ��
����ʾ�� 3-1 xlate-introgperson ��Ĭ������
<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>
���ð�ȫ���ֲ� (Secure Socket Layer, SSL)
���������� SSL ģʽ�²��� Communications Express �� Web Server���й���������� SSL ģʽ�²��� Communications Express �� Web Server ����Ϣ�������λ�� http://docs.sun.com/db/coll/S1_websvr61_en �ġ�Sun ONE Web Server Administrator's Configuration File Reference����
�� SSL ģʽ��ʹ�� Communications Express
�������֤Ŀ��Ϊ SSL ���� Communications Express
֧�� Addressbook Server ��ˮƽ��������
�� Sun Java System Communications Express ����һ���а��У��ض���ĸ���ͨѶ¼��Ŀ�洢���� defaultserver ʵ���� db_config.properties �ļ��ж��壩��ʾ�ĵ��� LDAP λ���С�db_config.properties �ļ�λ����� personalstore.properties ��ָ���Ŀ¼�С����磬uwc-install/WEB-INF/config/ldappstore��
�˲���������������֧����ÿ�����ͨѶ¼�а�����û���jϵ�ˡ�Ϊ�˿˷���һ���ƣ�Sun Java System Communications Express 6.2 �е� psRoot �����������Ա�ñ��û����Ա���Խ���ͬ�û��� PAB ��ݷֲ��ڲ�ͬ�� LDAP λ���С�
���磬ldap://mydir.com:389/piPStoreOwner=jsmith,o=siroe.com,o=PiServerDb
ͼ 3-1 �߶ȸ�(������ˮƽ���� Addressbook Server ����ϵ�ṹ��
ͨѶ¼ˮƽ����������ϵ�ṹ����Ҫ����У�
���˴洢����ά���û���ͨѶ¼��Ϣ������û��Ѿ�����������ͨѶ¼�Ķ��壬�Լ���ЩͨѶ¼�е�������Ŀ�����˴洢�� URL ��ʾ��URL ˵���˸��˴洢���ڵ�Ŀ¼ʵ���Լ����ض�Ŀ¼ʵ���е� DN��
DB ����˴洢�ļ��ϣ���ͼ 3-1 ��ʾ����Address Book Server ���Է���������Ŀ�� DB��ÿ�� DB ���ɶ���� DB ��l�Ӳ���� DB-ID ���塣DB ���Ծ��в�ͬ���ͣ�������ָ��ͬ�� DB λ�á�
DBMap ��������ͬ�� DB �ļ��ϡ�ÿ�� DBMap ����һ�����ø� DBMap ��������Ϣ�� ID��
ͼ 3-1 ͨѶ¼��ˮƽ��������
psRoot ���û� LDAP �е�һ�����ԣ���ָ�����Ŀ¼ʵ��Ķ˿ڣ��Լ����ڴ洢�û�ͨѶ¼��Ŀ�� DN��psRoot �ĸ�ʽ������ʾ��ldap://ldap_host:ldap_port/DN��
psRoot ����ֵȷ�� DB ���ͺ� DB λ�á�
�� psRoot ʾ���У�ldap://mydir.com:389/piPStoreOwner=jsmith,o=siroe.com,o=PiServerDb
ldap:// ָʾʹ�� LDAP DB ��������û���ͨѶ¼���˴洢��
mydir.com:389 ָ�� LDAP ���Ͷ˿ڡ�
piPStoreOwner=jsmith,o=siroe.com,o=PiServerDb ָ�����˴洢�� DN��
ע
Addressbook Server û���ṩ�κ�����Ϊ�û��ַ� psRoot ֵ������κο������Բ��ԣ���ʵ�ó�����Ա��Ҫ�������ʺ�����֯���ض����ԣ���ʹ���Զ���ű�Ϊ�ò������� psRoot ֵ��
ʹ���ض������ personalstore.properties �ļ��а�� db.UserPsRoot ������Դ�ر� psRoot ���ԡ����ò�������Ϊ "false" ��ʹ�� db_config.properties �ļ��е� defaultserver ����ò�������Ϊ "true" ��ʹ���û��� psRoot ֵ������Ϊ psRoot ��ʹ�õ�ÿ��Ψһ Directory Server ʵ���ṩ�� 3-7 ���г�ĸ��˴洢����������ʱ��ʹ�� db-key.ldaphost �� db-key.ldapport������ db-key �����ڽ�һ��ʵ������һ��ʵ����ֿ��������ַ��� psRoot ���Ե�ֵ����ΪĿ¼ʵ������Ҳ��� db-key.ldaphost �� db-key.ldapport ��ƥ�����ʹ�� defaultserver ʵ��
�Զ����� psRoot ֵ
�����û���¼��Ϊ���û���Ŀ�е� psRoot ��������Ĭ��ֵ��
�������û���psRoot ֵ��ʹ���� personalstore.properties �ļ��ж���� psRoot ģʽ�Լ� db_config.properties �ļ��е� defaultserverhost �� defaultserverPort ֵ�����ġ����磬ʹ��Ĭ�� psRoot ģʽʱ��Ĭ�� psRoot ֵ�ĸ�ʽ��������ʾ��
ldap://defaultserver_host:defaultserver_port/piPStoreOwner=%U,o=%D,o=PiServerDb
����
%U = �û��ĵ�¼ ID������ jsmith��
%D = �û��������� siroe.com��