<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>domino &#8211; Sanmao的幸福(?)生活</title>
	<atom:link href="/articles/tag/domino/feed" rel="self" type="application/rss+xml" />
	<link>/</link>
	<description>Domino/Notes技术、Ubuntu、TV Game</description>
	<lastBuildDate>Wed, 29 Apr 2015 12:54:42 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.2.2</generator>
	<item>
		<title>Domino LTPA cookie 的生成原理</title>
		<link>/articles/the-domino-ltpa-cookie-authentication.html</link>
				<comments>/articles/the-domino-ltpa-cookie-authentication.html#respond</comments>
				<pubDate>Mon, 13 Apr 2009 02:24:48 +0000</pubDate>
		<dc:creator><![CDATA[Sanmao]]></dc:creator>
				<category><![CDATA[Domino/Notes]]></category>
		<category><![CDATA[domino]]></category>
		<category><![CDATA[LTPA]]></category>

		<guid isPermaLink="false">http://sanmao.yo2.cn/?p=638018</guid>
				<description><![CDATA[在与 Domino 做 SSO 的时候，经常会使用 LTPA  的方式，本文描述了它的生成原理，通过它我们可以 [&#8230;]]]></description>
								<content:encoded><![CDATA[<p>在与 Domino 做 SSO 的时候，经常会使用 LTPA  的方式，本文描述了它的生成原理，通过它我们可以自己编码生成身份认证的 cookie，实现 SSO。</p>
<p>首先，这个 cookie 由以下部分组成：</p>
<ul>
<li>LTPA token 版本（4字节）</li>
<li>创建时间（8字节）</li>
<li>过期时间（8字节）</li>
<li>用户名（可变长度）</li>
<li>Domino LTPA 密钥（20字节）</li>
</ul>
<p>接下来分别说明各部分的具体内容：</p>
<ul>
<li>LTPA token 版本目前 Domino 只有一种值：<em><del>0x0001</del> 0x0123</em></li>
<li>创建时间和过期时间为以十六进制方式表示的 <a href="http://en.wikipedia.org/wiki/Unix_time" target="_blank">Unix time</a>，例如 <em>2009-04-09 13:52:42 (GMT +8) = 1239256362 = 49DD8D2A</em>。过期时间为 <em>创建时间 + SSO 配置文档的过期时间（LTPA_TokenExpiration域）</em></li>
<li>用户名为 Names 中用户文档的 <em>FullName</em> 域值</li>
<li>Domino LTPA 密钥通过 Base64编码后，保存在 SSO 配置文档的 <em>LTPA_DominoSecret</em> 域中</li>
</ul>
<p><img class="alignnone size-full wp-image-638017" src="/pic/ltpa-01.png" alt="ltpa-01" width="471" height="230" /></p>
<p>在这里当然不能将密钥直接发送给浏览器，所以将上述部分合并起来（如上图），计算 SHA-1 校验和。</p>
<p><img class="alignnone size-full wp-image-638016" src="/pic/ltpa-02.png" alt="ltpa-02" width="471" height="230" /></p>
<p>然后用 SHA-1 校验和替换掉 Domino LTPA 密钥，最后再将内容通过 Base64 编码，形成最终的 cookie 发送给浏览器（如上图）。这样如果 cookie 中的任何内容被修改，校验和就不对了，达到了防篡改的效果。</p>
<p>参考资料：<a href="http://www.dominoexperts.com/articles/Creating-a-session-for-a-user" target="_blank">Creating a session for a user</a>，<del><a href="http://blogs.nil.com/jeds/2009/04/04/ltpa-token/">The Domino cookie authentication</a>，<a href="http://code.google.com/p/offbytwo/source/browse/#svn/trunk/bitsandpieces/LTPAUtils" target="_blank">LTPAUtils</a></del></p>
]]></content:encoded>
							<wfw:commentRss>/articles/the-domino-ltpa-cookie-authentication.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Notes/Domino 7.0.4 已发布</title>
		<link>/articles/notesdomino-704-available.html</link>
				<comments>/articles/notesdomino-704-available.html#respond</comments>
				<pubDate>Thu, 09 Apr 2009 02:52:39 +0000</pubDate>
		<dc:creator><![CDATA[Sanmao]]></dc:creator>
				<category><![CDATA[Domino/Notes]]></category>
		<category><![CDATA[domino]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://sanmao.yo2.cn/?p=638012</guid>
				<description><![CDATA[这是一个维护更新版本，英文版现已发布，中文版将于5月7日发布。除了大量的 bug 修正，主要更新点如下： Ja [&#8230;]]]></description>
								<content:encoded><![CDATA[<p>这是一个维护更新版本，英文版现已发布，中文版将于5月7日发布。除了大量的 bug 修正，主要更新点如下：</p>
<ul>
<li>Java<img src="https://s.w.org/images/core/emoji/12.0.0-1/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" /> 版本升级为 1.4.2 SR11</li>
<li>增强对操作系统和硬件的支持</li>
<li>增加禁用保存聊天记录的选项</li>
</ul>
<p><a href="http://www-01.ibm.com/cgi-bin/common/ssi/ssialias?infotype=an&amp;subtype=ca&amp;htmlfid=897/ENUS209-096&amp;appname=isource&amp;language=enus&amp;open&amp;cm_mmc=4770-_-n-_-vrm_newsletter-_-10207_110934&amp;cmibm_em=dm:0:16632223" target="_blank">IBM Lotus Notes and Domino 7.0.4 maintenance release contains updated platform support and fixes</a></p>
]]></content:encoded>
							<wfw:commentRss>/articles/notesdomino-704-available.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Domino 的全文搜索支持哪些格式的附件？</title>
		<link>/articles/what-types-of-attachments-are-supported-by-the-full-text-indexer-in-notesdomino.html</link>
				<comments>/articles/what-types-of-attachments-are-supported-by-the-full-text-indexer-in-notesdomino.html#respond</comments>
				<pubDate>Mon, 23 Mar 2009 03:20:49 +0000</pubDate>
		<dc:creator><![CDATA[Sanmao]]></dc:creator>
				<category><![CDATA[Domino/Notes]]></category>
		<category><![CDATA[domino]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://sanmao.yo2.cn/?p=637724</guid>
				<description><![CDATA[常见的文档格式基本都支持，如：text、MS word/excel/powerpoint、PDF等。 详细列表 [&#8230;]]]></description>
								<content:encoded><![CDATA[<p>常见的文档格式基本都支持，如：text、MS word/excel/powerpoint、PDF等。</p>
<p>详细列表参考 <a href="http://www-01.ibm.com/support/docview.wss?rs=0&amp;uid=swg21137802" target="_blank">What types of attachments are supported by the full text indexer in Notes/Domino 6.x?</a></p>
]]></content:encoded>
							<wfw:commentRss>/articles/what-types-of-attachments-are-supported-by-the-full-text-indexer-in-notesdomino.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>服务器配置优化工具：Domino Configuration Tuner</title>
		<link>/articles/domino-configuration-tuner.html</link>
				<comments>/articles/domino-configuration-tuner.html#respond</comments>
				<pubDate>Thu, 22 Jan 2009 01:43:50 +0000</pubDate>
		<dc:creator><![CDATA[Sanmao]]></dc:creator>
				<category><![CDATA[Domino/Notes]]></category>
		<category><![CDATA[dct]]></category>
		<category><![CDATA[domino]]></category>

		<guid isPermaLink="false">http://sanmao.yo2.cn/articles/domino-configuration-tuner.html</guid>
				<description><![CDATA[这是一个随 Domino 8.5 一起推出的辅助工具，可以通过分析服务器文档、notes.ini 等配置表，为 [&#8230;]]]></description>
								<content:encoded><![CDATA[<p>这是一个随 Domino 8.5 一起推出的辅助工具，可以通过分析服务器文档、notes.ini 等配置表，为管理员提出存在的问题以及优化的建议。此工具支持 Domino 7 及以上版本，具体介绍请参考此文档：</p>
<p style="width: 425px;text-align: left"><a title="Domino Configuration Tuner" href="http://www.slideshare.net/sanmao/domino-configuration-tuner-presentation?type=powerpoint">Domino Configuration Tuner</a></p>
<p style="font-size: 11px;font-family: tahoma,arial;height: 26px;padding-top: 2px">View more <a href="http://www.slideshare.net/">presentations</a> or <a href="http://www.slideshare.net/upload?type=powerpoint">upload</a> your own. (tags: <a href="http://slideshare.net/tag/domino">domino</a> <a href="http://slideshare.net/tag/dct">dct</a>)</p>
<p style="font-size: 11px;font-family: tahoma,arial;height: 26px;padding-top: 2px">参考链接：<a href="http://www-10.lotus.com/ldd/dominowiki.nsf/dx/domino-configuration-tuner" target="_blank">Domino Configuration Tuner ( Domino Wiki )</a></p>
]]></content:encoded>
							<wfw:commentRss>/articles/domino-configuration-tuner.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Notes/Domino 8.5 发布</title>
		<link>/articles/notes-domino-85-available.html</link>
				<comments>/articles/notes-domino-85-available.html#respond</comments>
				<pubDate>Wed, 07 Jan 2009 02:30:33 +0000</pubDate>
		<dc:creator><![CDATA[Sanmao]]></dc:creator>
				<category><![CDATA[Domino/Notes]]></category>
		<category><![CDATA[domino]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://sanmao.yo2.cn/articles/notes-domino-85-available.html</guid>
				<description><![CDATA[原本计划于08年底发布的 ND8.5 来迟了一周，终于在09年初发布了。关键新特性如下： ID 管理功能增强： [&#8230;]]]></description>
								<content:encoded><![CDATA[<p>原本计划于08年底发布的 ND8.5 来迟了一周，终于在09年初发布了。关键新特性如下：</p>
<ul>
<li>ID 管理功能增强： 共享登录（登录 Windows 后自动登录 Notes，而且不需要密码相同）、ID Vault</li>
<li>通过新增的 DAOS(Domino Attachment and Object Service) 特性，减少磁盘存储的开销</li>
<li>XPage 和基于 Eclipse 的新设计端</li>
<li>日历增强：可以导入其他外部日历，如 Google 日历和 iCal 格式的日历</li>
<li>Notes Traveler 增加对 Nokia S60 平台的支持（原来仅支持 Windows Mobile 设备）</li>
<li>新增 DCT(Domino Configuration Tuner ) 工具，帮助管理员分析系统存在的问题</li>
<li>增加对 Mac OS 10.5 和 Ubuntu Linux 的支持（我非工作时用的两个操作系统，嘿嘿）</li>
</ul>
<p>英文版本已经可以下载，中文版将于 1月15日推出。</p>
<p><a href="http://www-01.ibm.com/common/ssi/index.wss?DocURL=http://www-01.ibm.com/common/ssi/rep_ca/3/897/ENUS209-033/index.html&amp;InfoType=AN&amp;InfoSubType%C3%8A&amp;InfoDesc=Announcement+Letters&amp;panelurl=index.wss%3F&amp;paneltext=Announcement%20letter%20search" target="_blank">IBM US Announcement Letter</a>, <a href="http://www.nokia.com/A4136001?newsid=1271807" target="_blank">Nokia extends IBM Lotus email access to 80 million mobile phones</a></p>
]]></content:encoded>
							<wfw:commentRss>/articles/notes-domino-85-available.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
	</channel>
</rss>
