svnno****@sourc*****
svnno****@sourc*****
2008年 2月 28日 (木) 19:57:38 JST
Revision: 35
http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=jetspeed-japan&view=rev&rev=35
Author: karma
Date: 2008-02-28 19:57:38 +0900 (Thu, 28 Feb 2008)
Log Message:
-----------
1st translate.
Modified Paths:
--------------
jetspeed-2-trans/trunk/ja/xdocs/guides/guide-ntlm.xml
-------------- next part --------------
Modified: jetspeed-2-trans/trunk/ja/xdocs/guides/guide-ntlm.xml
===================================================================
--- jetspeed-2-trans/trunk/ja/xdocs/guides/guide-ntlm.xml 2008-02-20 09:40:52 UTC (rev 34)
+++ jetspeed-2-trans/trunk/ja/xdocs/guides/guide-ntlm.xml 2008-02-28 10:57:38 UTC (rev 35)
@@ -17,14 +17,18 @@
-->
<document>
<properties>
- <title>Guide to using NTLM Authentication</title>
- <subtitle>How to configure NTLM authentication with an optional fallback authentication method.</subtitle>
+ <title>[Guide to using NTLM Authentication] NTLM 認証のガイド</title>
+ <subtitle>[How to configure NTLM authentication with an optional fallback authentication method.] オプショナルなフォールバック認証方法を伴った NTLM 認証の設定方法</subtitle>
<authors>
<person name="Dennis Dam" email="d.dam****@hippo*****" />
</authors>
+ <translators>
+ <person name="加藤泰文" email="karma****@prog*****" />
+ </translators>
</properties>
<body>
- <section name="NTLM Authentication in Jetspeed">
+ <section name="[NTLM Authentication in Jetspeed] Jetspeed での NTLM 認証">
+ <div class="original">
<p>
NTLM Authentication can be used for Single Sign On (SSO) from a Windows client/browser. A nice explanation about NTLM can be found <a href="http://jcifs.samba.org/src/docs/ntlmhttpauth.html">here</a>.
Jetspeed-2 supports NTLM Authentication based on the <a href="http://jcifs.samba.org">jCIFS</a> Servlet filter. With the approach described below
@@ -34,8 +38,14 @@
The solution below can also be used as a replacement for the default Security Valve:
if you don't configure the filters, then Jetspeed's default authorization will be applied.
</p>
+ </div>
+ <p>
+ NTLM 認証は,Windows クライアントやブラウザからのシングルサインオン (SSO) に使います.NTLM 認証についての分かりやすい説明は,<a href="http://jcifs.samba.org/src/docs/ntlmhttpauth.html">ここ</a> で見つけることが出来ます.Jetspeed 2 は,<a href="http://jcifs.samba.org/">jCIFS</a> サーブレットフィルタベースの NTLM 認証をサポートします.後述のアプローチを採る事により,デフォルトで有効な認証のオプショナルなフォールバックとして,そして現在の認証の置き換え用のソリューションとして,NTLM 認証を使うことが可能です.ログイン方法のフォールバックの典型的な応用は,ユーザが異なるドメインのイントラネットへのログオンを行うときです.このようなユーザを,ログインスクリーンへリダイレクトさせることが出来ます.<br />
+ 後述のソリューションは,デフォルトのセキュリティバルブの置き換えとしても利用可能です.もし,このフィルタを設定しないとき,Jetspeed のデフォルトの認証が使われます.
+ </p>
</section>
- <section name="Configuring NTLM Authentication">
+ <section name="[Configuring NTLM Authentication] NTLM 認証の設定">
+ <div class="original">
<p>
Jetspeed-2 security configuration is explained
<a href="guide-security.html">
@@ -43,12 +53,22 @@
</a>
.
</p>
- <subsection name="Configuring NTLM servlet filters">
+ </div>
+ <p>
+ Jetspeed 2 のセキュリティの設定は,<a href="guide-security.html">ここ</a>で説明されています.
+ </p>
+ <subsection name="[Configuring NTLM servlet filters] NTLM サーブレットフィルタの設定">
+ <div class="original">
<p>
The first step is to configure jCIFS NTLM HTTP Authentication, which is explained <a href="http://jcifs.samba.org/">here</a>.
You configure jCIFS as a filter in the web.xml of your webapp. Next, you must configure
a second Jetspeed servlet filter, which must be placed right <i>after</i> the jCIFS filter. An example configuration:
</p>
+ </div>
+ <p>
+ jCIFS NTLM HTTP 認証を設定するための最初のステップは,<a href="http://jcifs.samba.org/">ここ</a>に説明されています.jCIFS を,ウェブアプリの web.xml にフィルタとして設定します.次に,2 番目の Jetspeed サーブレットフィルタを設定しなければいけません.jCIFS フィルタの<i>後</i>で正しく設置しなければなりません.設定例を挙げます.
+ </p>
+ <div class="original">
<source><![CDATA[
<filter>
<filter-name>NtlmHttpFilter</filter-name>
@@ -77,14 +97,49 @@
<filter-name>NtlmHttpServletRequestFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>]]></source>
+ </div>
+ <source><![CDATA[
+<filter>
+ <filter-name>NtlmHttpFilter</filter-name>
+ <filter-class>jcifs.http.NtlmHttpFilter</filter-class>
+ <init-param>
+ <param-name>jcifs.smb.client.domain</param-name>
+ <param-value>SOME_DOMAIN</param-value>
+ </init-param>
+</filter>
+
+<filter>
+ <filter-name>NtlmHttpServletRequestFilter</filter-name>
+ <filter-class>org.apache.jetspeed.security.impl.ntlm.NtlmHttpServletRequestFilter</filter-class>
+ <init-param>
+ <param-name>org.apache.jetspeed.security.ntlm.ignoreUrls</param-name>
+ <param-value>/login/login</param-value>
+ </init-param>
+</filter>
+
+<filter-mapping>
+ <filter-name>NtlmHttpFilter</filter-name>
+ <url-pattern>/*</url-pattern>
+</filter-mapping>
+
+<filter-mapping>
+ <filter-name>NtlmHttpServletRequestFilter</filter-name>
+ <url-pattern>/*</url-pattern>
+</filter-mapping>]]></source>
</subsection>
- <subsection name="Configuring NTLM Security Valve">
+ <subsection name="[Configuring NTLM Security Valve] NTLM セキュリティバルブの設定">
+ <div class="original">
<p>
The above filters set the correct credentials on the request. To use these credentials, you
have to configure the <code>org.apache.jetspeed.security.impl.ntlm.NtlmSecurityValve</code> in the
Jetspeed pipelines you want to secure. This Valve can be used as a <i>replacement</i> for the default <code>SecurityValveImpl</code>. For explanation about how to set up pipelines, see
<a href="guide-pipeline.html">here</a>. An example of how to configure the NtlmSecurityValve bean:
</p>
+ </div>
+ <p>
+ 前述のフィルタは,リクエストの正しい資格を設定します.これらの資格を使用するには,あなたがセキュアに設定したい Jetspeed パイプライン内の<code>org.apache.jetspeed.security.impl.ntlm.NtlmSecurityValve</code> を設定する必要があります.このバルブは,デフォルトの <code>SecurityValveImpl</code> の<i>置き換え</i>として使うことが出来ます.パイプラインの設定方法についての説明は,<a href="guide-pipeline.html">こちら</a>をご覧ください.NtlmSecurityValve ビーンの設定方法の例は以下の通りです.
+ </p>
+ <div class="original">
<source>
<![CDATA[
<bean id="securityValve" class="org.apache.jetspeed.security.impl.ntlm.NtlmSecurityValve" init-method="initialize">
@@ -101,7 +156,24 @@
-->
<constructor-arg><value>false</value></constructor-arg>
</bean>]]></source>
+ </div>
+ <source>
+ <![CDATA[
+<bean id="securityValve" class="org.apache.jetspeed.security.impl.ntlm.NtlmSecurityValve" init-method="initialize">
+ <constructor-arg>
+ <ref bean="org.apache.jetspeed.security.UserManager" />
+ </constructor-arg>
+ <!-- ネットワークドメイン.認証されたユーザ名から取り除く場合の値.-->
+ <constructor-arg><value>SOME_DOMAIN</value></constructor-arg>
+ <!-- ユーザ主体のドメインを取り除く -->
+ <constructor-arg><value>true</value></constructor-arg>
+ <!--
+ NTLM 認証の必要性.
+ もし true に設定されたら,NTLM 認証で認証されたユーザだけが権限を与えられる.
+ -->
+ <constructor-arg><value>false</value></constructor-arg>
+</bean>]]></source>
</subsection>
</section>
</body>
-</document>
\ No newline at end of file
+</document>