�� 6 ��
�������
Communications Express ֧����֯���й���ṹ��
���½�����Ϊ�����й����� Communications Express ���еĸ�ġ�
�������
�����ֽ�����Ϊ�����й���Ҳ��Ϊ������� Communications Express ���еĸ�ġ�
�������������������
Ҫ�������������й������ã������� uwc-deployed-path/WEB_INF/config/uwcauth. properties �ļ��н� virtual domain.mode ��������Ϊ "y"����Ϊ�й������� Calendar Server���й����Ϊ�й������� Calendar Server ����Ϣ������� Calendar Server ����ָ�ϣ���ָ��λ�ڣ�
http://docs.sun.com/source/819-1478/csagCreatingHostedDomains.html
���ʼ����ñ��й���
Ҫ�ñ����Լ��˽��������֯���д����й�����Ŀ����������� Sun Java System LDAP Schema v.1 �ġ�iPlanet Messaging Server 5.2 Provisioning Guid�������ĵ�λ�ڣ�http://docs.sun.com/source/816-6018-10
�й����Ϊÿ�����Զ����ʼ��ͻ��˽������Ϣ������ġ�Sun Java System Communications Express Customization Guide�������ĵ�λ�ڣ�
http://docs.sun.com/source/819-0116/perdomaincust.html
��ͨѶ¼�������й�������
�����������ļ��������й���
- uwc-deployed-path/WEB-INF/domain/personalstore.properties �ļ�
- uwc-deployed-path/WEB-INF/domain/defaultps/defaultps.xml �ļ�
�������
������صĿ����ò���洢�������ļ��У�
- uwcdomainconfig.properties
- personalstore.properties
- defaultps/defaultps.xml
- lang/il8n.properties�����磬en/i18n.properties��
������ Communications Express ʱ��Ĭ������½���Щ�ļ����Ƶ� uwc-deployed-path/WEB-INF/domain Ŀ¼�С�
�����ض��û��ĻỰ��������˳������������ص������ļ���
- uwc-deployed-path/WEB-INF/domain/user's domain/property-files
- uwc-deployed-path/WEB-INF/domain/property-files
�������
�����ֽ����˴����й���ʱ��Ҫִ�еIJ��衣
Ϊ�ض���ָ��������ص�����
- �� uwc-deployed-path/WEB-INF/domain �´���һ��������Ŀ¼��
���磺uwc-deployed-path/WEB-INF/domain/domain-name
- �� uwc-deployed-path/WEB-INF/domain Ŀ¼��������ص������ļ����Ƶ���Ŀ¼�С��й�������صIJ����б?����������й������֡�
- �������¸���е�˵���Զ��� uwc-deployed-path/WEB-INF/domain/domain-name Ŀ¼�е������ļ���
- Ҫ��� Communications Express �ض���� URL 4���� Identity Server ��¼ URL���뽫ȫ����������� uwc.isvirtualhostname ����Ϊ Identity Server �����������
���磬���
ce.virtualdomain.com.isvirtualhostname=is.virtualdomain.com��
������� http://ce.virtualdomain.com/uwc ���� Communications Express��
�� Identity Server url ����ʾΪ
http://is.virtualdomain.com/amserver/UI/Login��
���û�н�ȫ�����������ӳ�䵽 Identity Server ������������� Communications Express �������� uwcauth.identity.login.url �����õľ�̬ Identity Server ��¼ URL 4���� Identity Server ��¼ URL��
���磬��� uwcauth.identity.login.url=http://siroe.com:85/amserver/UI/Login���������ij���ض���� URL���� http://ce.varrius.com:80/uwc������ Communications Express���� Communications Express �� IS ��¼ URL ����Ϊ��
http://siroe.varrius.com:85/amserver/UI/Login
������Ϊ varrius.com��
�����Ϊ ce.varrius.com���� Communications Express �� Identity Server ��¼ URL ����Ϊ��http://siroe.ce.varrius.com:85/amserver/UI/Login��
- �� Identity Server �����н������¸�ģ�
- �� AMconfig.properties �ж��� FQDN ӳ�䡣AMconfig.properties �ļ���Ĭ��λ���ǣ�/etc/opt/SUNWam/config/AMconfig.properties
���磬����������� is.virtualdomain.com ���� Identity Server���� FQDN ӳ�佫��ʾΪ��
com.sun.identity.server.fqdnMap[is.virtualdomain.com]=is.virtualdomain.com
- �� Cookie ���������������á�->��ƽ̨���£������� Cookie ���ֶ������ virtualdomain.com��
Ϊ�й������ò���
���²��ֽ����˿����� Communications Express ��Ϊ�����õ����ã�
�� uwcdomainconfig.properties �ļ������ò���
uwcdomainconfig.properties �ļ�ά���������ͨѶ¼��ص��û���ѡ���Ĭ��ֵ�����Ի���ÿ����4������Щ��ѡ���ЩĬ���û���ѡ��ֵ�����û���һ���� Communications Express �з��������ͨѶ¼ʱΪ�䶯̬����ġ�
�� 6-1 �г���Ӧ�ó����е�Ĭ���û���ѡ�
�� 6-1 uwcdomainconfig.properties �ļ��е�Ĭ���û���ѡ��
����
|
Ĭ��ֵ
|
����
|
uwc-user-attr-sunUCDefaultApplication
|
calendar
|
ָ�����¼����ʾ��Ĭ��ҳ������ѡ��Ϊ���ʼ��������ͨѶ¼��
|
uwc-user-attr-sunUCDefaultEmailHandler
|
uc��desktop
|
ָ�����ڴ�Ӧ�ó����з��͵����ʼ���Ĭ�ϵ����ʼ��ͻ��ˡ�
����Խ�Ĭ�ϵ����ʼ��ͻ�������Ϊ Messenger Express ��������ʼ��ͻ��ˡ�
|
uwc-user-attr-sunUCDateFormat
|
M/D/Y
|
ָ�������е��ա��º������ʾ˳��
����ѡ��Ϊ��
M/D/Y��D/M/Y��Y/M/D
|
uwc-user-attr-sunUCDateDelimiter
|
/
|
ָ��������ʹ�õķָ��
�ָ���Ƿָ������е��ա��º�����ַ�
����Խ��ָ��ָ��Ϊ���� (,)����б�� (/) ��l�ַ� (-)��
|
uwc-user-attr-sunUCTimeZone
|
America/Los_Angeles
|
ָ������������ʹ�õ�ʱ��
����Դ�����������ѡ���κ���Ч��ʱ��
���:����5���ŷ�ͷ����Լ�����̫ƽ���ܱߡ�
|
- �� 6-2 �г���������Ӧ�ó�����ص��û���ѡ�
�� 6-2 uwcdomainconfig.properties �ļ��е�Ĭ��������ѡ��
����
|
Ĭ��ֵ
|
����
|
uwc-user-attr-icsExtendedUserPrefs-ceDefaultView
|
dayview
|
ָ�����¼��Ĭ������Ӧ��ʾ����ͼ������ѡ��Ϊ��
����ͼ������ͼ������ͼ������ͼ��
|
uwc-user-attr-icsExtendedUserPrefs-ceShowCompletedTasks
|
false
|
ָ����ɵ������Ƿ����������ġ��������С�
�����ϣ����ɵ��������������ġ��������У��뽫Ĭ��ֵ���Ϊ "true"��
|
uwc-user-attr-icsExtendedUserPrefs-ceDefaultCategory
|
Business
|
ָ��Ӧ���������¼��������Ĭ�����
���������
����������ա�����Լ�ᡱ�������ա�����ҵ������͡������γ̡����������С�������͡��������ա�������͡��������顱�������������ˡ��������ֻᡱ������ѵ���������С������ݼ١��͡���̸����
|
uwc-user-attr-icsExtendedUserPrefs-ceDayHead
|
9
|
ָ��һ��Ŀ�ʼʱ�䣨��Сʱ��ʾ����
|
uwc-user-attr-icsExtendedUserPrefs-ceDayTail
|
18
|
ָ��һ��Ľ���ʱ�䣨��Сʱ��ʾ����
|
uwc-user-attr-icsExtendedUserPrefs-ceInterval
|
PT1H0M
��һСʱ��
|
ָ��һ���л��ֵ�ʱ��Ρ�
�ڡ��ա��͡��ܡ���ͼ�У���һ�컮��Ϊ��Сʱ��һСʱ��ʱ��Ρ�
����Խ�Ĭ�ϻ���ֵ���Ϊ PT0H30M����Сʱ����
|
uwc-user-attr-icsFirstDay
|
1
|
����Խ�һ���е�ijһ��ָ��Ϊ�������ܵĵ�һ�졣Ĭ������£��������� (1) ��Ϊһ���еĵ�һ�죬�������� (7) ��Ϊһ���е����һ�졣
|
uwc-user-icsExtendedUserPrefs-ceWeekEndDays
|
1,7
|
��������ͼ��ָ����ĩ��һ���е��ļ��졣
Ĭ������£������� (1) ��һ���еĵ�һ�죬������ (7) ��һ���е����һ�졣
���ŷָ�������б��ʾһ������Ϊ��ĩ���Ǽ��졣
|
uwc-user-attr-icsExtendedUserPrefs-ceIncludeWeekendInViews
|
false
|
������ֹ������ġ��ܡ��͡��¡���ͼ����ʾ��ĩ��
���Ӧ��������ġ��ܡ��͡��¡���ͼ����ʾ��ĩ����Ĭ��ֵ����Ϊ "true"��
|
uwc-user-attr-icsExtendedUserPrefs-ceSingleCalendarTZISD
|
true
|
ָ���Ƿ�Ӧ���������ʱ��4��ʾ����
���ϣ���������ʱ��4�鿴������Ĭ��ֵ���Ϊ "false"������������£�������ȫ��ѡ�ѡ���ָ����ʱ��4��ʾ��������
|
uwc-usr-attr-icsExtendedUserPrefs-ceDefaultAlarmStart
|
PT0H30M
|
ָ�����¼�������ǰ�ʱ�䣨Ĭ��Сʱ�ͷ����������ѡ�
|
uwc-user-attr-icsExtendedUserPrefs-ceNotifyEnable
|
false
|
ָ���ڴ����µ��¼�ʱ�Ƿ����ڲ��������˷��͵����ʼ����� ical ��������
��ЧֵΪ��false��true��
|
�� 6-3 uwcdomainconfig.properties �ļ��е�Ĭ��ͨѶ¼��ѡ��
����
|
Ĭ��ֵ
|
����
|
uwc-user-sunAbExtendedUserPrefs-abName
|
Personal Address Book
|
ָ��Ĭ��ͨѶ¼����ơ�
|
uwc-user-attr-sunAbExtendedUserPrefs-abDescription
|
This is the personal address book
|
ΪĬ��ͨѶ¼ָ���������
|
uwc-user-attr-sunAbExtendedUserPrefs-abEntriesPerPage
|
25
|
ָ����ҳ������ʾ�����ͨѶ¼��Ŀ�����ѡ��Ϊ��25��50 �� 75��
|
uwc-user-attr-sunAbExtendedUserPrefs-abSearchDisplayColumn1
|
displayname
|
ָ��Ҫ�ڵ�һ������ʾ��ֵ��Ĭ������£���һ����ʾjϵ�˻������ơ�
|
uwc-user-attr-sunAbExtendedUserPrefs-abSerchDisplayColumn2
|
primaryemail
|
ָ��Ҫ��ͨѶ¼�ĵڶ�������ʾ��ֵ��
����Խ���ʾ���������Ϊ��
����ʾ��������˾������ְ������绰�������칫�ҵ绰������סլ�绰����������绰������Ѱ���绰������������ʼ������������ʼ� 1�����������ʼ� 2�����������ʼ� 3��������ͥ��ַ�������칫��ַ������Web URL 1������Web URL 2���������� URL��������æ URL���������ա�������������ա�������֯�������༭���͡��鿴������
|
uwc-user-attr-sunAbExtendedUserPrefs-abSearchDisplayColumn3
|
|
ָ��Ҫ��ͨѶ¼�ĵ���������ʾ��ֵ��
����Խ���ʾ���������Ϊ��
����ʾ��������˾������ְ������绰�������칫�ҵ绰������סլ�绰����������绰������Ѱ���绰������������ʼ������������ʼ� 1�����������ʼ� 2�����������ʼ� 3��������ͥ��ַ�������칫��ַ������Web URL 1������Web URL 2���������� URL��������æ URL���������ա�������������ա�������֯�������༭���͡��鿴������
|
uwc-user-attr-sunAbExtendedUserPrefs-abSearchDisplayColumn4
|
edit
|
ָ��Ҫ��ͨѶ¼�ĵ���������ʾ��ֵ��
����Խ���ʾ���������Ϊ��
����ʾ��������˾������ְ������绰�������칫�ҵ绰������סլ�绰����������绰������Ѱ���绰������������ʼ������������ʼ� 1�����������ʼ� 2�����������ʼ� 3��������ͥ��ַ�������칫��ַ������Web URL 1������Web URL 2���������� URL��������æ URL���������ա�������������ա�������֯�������༭���͡��鿴������
|
���� personalstore.properties �ļ�
�� personalstore.properties �ļ��еIJ���������ͨѶ¼�洢����˾Ŀ¼���κ�Զ��Ŀ¼��
�� 6-4 �г����� personalstore.properties �ļ��д洢�����á�
�� 6-4 personalstore.properties �ļ��д洢����������
����
|
Ĭ��ֵ
|
����
|
db.defaultpsrootpattern
|
ldap:///piPStoreOwner=%U,o=%D,o=PiServerDb
|
ָ������Ϊ�û���̬���� psRoot ֵ��ģʽ��psroot ��ʶ�û���Ŀ�Ĵ��λ�á�
%U = �û��� uid ("jsmith")
%D = �û����� ("siroe.com")
%O = �������Ҫ���� ("siroe")
|
db.xxx.class
|
com.iplanet.iabs.ldap.plug.iLDAP
|
ָ��ʵ�ֲ���� java �����ơ����� LDAP �����
|
db.xxx.urlmatch
|
|
�����¸�ʽָ�� URL��
ldap://host:port/DN
���ڴ˲���4��ʶ xxx ʵ��
��ֵӦ���� defaultps.xml �ļ��д洢�� "bookremoteurl" ���Զ�Ӧ��
|
db.xxx.configpath
|
|
ָ�����ʵ�� LDAP ��Ϣ������Ŀ¼��·����
����·�������·������������ڴ��ļ���λ�á�
|
db.xxx.wildcardsearch
|
|
ָ����ͨ����������ṩ����С�ַ���
|
db.xxx.randompaging
|
false
|
ָ������Ƿ�֧���������Լ��Ƿ����ӵ�һҳ4����ÿһҳ��
���Ϊ false���������̼����������ֱ���ҵ���ȷ��ҳΪֹ��
|
db.xxx.corporatedir
|
false
|
���ڹ�˾Ŀ¼����ֵӦ��Ϊ true��
|
db.useUserPsRoot
|
false
|
��ֵ����Ϊ true ��ʹ���û��� psRoot ֵ���������Ϊ false����ʹ�� defaultserver ֵ��
|
���� defaultps.xml �ļ�
defaultps.xml �ļ����û���һ�ε�¼ʱ�� LDAP �洢�д����ĸ��˺�˾ͨѶ¼��Ĭ�϶��塣
ÿ��ͨѶ¼�ڵ��� defaultps.xml �ļ����ڵ����а�һ��Ϊ�û�������ͨѶ¼���塣
������ defaultps.xml �� XML ���ֵ�ʾ����Щʾ������ͨѶ¼��˾ͨѶ¼�Ķ��塣
����ͨѶ¼ XML
����ʾ�� 6-1 �����ͨѶ¼����� XML ����
<book booktype="abook">
|
<bookoc>piLocalBook</bookoc>
|
<entry entryID="pab">
|
<displayname>_Personal Address Book</displayname>
|
<description>_This is your Personal Address Book</description>
|
</entry>
|
</book>
|
|
��˾Ŀ¼ XML
����ʾ�� 6-2 ��˾ͨѶ¼����� XML ����
<book booktype="abook"
|
bookremoteurl="ldap://corpdirectory">
|
<bookoc>piRemoteBook</bookoc>
|
<entry entryID="idirectory">
|
<displayname>_Corporate Directory</displayname>
|
<description>_This is Corporate Directory</description>
|
</entry>
|
</book>
|
|
���ڹ�˾��Զ��ͨѶ¼��personalstore.properties �ļ���Ӧ�ô�����Ӧ�� xxx ʵ��Ӧ��Ϊ personalstore.properties �ļ��е� db.xxx.urlmatch ���� defaultps.xml �ļ��� bookremoteurl ���Ե�ֵ��
Ҫ����µ�Զ��ͨѶ¼����Ҫ��������
- �� defaultps.xml �ļ�������µ�ͨѶ¼�ڵ㡣
- �� personalstore.properties �ļ�������µ� xxx ʵ��
- �� WEB-INF/config ���洴��һ��Ŀ¼�Դ洢 db_config.properties �� xlate �ļ���
|
ע
|
xlate �ļ���jϵ�˻���� LDAP Schema ��ͨѶ¼ XML Schema ֮����ֶ�ӳ�䡣
|
|
�Զ���ȫ�� GUI
�����ļ����� Communications Express ����ʾ��ͼ�������Ƽ���Ĭ��λ�á���ͨ���Ĵ��ļ���ָ����·��4���ͼ���λ�á�Ĭ�� theme.properties �ļ�λ�� uwc-deployed-path/WEB-INF/skin �¡�
�� uwcdomainconfig.properties �ļ�����������
uwcdomainconfig.properties �ļ�����֧�����Ե��б?�б��е�ÿ�������÷ֺŸ������Զ��� Communications Express Ϊ��֧�ֵ������б?
���磬���ƻ��ڳ�Ϊ siroe.com ������֧�� en��Ӣ���de�������fr������� ja����������ԣ����ڸ���� uwcdomainconfig.properties �ļ��н� supportedLanguages ����Ϊ supportedLanguages=en;fr;de;ja��
uwcdomainconfig.properties �ļ� siroe.com Ӧλ�ڣ�
WEB-INF/domain/siroe.com/uwcdomainconfig.properties
���������Ӧ�� i18n.properties �ļ��ж���ɱ��ػ����ַ����磬
uwc-common-options-preferredLanguage-en=English
uwc-common-options-preferredLanguage-de=German
uwc-common-options-preferredLanguage-fr=French
uwc-common-options-preferredLanguage-ja=Japanese
siroe.com �� i18n.properties �ļ�λ�ڣ�
WEB-INF/domain/siroe.com/locale/i18n.properties
������û��� LDAP ��Ŀ��û�� preferredLanguage ���ԣ������ preferredLanguage ���ԡ�������ṩ�ı���ֵ�Լ� i18.properties �ļ��Ŀ����Ծ����û��Ự��ʹ�õ����ԡ�