�� 3 ��
�w�� Communications Express �t�m�z���t��
�����y�z Communications Express ���t�λݨD�Ψt�ΰt�m�ԲӸ�T�C
�t�λݨD
���`�y�z�H�U���e�G
�w��
�w�� Sun Java System Communications Express ���e�A�z�����T�w�ŦX�̧C���w��Χ@�~�t�λݨD�C
�����n���ҥ� JavaScript ���s��~��s�� Sun Java System Communications Express�C
�s��
�z�i�H�ΥH�U�{���˵� Communications Express�G
- Netscape Communicator 6.2.x�B7
- Internet Explorer 5.x�B6.0
- Mozilla 1.0 ��s����
���x
�U�C���x�䴩�����~�G
- Sparc �W�� Solaris 9�A�æ� Webserver 6.1 �� Application Server 7.0
- X86 �W Solaris 9�A�æ� Webserver 6.1 �� Application Server 7.0
�p�ݳ̨ΰ��į�A�Шϥ��� 3-1 ���C�X���s��Υ��x�զX�C
�� 3-1 �s��x��ij
�s��
|
Sparc �W�� Solaris
|
x86 �W�� Solaris
|
x86 �W�� Linux
|
Windows XP
|
Windows 98
|
Netscape Communicator
|
6.2.x�B7.x
|
6.2.x�B7.x
|
6.2.x�B7.x
|
6.2.x�B7.x
|
6.2.x�B7.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
|
�n�����
�w�� Communications Express ���e3�Ӧw�ˤU�C�{���G
- Directory Server 5.2
- Calendar Sever 6.1
- Messaging Server 6.1
- Identity Server 6.2 (�p�G�z�ϥ� Schema 2)
- Web Server 6.1 SP2�A�æ� JDK ���� 1.4.2
�Ϊ�
Application Server 7.0
�s��S����
Communication Express �b�U�C�ɮ��@�t�m�ѼơG
- uwcauth.properties �ɮ��@���ҡA�ϥΪ�/�s�զs��γ�@�n�J����ѼơC uwcauth.properties �ɮצ��G<uwc-deployed-path>/WEB-INF/config/
- uwcconfig.properties �ɮ��@��ƾ�B�l��γq�T�����t�m�ѼơC uwcconfig.properties �ɮצ��G<uwc-deployed-path>/WEB-INF/config/
- db_config.properties �ɮץΨөw�q�q�T���x�s�t�m�ԲӸ�T�C �ھڹw�]�ȡACommunications Express ���p��� db_config.properties �ɮסC
- �ӤH�q�T���x�s�C �ӤH�q�T���x�s�t�m�ɦb <uwc-deployed-path>/WEB-INF/config /ldappstore/db_config.properties �U�C
- ���q�q�T���x�s�C���q�q�T��N�t�m���x�s�b <uwc-deployed-path>/WEB-INF/ config /corp-dir/db_config.properties �U�C
�Ҧ����t�m�ɳ��O ASCII ��r�ɡA�C�@�泣�w�q�ѼƤά���ȡA�榡���G
<parameter>=<value>
�t�m Communications Express �ɷ|��l�ưѼơC�w�ˤ���A�z�i�H�ϥΤ�r�s�边�s����ɮסC
� �s��S����
- �n�J�����ק��v�����ϥΪ̡C
- �ܧ�� .properties �ɮשҦb���ؿ�C
- �ϥΤ�r�s�边�s��ѼơC
�Ѽƪ��D�ҥ]�A�J
- �Ҧ��ѼƤά���ȥ����H���� (=) �9j�C �����e��i�H���Ů�Ωw����C
�Ҧp�G
uwc-user-attr-sunUCDefaultApplication=calendar
- ���&�H��ĸ� (!) �}�Y�C
�ھڹw�]�ȡA�Y�ǰt�m�ѼƷ|�ϥ���ĸ������!C �Y�n�ϥγo�ǰѼơA�z����������ĸ��B�ܧ�� (�p�G���n)�A�M�᭫�s�Ұ� Web Server�A�ϰѼƥͮġC
- ���s�Ұ� Web Server�A�Ϸs�t�m�ȥͮġC
�t�m�l��B��ƾ�γq�T��Ѽ�
�ھڥH�U��檺���!A�z�i�H�ק��ƾ�B�l��γq�T��t�m�ѼơC
�p�ݧ�h���l��B��ƾ�γq�T��i�t�m�ѼơA�аѾ\�� 4 ���A�u��{��@�n�J�v�C
�b uwcconfig.properties �P uwcauth.properties �ɮפ��t�m���3�ε{�����Ѽ�
�� 3-2 �b uwcconfig.properties ���t�m���3�ε{�����Ѽ�
�Ѽ�
|
�w�]��
|
�y�z
|
uwc.defaultskin
|
uwc
|
��w�Ω�3�ε{��������D�D�W�١C
|
uwc.gzipcompression
|
True
|
�ҥκ���e�� GZIP #�Y�C
�⥻�ȳ]�� True�A�ҥκ���e�� GZIP #�Y�C
|
�� 3-3 �b uwcauth.properties ���t�m���3�ε{�����Ѽ�
�Ѽ�
|
�w�]��
|
�y�z
|
defaultdomain
|
|
��w�Ω�ϥΪ̵n�J�ӵL���r�*��w�]���C
�t�m�ɿ�J���ȷ|�� defaultdomain�C
|
defaultlocal
|
en
|
��w�Ω�3�ε{�����w�]�y����ҡC
|
virtualdomain.mode
|
|
��w Communications Express �O�_�b���:��Ҧ����ާ@�C
�p�G�z�w�ҥ� Calendar Server ���U���䴩�\��A�бҥΥ��ﶵ�C
�t�m�ɿ�J���ȷ|�� virtualdomain.mode�C
|
�b uwcconfig.properties �ɮפ��t�m Mail Server ���Ѽ�
�� 3-4 Mail Server �Ѽ�
�Ѽ�
|
�w�]��
|
�y�z
|
mail.deployed
|
|
��w�O�_�w���p Messenger Express�C �z���t�m���F�ɳ]�w���ѼơC
�p�G�w���p Messenger Express�A�ݩʷ|�]���uTrue�v�C
|
webmail.host
|
|
��w Messenger Express ���p���q���W���D��W�١C
Messenger Express ���D��W��3��3�쳡�p Web Server ����W�١C
|
webmail.port
|
|
��w Messenger Express HTTP ��A����ť���s���X�C
|
�b uwcauth.properties �ɮפ��t�m Sun Java System LDAP Schema v.1 �� LDAP ���ҹL�o�Ѽ�
���� LDAP ��A���P�ϥΪ�/�s�� LDAP ���P�ɡA�z�i�s���� 3-5 ���Ҵ��Ϊ��ѼơC
�� 3-5 LDAP ���ҹL�o�Ѽ�
�Ѽ�
|
�w�]��
|
�y�z
|
ldapauth.ldaphost
|
|
��w LDAP �D��ȡC
ldapauth.ldaphost �ȱ`�`�P ldapusersession �ȬۦP�C ���n�ɥi�H�]�����P���ȡC
|
ldapauth.ldapport
|
|
��w ldap �s���X�C
|
ldapauth.dcroot
|
|
��w�����Ҿ𪬥ؿ� DC �ڥؿ�C
|
ldapauth.domainattr
|
inetDomainBaseDN�BinetDomainStatus�BinetDomainSearchFilter�BdomainUidSeparator�BpreferredLanguage
|
��w�q��춵���^���ݩʲM��A�H���ҨϥΪ̡C
|
ldapauth.domainfilter
|
(|(objectclass=inetDomain)(objectclass=inetDomainAlias))
|
��w�^���춵�خھڪ��L�o���C
|
ldapauth.ldapbinddn
|
|
��w�s�������� LDAP ���ϥΪ̤��ϥΪ� DN�C
|
ldapauth.ldapbindcred
|
|
��w�s�������� LDAP ���ϥΪ̤��K�X�C
|
ldapauth.enablessl
|
False
|
��w������Ҫ��ؿ�O�_�O SSL �Ҧ��C
��w�]���ܧuTrue�v�A�H�K�]�w�w�� LDAP �s�u�C
|
�� 3-6 LDAP �ϥΪ̸s�հѼ�
�Ѽ�
|
�w�]��
|
�y�z
|
ldapusersession.ldaphost
|
|
��w�ϥΪ̸s�� Directory Server ���D��W�١C
|
ldapusersession.ldapport
|
|
��w�ϥΪ�/�s�� Directory Server ���s���X�C
|
ldapusersession.ldapbinddn
|
|
��w�s����ϥΪ̸s�� Directory Server ���z��ϥΪ� DN�C
|
ldapusersession.ldapbindcred
|
|
��w�s���ܨϥΪ̾𪺺z��K�X�C
|
ldapusersession.dcroot
|
|
��w�ΨӸѪR Sun Java System LDAP Schema v.1 ���A�ϥΪ̶��ت��ϥΪ�/�s�� LDAP ������줸�� (DC) ��C
|
�b uwcauth.properties �ɮפ��t�m Identity Server
�� 3-7 Identity Server �Ѽ�
�Ѽ�
|
�w�]��
|
�y�z
|
uwcauth.identity.enabled
|
True
|
��w�O�_�n�ҥ� Identity Sever�C
�p�G Identity Server ����@�n�J���Ω����ҡA�ݩʴN�|�]���uTrue�v�C
|
uwcauth.identity.naming.url
|
|
��w�R�W URL �� Identity Server
�Ҧp�Auwcauth.identity.naming.url= protocol://hostname:port Context URI
|
uwcauth.identity.binddn
|
|
��w amAdmin �ϥΪ̪������O�W�� (DN)�C
�Ҧp�A
uid=amadmin, ou=People, o=siroe.com
|
uwcauth.identity.bindcred
|
|
��w amAdmin �K�X�C
|
|
�`�N
|
�b uwcauth.identity.enabled �ȳ]���uTrue�v�ɡA�N�j��n�t�m uwcauth.identity.naming.url�Buwcauth.identity.binddn�Buwcauth.identity.bindcred�C
|
|
�b uwcauth.properties �ɮפ��t�m�ϥΪ�/�s�ժ��ϥΪ̬d�߰Ѽ�
�� 3-8 �ϥΪ̬d�߰Ѽ�
�Ѽ�
|
�w�]��
|
�y�z
|
ldapusersession.defaultugfilter
|
uid@domain
|
��w�Ω��^��ϥΪ̶��خɪ��w�]�L�o�y�k�C
|
ldapusersession.ldappoolmin
|
30
|
��w�إߵ��ϥΪ�/�s�� LDAP �� LDAP �ϥΪ̳s�u�̤p�ơC
|
ldapusersession.ldappoolmax
|
100
|
��w�إߵ��ϥΪ�/�s�� LDAP �� LDAP �ϥΪ̳s�u�̤j�ơC
�ھڱz�����p�ݨD��J�̨έȡC
|
ldapusersession.lookthru_limit
|
1000
|
��w���j�M���j�M�d�߭���C
|
�b uwcconfig.properties �ɮפ��t�m Calendar Server ���Ѽ�
|
�`�N
|
�T�w Sun Java System Calendar Server �����ҥΥN�z�{�ҤΰΦW�s��C
�Y�n�ҥΥN�z�{�ҤΰΦW�s��A�Цb��ƾ�t�m ics.config �ɮפ��t�m�U�C Calendar Server �ѼơG
- service.http.allowadminproxy = "yes"
- service.http.admins = <�]�A uwcconfig.properties ����w�� calendar.wcap.adminid ����>
- service.admin.calmaster.userid = <uwcconfig.properties ����w�� calendar.wcap.adminid ����>
- service.admin.calmaster.cred = <uwcconfig.properties ����w�� calendar.wcap.passwd ����>
- service.wcap.anonymous.allowpubliccalendarwrite = "yes"
- service.http.allowanonymouslogin = "yes"
- service.calendarsearch.ldap = "no"
�p�ݱҥΥN�z�{�Ҫ��ԲӸ�T�ΰt�m Calendar Server �Ѽƪ�����A�аѾ\�uSun Java System Calendar Server �z��n�v�A��m�b http://docs.sun.com/doc/817-7089�C
|
|
�� 3-9 Calendar Server �Ѽ�
�Ѽ�
|
�w�]��
|
�y�z
|
calendar.deployed
|
True
|
��w�O�_�n���p��ƾ�ҲաC �z���t�m���F�ɳ]�w���ѼơC
�p�G�w���p��ƾ�A�ݩʷ|�]���uTrue�v�C
|
calendar.wcap.host
|
|
��w WCAP ��A�����D��W�١C
|
calendar.wcap.port
|
|
��w WCAP ��ť���s���X�C
|
calendar.wcap.adminid
|
|
��w�� WCAP ��A�����z�� ID�C
|
calendar.wcap.passwd
|
|
��w�� WCAP ��A�����z��K�X�C
|
|
�`�N
|
- �T�w�z�� calendar.wcap.adminid ����ƾ�z��ϥΪ� ID �ȻP Calendar Server �� ics.conf �ɮפ����Ϊ� service.admin.calmaster.userid �ȬۦP�C
- �p�G��ƾ�b�U��� (�ε��:��) �ҥμҦ������A��ƾ�z��ϥΪ� ID �Ȫ��榡�N3���uuid@domain�v�C �_�h�A�p�G��ƾ�b�U��찱�� (�ΫD���:��) �Ҧ������A��ƾ�z��ϥΪ� ID �Ȫ��榡�N3�� uid�C
- �T�w LDAP ��A���W�A����ƾ�z��ϥΪ� ID ��3���ϥΪ̶��ءC
|
|
�b db_config.properties �ɮפ��t�m�q�T��ӤH�x�s�Ѽ�
�� 3-10 �C�X db_config.properties �ɮפ����w�]�q�T��ӤH�x�s�t�m�ѼơC
�ɮץi�Ѧ��s��G
<uwc-deployed-path>/WEB-INF/config/ldappstore/
�� 3-10 �ӤH�q�T��ӤH�x�s�Ѽ�
�Ѽ�
|
�w�]��
|
�y�z
|
defaultserver.ldaphost
|
|
��w���ӤH�q�T�� (PAB) �x�s�� LDAP �D��C
|
defaultserver.ldapport
|
|
��w���x�s���s����C
|
defaultserver.ldapbinddn
|
|
��w��s���� PAB �x�s�� DN�C
�p�G�n�J����������ΥN�z�A�N�j��n��J���ȡC
�p�G�n�J�����O�u�ΦW�v�A�N���ݭn���o�ӰѼƿ�J�ȡC
|
defaultserver.ldapbindcred
|
|
��w��s���� PAB �x�s�� DN ���K�X�C
|
login_type
|
restricted
|
��w�ΨӺ��@ LDAP �x�s�s�u����k�C
�z�i�H��U�C�T�ӭȫ�쥻�ѼơG
anon - �H�ΦW�ϥΪ̳s�u�� LDAP�C
restricted - �H���v���b�q�T���x�s�W���ާ@���ϥΪ̳s�u�C
proxy - ���˦��i�H�b�q�T���x�s�W���ާ@���ϥΪ̡C ��ȡA�b�C�Ӿާ@�W�} LDAP �s���ɱj�Ʈį�C
�`�N�G ��ij�b�����˪��ϥΪ̭n���z��Ū� ACL�C
|
defaultserver.ldappoolmin
|
4
|
��w�O�d�� PAB �x�s�� LDAP �Τ�ݳs�u�̤p�ơC
|
defaultserver.ldappoolmax
|
12
|
��w�O�d�� PAB �x�s�� LDAP �Τ�ݳs�u�̤j�ơC
|
defaultserver.ldappooltimeout
|
10
|
��w�� LDAP �s�u�O�ɤ��e����ơC �Y�n�t�X�ܤj���j�M���G�A�мW�[���ȡC
|
lookthru_limit
|
1000
|
��w���j�M���j�M�d�߭���C
|
�t�m���q�ؿ�Ѽ� db_config.properties �ɮ�
�� 3-11 �C�X db_config.properties �ɮפ����w�]���q�ؿ�ѼơC �ھڹw�]�ȡA�Ҧ��� LDAP �����T�A���O�ھڨϥΪ�/�s�եؿ�Ҵ��Ϊ��Ȩӳ]�w�C
db_config.properties �ɮץi�Ѧ��s��G
WEB-INF/config/corp-dir/
�� 3-11 ���q�ؿ�Ѽ�
�Ѽ�
|
�w�]��
|
�y�z
|
defaultserver.ldaphost
|
|
��w�����q�ؿ� LDAP �D��C
|
defaultserver.ldapport
|
|
��w�����q�ؿ�s����C
|
defaultserver.ldapbinddn
|
|
��w�Ω�s���ܤ��q�ؿ� DN�C
�p�G�n�J����������ΥN�z�A�N�j��n��ȫ� defaultserver.ldapbinddn�C �p�G�n�J�����O�u�ΦW�v�A�N���ݭn���o�ӰѼƿ�J�ȡC
|
defaultserver.ldapbindcred
|
|
��s���K�X�C
|
entry_id
|
uid
|
��q�ؿ�K�_�A�Ω��ѧO�p���H/�s�ն��ءC
�z�i�H�� entry_id �]�� UID �αK�_�A�Ω��o�p���H/�s�ո�T�A�Ҧp empid �ΥD�n ID�C
�b xlate-inetorgperson.xml �ɮפ��A�� <entry entryID= "db:uid"> �����uuid�v�%N�����B��w�� entry_id �ȡC
|
login_type
|
restricted
|
��w�ΨӺ��@ LDAP �x�s�s�u����k�C
�z�i�H��U�C�T�ӭȫ�쥻�ѼơG
anon - �H�ΦW�ϥΪ̳s�u�� LDAP�C
restricted - �H���v���b�q�T���x�s�W���ާ@���ϥΪ̳s�u�C
proxy - ���˦��i�H�b�q�T���x�s�W���ާ@���ϥΪ̡C ��ȡA�b�C�Ӿާ@�W�} LDAP �s���ɱj�Ʈį�C
�`�N�G ���˪��ϥΪ̨�o��Ū�v���C
|
defaultserver.ldappoolmin
|
1
|
��w�O�d�����q�ؿ� LDAP �Τ�ݳs�u�̤p�ơC
|
defaultserver.ldappoolmax
|
4
|
��w�O�d�����q�ؿ� LDAP �Τ�ݳs�u�̤j�ơC
|
defaultserver.ldappooltimeout
|
10
|
��w�� LDAP �s�u�O�ɤ��e����ơC �Y�n�t�X�ܤj���j�M���G�A�мW�[���ȡC
|
lookthru_limit
|
1000
|
��w���j�M���j�M�d�߭���C
|
���q�ؿ���@�G�� xlate �ɮסA�榡�� xlate-<objectclass-name>.xml�C
- �p���H�� xlate-inetorgperson.xml
- �s�ժ� xlate-groupofuniquemembers.xml
�b xlate-<objectclass-name>.xml ���A<objectclass-name> �N���ѧO�S�w LDAP �����������������O�C �Ҧp�Axlate-inetorgperson.xml �O�@�Ӫ������O�A�Ω��ѧO�p���H�Agroupofuniquemembers �O�@�Ӫ������O�A�Ω��ѧO Sun Java System Directory Server�C
xlate �ɮץ]�t�p���H�θs�ժ� LDAP �Ҧ��γq�T�� XML �Ҧ�������M�C ��M�O�H XML �`�I�өw�q�C�Ҧp�A
<ab-xml-schema-key>db:LDAPField</ab-xml-schema-key>
�䤤�Aab-xml-schema-field �O�q�T��b�{���X���ϥΪ��ȡALDAPField �O�b LDAP ����3�����W�١C
�z�������� LDAPField �A�?���W�١C �� LDAPField ����3�ӹ�3�줽�q�ؿ� LDAP �Ҧ����s�b�� LDAPField �ȡC
�{���X�d�� 3-1 �O xlate-inetorgperson.xml �ɮת��d�ҡG
�{���X�d�� 3-1 xlate-introgperson ���w�]���e
<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>
|
|
�t�m�w���M���h (SSL)
�z�i�H�t�m Web Server�A�b�W���H SSL �Ҧ����p Communications Express�C ����p��t�m Web Server (�b�W���H SSL �Ҧ����p Communications Express) ���ԲӸ�T�A�аѾ\�uSunONE Web Server Administrator's Configuration File Reference�v�A��m�b http://docs.sun.com/db/coll/S1_websvr61_en�C
�Y�n�H SSL �Ҧ��ϥ� Communications Express
- �s�� <uwc-deployed-path>/WEB-INF/config/uwcauth.properties �����U�C�t�m�ѼơG
- uwcauth.ssl.enable=true
- uwcauth.https.port=SSL-port-number-of-the webserver-in which-uwc-is-deployed
Communications Express �]�i�H�t�m�� SSL�A�ȭ����ҥγ~�C �o��ܥi�H�ǥ� SSL ������ҡA�i�O����s��3�ε{���N�O�ǥѫD SSL �Ҧ��C
�Y�n�Ȭ����ҵ{�ǰt�m Communications Express �� SSL �\��
- �b uwcauth.properties �ɮ����� uwcauth.ssl.enable �]���uFalse�v�C
- �� uwcauth.https.port �]�����p Communications Express �� Web Server SSL �s���X�C
- �� uwcauth.ssl.authonly �]���uTrue�v�C
|
�`�N
|
�G�ӰѼơAuwcauth.ssl.authonly �� uwcauth.ssl.enable �O�������Ѽ��C
|
|