svnno****@sourc*****
svnno****@sourc*****
2007年 12月 3日 (月) 11:29:59 JST
Revision: 24
http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=jetspeed-japan&view=rev&rev=24
Author: shinsuke
Date: 2007-12-03 11:29:58 +0900 (Mon, 03 Dec 2007)
Log Message:
-----------
contribution from N2SM, Inc.
Modified Paths:
--------------
jetspeed-2-trans/trunk/ja/xdocs/guides/guide-demo.xml
jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-jsf-portlet.xml
jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-velocity-portlet.xml
jetspeed-2-trans/trunk/ja/xdocs/guides/guide-tomcat-sso-cross-context-j2-realm.xml
jetspeed-2-trans/trunk/xdocs/assignment.xml
-------------- next part --------------
Modified: jetspeed-2-trans/trunk/ja/xdocs/guides/guide-demo.xml
===================================================================
--- jetspeed-2-trans/trunk/ja/xdocs/guides/guide-demo.xml 2007-11-26 10:55:51 UTC (rev 23)
+++ jetspeed-2-trans/trunk/ja/xdocs/guides/guide-demo.xml 2007-12-03 02:29:58 UTC (rev 24)
@@ -23,17 +23,28 @@
<person name="David Le Strat" email="dlest****@apach*****" />
<person name="Philip Mark Donaghy" email="pmd****@apach*****" />
</authors>
+ <translators>
+ <person name="N2SM, Inc." email="jetsp****@lists*****" />
+ </translators>
</properties>
<body>
- <section name="Live Jetspeed Demo">
- <p>To get a quick look at the Jetspeed decorators, themes,
+ <section name="[Live Jetspeed Demo]Jetspeedデモ体験">
+ <p><div class="original">To get a quick look at the Jetspeed decorators, themes,
<a href="../features.html">functionalities</a>,
and the admin interface point your browser to
<a href="http://portals.zones.apache.org:8080/jetspeed/portal/">the standard portal demo</a> or
<a href="http://portals.zones.apache.org:8080/jetspeed/desktop/">the web 2.0 desktop demo</a>.
Use the username <i>admin</i> connects using the password <i>j2</i>. Note: It is probable that
someone changes the password therefore we will regenerate the site on a regular basis.
+ </div>
</p>
+ <p>Jetspeedデコレータのクイックルック、テーマ、機能、そして管理者インターフェースを確認するために
+ <a href="http://portals.zones.apache.org:8080/jetspeed/portal/">標準のポータルデモ</a>、または
+ <a href="http://portals.zones.apache.org:8080/jetspeed/desktop/">web2.0デスクトップデモ</a>
+ をブラウザ上で動かすことが出来ます。
+ ユーザ名「admin」、パスワード「j2」で接続して下さい。<br/>
+ 注意:誰かによってパスワードが変えられる可能性もあるのでサイトは定期的に更新する予定です。
+ </p>
</section>
</body>
</document>
Modified: jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-jsf-portlet.xml
===================================================================
--- jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-jsf-portlet.xml 2007-11-26 10:55:51 UTC (rev 23)
+++ jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-jsf-portlet.xml 2007-12-03 02:29:58 UTC (rev 24)
@@ -23,15 +23,24 @@
<person name="David Le Strat" email="dlest****@apach*****" />
<person name="Philip Mark Donaghy" email="phili****@gmail*****" />
</authors>
+ <translators>
+ <person name="N2SM, Inc." email="jetsp****@lists*****" />
+ </translators>
</properties>
<body>
- <section name="Jetspeed Simple JSF Portlet Guide">
- <p>
+ <section name="[Jetspeed Simple JSF Portlet Guide]Jetspeed Simple JSF Portlet ガイド">
+ <p><div class="original">
This guide provides a tutorial for creating a very
simple JSF portlet with one template in the portlet view mode.
+ </div>
</p>
- <subsection name="1. The Portlet Class">
+ <p>
+ このガイドはportlet視点モードの1個のテンプレートで簡単にJSF portletを
+ 作成するチュートリアルを提供します。
+ </p>
+ <subsection name="1. [The Portlet Class]ポートレットクラス">
<p>
+ <div class="original">
Create the file JSFSimplest.java in a directory called
jsf-simplest/WEB-INF/classes:
<source>
@@ -45,16 +54,41 @@
}
}
</source>
+ </div>
</p>
<p>
+ jsf-simplest/WEB-INF ディレクトリでportlet.xmlを作成してください。
+ <source>
+public class JSFSimplest extends org.apache.portals.bridges.jsf.FacesPortlet
+{
+
+ public void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
+ throws javax.portlet.PortletException, java.io.IOException
+ {
+ super.doView(request, response);
+ }
+}
+ </source>
+ </p>
+ <p>
+ <div class="original">
Compile the class in the jsf-simplest/WEB-INF/classes directory using the command,
<source>
javac -cp portlet-api-1.0.jar:portals-bridges-jsf-1.0.jar:portals-bridges-common-1.0.jar JSFSimplest.java
</source>
+ </div>
</p>
+ <p>
+ コマンドを使用して、jsf-simplest/WEB-INF/classes ディレクトリで
+ クラスをコンパイルしてください。
+ <source>
+javac -cp portlet-api-1.0.jar:portals-bridges-jsf-1.0.jar:portals-bridges-common-1.0.jar JSFSimplest.java
+ </source>
+ </p>
</subsection>
- <subsection name="2. The portlet.xml">
+ <subsection name="2. [The portlet.xml]portlet.xml">
<p>
+ <div class="original">
Create the file portlet.xml in the jsf-simplest/WEB-INF directory.
<source><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
@@ -80,10 +114,39 @@
</portlet>
</portlet-app>]]>
</source>
+ </div>
</p>
+ <p>
+ jsf-simplest/WEB-INF ディレクトリでportlet.xmlを作成してください。
+ <source><![CDATA[
+<?xml version="1.0" encoding="UTF-8"?>
+<portlet-app id="jsfsimplest" version="1.0">
+ <portlet id="JSFSimplest">
+ <portlet-name>JSFSimplestPortlet</portlet-name>
+ <display-name>JSF Simplest Display Name</display-name>
+ <portlet-class>JSFSimplest</portlet-class>
+ <init-param>
+ <name>ViewPage</name>
+ <value>/WEB-INF/view/view.jsp</value>
+ </init-param>
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>VIEW</portlet-mode>
+ </supports>
+ <supported-locale>en</supported-locale>
+ <supported-locale>fr</supported-locale>
+ <portlet-info>
+ <title>JSF Simplest Title</title>
+ <short-title>JSF Simplest Short Title</short-title>
+ </portlet-info>
+ </portlet>
+</portlet-app>]]>
+ </source>
+ </p>
</subsection>
- <subsection name="3. The web.xml">
+ <subsection name="3. [The web.xml]web.xml">
<p>
+ <div class="original">
Create the file web.xml in the jsf-simplest/WEB-INF directory.
<source><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
@@ -112,10 +175,42 @@
</servlet-mapping>
</web-app>]]>
</source>
+ </div>
</p>
+ <p>
+ jsf-simplest/WEB-INF ディレクトリでweb.xmlを作成してください。
+ <source><![CDATA[
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+ <display-name>JSF Simplest</display-name>
+ <description>The world's simplest JSF portlet</description>
+
+ <!-- Faces Config -->
+ <context-param>
+ <param-name>javax.faces.application.CONFIG_FILES</param-name>
+ <param-value>/WEB-INF/faces-config.xml</param-value>
+ </context-param>
+
+ <!-- Faces Servlet -->
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ </servlet>
+
+ <!-- Faces extension mapping -->
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.jsf</url-pattern>
+ </servlet-mapping>
+</web-app>]]>
+ </source>
+ </p>
</subsection>
- <subsection name="4. The View">
+ <subsection name="4. [The View]視点">
<p>
+ <div class="original">
Create the view.jsp file in the jsf-simplest/WEB-INF/view directory.
<source><![CDATA[
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
@@ -131,10 +226,29 @@
<% } %>!
</f:view>]]>
</source>
+ </div>
</p>
+ <p>
+ jsf-simplest/WEB-INF/view ディレクトリでview.jspを作成してください。
+ <source><![CDATA[
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
+<%@ taglib uri="/WEB-INF/tld/portlet.tld" prefix='portlet'%>
+<portlet:defineObjects/>
+<f:view>
+ <h2>A JSF Portlet</h2>
+ Hello
+ <% if ( renderRequest.getUserPrincipal() == null ) { %>
+ guest
+ <% } else { %>
+ <%=renderRequest.getUserPrincipal().getName()%>
+ <% } %>!
+</f:view>]]>
+</source>
+ </p>
</subsection>
- <subsection name="5. The faces-config.xml">
+ <subsection name="5. [The faces-config.xml]faces-config.xm">
<p>
+ <div class="original">
Create a faces-config.xml file in the jsf-simplest/WEB-INF directory.
<source><![CDATA[
<?xml version='1.0' encoding='UTF-8'?>
@@ -153,10 +267,33 @@
</faces-config>]]>
</source>
+ </div>
</p>
+ <p>
+ jsf-simplest/WEB-INF ディレクトリでfaces-config.xmlを作成してください。
+ <source><![CDATA[
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE faces-config PUBLIC
+ "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+
+<faces-config>
+
+ <application>
+ <locale-config>
+ <default-locale>en</default-locale>
+ <supported-locale>fr</supported-locale>
+ </locale-config>
+ </application>
+
+</faces-config>]]>
+</source>
+
+ </p>
</subsection>
- <subsection name="6. The Dependency JARs">
+ <subsection name="6. [The Dependency JARs]依存するJAR">
<p>
+ <div class="original">
Copy the dependencies to the WEB-INF/lib directory.
These jars should be in your Maven repository. If so executing these commands in the lib
directory will set up the dependencies for you.
@@ -171,31 +308,71 @@
ln -s ~/.maven/repository/xerces/jars/xerces-2.4.0.jar
ln -s ~/.maven/repository/xml-apis/jars/xml-apis-2.0.2.jar
</source>
+ </div>
</p>
+ <p>
+ WEB-INF/lib ディレクトリへ依存するJARをコピーしてください。
+ これらのjarが Maven リポジトリになければなりません。
+ lib ディレクトリにてこれらのコマンドを実行するとセットアップされます。
+<source>
+ln -s ~/.maven/repository/commons-beanutils/jars/commons-beanutils-1.7.0.jar
+ln -s ~/.maven/repository/commons-collections/jars/commons-collections-3.1.jar
+ln -s ~/.maven/repository/commons-digester/jars/commons-digester-1.7.jar
+ln -s ~/.maven/repository/myfaces/jars/myfaces-api-1.1.0.jar
+ln -s ~/.maven/repository/myfaces/jars/myfaces-impl-1.1.0.jar
+ln -s ~/.maven/repository/myfaces/jars/tomahawk-1.1.0.jar
+ln -s ~/.maven/repository/org.apache.portals.bridges/jars/portals-bridges-jsf-1.0.jar
+ln -s ~/.maven/repository/xerces/jars/xerces-2.4.0.jar
+ln -s ~/.maven/repository/xml-apis/jars/xml-apis-2.0.2.jar
+</source>
+ </p>
</subsection>
- <subsection name="7. The WAR file">
+ <subsection name="7. [The WAR file]WARファイル">
<p>
+ <div class="original">
From the directory jsf-simplest combine the files above into a war file using the command,
<source>
jar cvf ../jsfsimplest.war .
</source>
+ </div>
</p>
+ <p>
+ コマンドを使用することでjsf-simplest ディレクトリはWARファイル化されます。
+ <source>
+jar cvf ../jsfsimplest.war .
+ </source>
+ </p>
</subsection>
- <subsection name="8. Deploy the WAR file">
+ <subsection name="8. [Deploy the WAR file]WARファイルを配備">
<p>
+ <div class="original">
Copy the war file to <code>$CATALINA_HOME/webapps/jetspeed/WEB-INF/deploy</code>.
Jetspeed-2 will deploy the webapp.
+ </div>
</p>
+ <p>
+ <code>$CATALINA_HOME/webapps/jetspeed/WEB-INF/deploy</code> へWARファイルをコピーします。
+ Jetspeed-2はwebappを配備します。
+ </p>
</subsection>
- <subsection name="9. The PSML">
- <p>
+ <subsection name="9. [The PSML]PSML">
+ <p><div class="original">
Create the PSML page using the Jetspeed portlet chooser. Login and click on the
edit page icon. Click on the add portlet icon.
Checkbox and add the JSFSimplestPortlet to your page.
Your user must have the permission to edit pages. The user <code>admin</code>
password
<code>admin</code> has permission to edit all pages.
+ </div>
</p>
+ <p>
+ Jetspeed portlet chooser を使用して、PSMLページを作成してください。
+ ログイン後に編集ページアイコンをクリックしてください。
+ クリックでportletアイコンを加えてください。
+ チェックボックスでJSFSimplestPortletをページに追加してください。
+ あなたのユーザにはページを編集する許可がなければなりません。
+ ユーザ <code>admin</code> パスワード <code>admin</code>には、すべてのページを編集する許可があります。
+ </p>
</subsection>
</section>
</body>
Modified: jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-velocity-portlet.xml
===================================================================
--- jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-velocity-portlet.xml 2007-11-26 10:55:51 UTC (rev 23)
+++ jetspeed-2-trans/trunk/ja/xdocs/guides/guide-simple-velocity-portlet.xml 2007-12-03 02:29:58 UTC (rev 24)
@@ -17,20 +17,30 @@
-->
<document>
<properties>
- <title>Jetspeed Simple Velocity Portlet Guide</title>
- <subtitle>Documentation for Creating a Simple Velocity Portlet</subtitle>
+ <title>[Jetspeed Simple Velocity Portlet Guide]JetspeedシンプルVelocityポートレットガイド</title>
+ <subtitle>[Documentation for Creating a Simple Velocity Portlet]シンプルVelocityポートレットを作成するためのドキュメント</subtitle>
<authors>
<person name="David Le Strat" email="dlest****@apach*****" />
<person name="Philip Mark Donaghy" email="phili****@gmail*****" />
</authors>
+ <translators>
+ <person name="N2SM, Inc." email="jetsp****@lists*****" />
+ </translators>
</properties>
<body>
- <section name="Jetspeed Simple Velocity Portlet Guide">
+ <section name="[Jetspeed Simple Velocity Portlet Guide]JetspeedシンプルVelocityポートレットガイド">
+<div class="original">
<p>
This guide provides a tutorial for creating a very
simple Velocity portlet with one template in the portlet view mode.
</p>
- <subsection name="1. The Portlet Class">
+</div>
+ <p>
+ このガイドは、portlet閲覧モードで1つのテンプレートを使用し、
+ 非常に単純なVelocityポートレットをつくるためのチュートリアルを提供します。
+ </p>
+ <subsection name="[1. The Portlet Class]1. ポートレットClass">
+<div class="original">
<p>
Create the file VelocitySimplest.java in a directory called
velocity-simplest/WEB-INF/classes:
@@ -46,14 +56,38 @@
}
</source>
</p>
+</div>
<p>
+ velocity-simplest/WEB-INF/classesディレクトリで、VelocitySimplest.javaファイルを作成しください。
+ <source>
+public class VelocitySimplest extends org.apache.portals.bridges.velocity.GenericVelocityPortlet
+{
+
+ public void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
+ throws javax.portlet.PortletException, java.io.IOException
+ {
+ super.doView(request, response);
+ }
+}
+ </source>
+ </p>
+<div class="original">
+ <p>
Compile the class in the velocity-simplest/WEB-INF/classes directory using the command,
<source>
javac -cp portlet-api-1.0.jar:portals-bridges-velocity-1.0.jar:portals-bridges-common-1.0.jar VelocitySimplest.java
</source>
</p>
+</div>
+ <p>
+ 下記のコマンドを使用して、velocity-simplest/WEB-INF/classesディレクトリでそのクラスをコンパイルしてください。
+ <source>
+javac -cp portlet-api-1.0.jar:portals-bridges-velocity-1.0.jar:portals-bridges-common-1.0.jar VelocitySimplest.java
+ </source>
+ </p>
</subsection>
<subsection name="2. The portlet.xml">
+<div class="original">
<p>
Create the file portlet.xml in the velocity-simplest/WEB-INF directory.
<source><![CDATA[
@@ -80,8 +114,36 @@
</portlet-app>]]>
</source>
</p>
+</div>
+ <p>
+ velocity-simplest/WEB-INFディレクトリでportlet.xmlファイルを作成してください。
+ <source><![CDATA[
+<?xml version="1.0" encoding="UTF-8"?>
+<portlet-app id="velocitysimplest" version="1.0">
+ <portlet id="VelocitySimplest">
+ <portlet-name>VelocitySimplest</portlet-name>
+ <display-name>Velocity Simplest Display Name</display-name>
+ <portlet-class>VelocitySimplest</portlet-class>
+ <init-param>
+ <name>ViewPage</name>
+ <value>/WEB-INF/view/world.vm</value>
+ </init-param>
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>VIEW</portlet-mode>
+ </supports>
+ <supported-locale>en</supported-locale>
+ <portlet-info>
+ <title>Velocity Simplest Title</title>
+ <short-title>Velocity Simplest Short Title</short-title>
+ </portlet-info>
+ </portlet>
+</portlet-app>]]>
+ </source>
+ </p>
</subsection>
<subsection name="3. The web.xml">
+<div class="original">
<p>
Create the file web.xml in the velocity-simplest/WEB-INF directory.
<source><![CDATA[
@@ -107,8 +169,34 @@
</web-app>]]>
</source>
</p>
+</div>
+ <p>
+ velocity-simplest/WEB-INFディレクトリでweb.xmlファイルを作成してください。
+ <source><![CDATA[
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+ <display-name>Velocity Simplest</display-name>
+ <description>The world's simplest Velocity portlet</description>
+
+ <!-- Velocityサーブレットを定義してください。 -->
+ <servlet>
+ <servlet-name>velocity</servlet-name>
+ <servlet-class>org.apache.portals.bridges.velocity.BridgesVelocityViewServlet</servlet-class>
+ </servlet>
+
+ <!-- 全てのvmファイルをVelocityとマッピングしてください。 -->
+ <servlet-mapping>
+ <servlet-name>velocity</servlet-name>
+ <url-pattern>*.vm</url-pattern>
+ </servlet-mapping>
+
+</web-app>]]>
+ </source>
+ </p>
</subsection>
- <subsection name="4. The View">
+ <subsection name="[4. The View]4. 見解">
<p>
Create the world.vm file in the velocity-simplest/WEB-INF/view directory. Put
whatever content
@@ -126,8 +214,25 @@
$renderResponse.namespace
</source>
</p>
+<div class="original">
+ <p>
+ velocity-simplest/WEB-INF/viewディレクトリでworld.vmファイルを作成してください。
+ その中で、あなたが希望するどのような内容でも置いてください。
+ テンプレートファイルがポートレットinitパラメータであるViewPageで定義されることに注意してください。
+ PortletConfig,RenderRequest,そしてRenderResponseオブジェクトは、Velocityテンプレートを使用するために、Velocity前後関係に自動的に置かれます。
+ これらmethodsとpropertiesの2、3を示すサンプルテンプレートは、ここにあります。
+<source>
+$portletConfig.portletName
+$portletConfig.portletContext.serverInfo
+#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale))
+$renderRequest.portletMode
+$renderResponse.namespace
+</source>
+ </p>
+</div>
</subsection>
- <subsection name="5. The Dependency JARs">
+ <subsection name="[5. The Dependency JARs]5. 依存JAR">
+<div class="original">
<p>
Copy the commons-beanutils-1.7.0.jar, commons-collections-3.1.jar,
commons-digester-1.7.jar, portals-bridges-velocity-1.0.jar,
@@ -146,22 +251,55 @@
ln -s ~/.maven/repository/velocity-tools/jars/velocity-tools-1.1.jar
</source>
</p>
+</div>
+ <p>
+ commons-beanutils-1.7.0.jar, commons-collections-3.1.jar,
+ commons-digester-1.7.jar, portals-bridges-velocity-1.0.jar,
+ velocity-1.4.jar, そしてvelocity-tools-1.1.jarをvelocity-simplest/WEB-INF/libディレクトリへコピーしてください。
+ 重要:
+ warファイル内にはportlet-api-1.0.jarを配置しないでください。
+ あなたがJetspeedをすでにビルドしたのであれば、これらのjarはあなたのMavenリポジトリになければなりません。
+ もし、libディレクトリにおいてこれらのコマンドを実行するならば、依存がセットアップされます。
+<source>
+ln -s ~/.maven/repository/commons-beanutils/jars/commons-beanutils-1.7.0.jar
+ln -s ~/.maven/repository/commons-collections/jars/commons-collections-3.1.jar
+ln -s ~/.maven/repository/commons-digester/jars/commons-digester-1.7.jar
+ln -s ~/.maven/repository/org.apache.portals.bridges/jars/portals-bridges-velocity-1.0.jar
+ln -s ~/.maven/repository/velocity/jars/velocity-1.4.jar
+ln -s ~/.maven/repository/velocity-tools/jars/velocity-tools-1.1.jar
+</source>
+ </p>
</subsection>
- <subsection name="6. The WAR file">
+ <subsection name="[6. The WAR file]6. WARファイル">
+<div class="original">
<p>
From the directory velocity-simplest combine the files above into a war file using the command,
<source>
jar cvf ../velocitysimplest.war .
</source>
</p>
+</div>
+ <p>
+ velocity-simplestディレクトリから、下記コマンドを使用し、warファイル上にファイルを結合してください。
+ <source>
+jar cvf ../velocitysimplest.war .
+ </source>
+ </p>
</subsection>
- <subsection name="7. Deploy the WAR file">
+ <subsection name="[7. Deploy the WAR file]7. WARファイルの配備">
+<div class="original">
<p>
Copy the war file to <code>$CATALINA_HOME/webapps/jetspeed/WEB-INF/deploy</code>.
Jetspeed-2 will deploy the webapp.
</p>
+</div>
+ <p>
+ warファイルを$CATALINA_HOME/webapps/jetspeed/WEB-INF/deployへコピーしてください。
+ Jetspeed-2がWeb アプリケーションへ配備されます。
+ </p>
</subsection>
<subsection name="8. The PSML">
+<div class="original">
<p>
Create the PSML page using the Jetspeed portlet chooser. Login and click on the
edit page icon.
@@ -169,6 +307,13 @@
password
<code>admin</code> has permission to edit all pages.
</p>
+</div>
+ <p>
+ Jetspeed portlet選択を利用し、PSMLページを作成してください。
+ ログイン後、編集ページアイコンをクリックしてください。
+ あなたのユーザーは、ページを編集する許可がなければなりません。
+ admin(ユーザ)/admin(パスワード)は、すべてのページを編集する許可があります。
+ </p>
</subsection>
</section>
</body>
Modified: jetspeed-2-trans/trunk/ja/xdocs/guides/guide-tomcat-sso-cross-context-j2-realm.xml
===================================================================
--- jetspeed-2-trans/trunk/ja/xdocs/guides/guide-tomcat-sso-cross-context-j2-realm.xml 2007-11-26 10:55:51 UTC (rev 23)
+++ jetspeed-2-trans/trunk/ja/xdocs/guides/guide-tomcat-sso-cross-context-j2-realm.xml 2007-12-03 02:29:58 UTC (rev 24)
@@ -17,19 +17,29 @@
-->
<document>
<properties>
- <title>Tomcat SSO and Cross Context Webapps Guide</title>
- <subtitle>Documentation for using the Jetspeed Authentication accross multiple webapps running in the same Tomcat container</subtitle>
+ <title>[Tomcat SSO and Cross Context Webapps Guide]Tomcat SSOと関連したWeb アプリケーションガイド</title>
+ <subtitle>[Documentation for using the Jetspeed Authentication accross multiple webapps running in the same Tomcat container]同じTomcatコンテナ上で動作している複数のWeb アプリケーション間で、Jetspeed 認証を使うためのドキュメント</subtitle>
<authors>
<person name="Philip Mark Donaghy" email="phili****@gmail*****" />
</authors>
+ <translators>
+ <person name="N2SM, Inc." email="jetsp****@lists*****" />
+ </translators>
</properties>
<body>
- <section name="Sharing the Jetspeed Realm Across Tomcat Webapps">
+ <section name="[Sharing the Jetspeed Realm Across Tomcat Webapps]複数のTomcat Web アプリケーション間でのJetspeedレルムを共有化">
+<div class="original">
<p>
This guide provides a tutorial for creating a shared authentication Realm
between multiple webapps running in the same Tomcat(>=5.5) container.
</p>
- <subsection name="1. The Jetspeed Realm">
+</div>
+ <p>
+ このガイドは、同じTomcat(v5.5以上)コンテナ上の複数のWeb アプリケーションの間で、
+ 共有された認証レルムを作成するためのチュートリアルを提供します。
+ </p>
+ <subsection name="[1. The Jetspeed Realm]1. Jetspeed レルム">
+<div class="original">
<p>
Realms are configured in the Engine element of $CATALINA_HOME/conf/server.xml. Move the Jetspeed Realm element from $CATALINA_HOME/conf/Catalina/localhost/jetspeed.xml to $CATALINA_HOME/conf/server.xml replacng or commenting out the UserDatabase Realm.
<source><![CDATA[
@@ -41,8 +51,21 @@
debug="0"/>]]>
</source>
</p>
+</div>
+ <p>
+ レルムは$CATALINA_HOME/conf/server.xmlのEngine要素で構成されます。 Jetspeedレルム要素を$CATALINA_HOME/conf/Catalina/localhost/jetspeed.xmlから、UserDatabaseレルムを置き換えもしくはコメントアウトした$CATALINA_HOME/conf/server.xmlへ移動してください。
+ <source><![CDATA[
+<Realm className="org.apache.catalina.realm.JAASRealm"
+ appName="Jetspeed"
+ userClassNames="org.apache.jetspeed.security.impl.UserPrincipalImpl"
+ roleClassNames="org.apache.jetspeed.security.impl.RolePrincipalImpl"
+ useContextClassLoader="false"
+ debug="0"/>]]>
+ </source>
+ </p>
</subsection>
- <subsection name="2. Enable the Tomcat SingleSignOn Valve">
+ <subsection name="[2. Enable the Tomcat SingleSignOn Valve]2. Tomcatのシングルサインオンバルブを使用可能にしてください">
+<div class="original">
<p>
Uncomment the Tomcat single sign on Valve in $CATALINA_HOME/conf/server.xml.
<source><![CDATA[
@@ -52,8 +75,19 @@
</Host>]]>
</source>
</p>
+</div>
+ <p>
+ $CATALINA_HOME/conf/server.xml内のTomcatのシングルサインオンバルブのコメントを外してください。
+ <source><![CDATA[
+<Host name="localhost" appBase="webapps">
+ <!-- tomcat SSOを使用可能にしてください *** -->
+ <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
+</Host>]]>
+ </source>
+ </p>
</subsection>
- <subsection name="3. Each web.xml">
+ <subsection name="[3. Each web.xml]3. 各web.xml">
+<div class="original">
<p>
Create a security-constraint in each webapp web.xml descriptor.
<source><![CDATA[
@@ -82,8 +116,38 @@
</security-role>]]>
</source>
</p>
+</div>
+ <p>
+ それぞれのWeb アプリケーションのweb.xml記述でセキュリティ規制を作成してください。
+ <source><![CDATA[
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>Whatever</web-resource-name>
+ <url-pattern>/*</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>manager</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+ <!-- アプリケーションのためにログイン構成を定義してください。 -->
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ <realm-name>Jetspeed</realm-name>
+ </login-config>
+
+ <!-- このウェブアプリケーションで参照されるセキュリティの役割 -->
+ <security-role>
+ <description>
+ The role that is required to log in to the Manager Application
+ </description>
+ <role-name>manager</role-name>
+ </security-role>]]>
+ </source>
+ </p>
</subsection>
- <subsection name="4. Known Issues">
+ <subsection name="[4. Known Issues]4. 既知の問題">
+<div class="original">
<p>
1. The default Tomcat Realm must be replaced, removed, or commented out. A known side effect of this prevents the Tomcat manager application from working. It can be resolved by using the Jetspeed realm in $CATALINA_HOME/server/webapps/manager/manager.xml.
<source><![CDATA[
@@ -93,9 +157,24 @@
</login-config>]]>
</source>
</p>
+</div>
<p>
+ 1. デフォルトTomcat レルムは置き換えられなければならないか、取り除かれなければならないか、コメントアウトされなければなりません。この既知の副作用は、Tomcatマネージャアプリケーションが働くのを防ぎます。それは、$CATALINA_HOME/server/webapps/manager/manager.xmlのJetspeedレルムを用いて解決することができます。
+ <source><![CDATA[
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ <realm-name>Jetspeed</realm-name>
+ </login-config>]]>
+ </source>
+ </p>
+<div class="original">
+ <p>
2. Authentication must be made in Jetspeed before accessing other webapps.
</p>
+</div>
+ <p>
+ 2. 他のwebappsにアクセスする前に、Jetspeedで認証を作成しなければなりません。
+ </p>
</subsection>
</section>
</body>
Modified: jetspeed-2-trans/trunk/xdocs/assignment.xml
===================================================================
--- jetspeed-2-trans/trunk/xdocs/assignment.xml 2007-11-26 10:55:51 UTC (rev 23)
+++ jetspeed-2-trans/trunk/xdocs/assignment.xml 2007-12-03 02:29:58 UTC (rev 24)
@@ -411,8 +411,8 @@
<td>guides/guide-demo.xml</td>
<td><a href="en/guides/guide-demo.html">原文</a></td>
<td><a href="ja/guides/guide-demo.html">訳文</a></td>
- <td></td>
- <td>募集中</td>
+ <td>N2SM, Inc.</td>
+ <td>初稿</td>
</tr>
<tr>
<td>guides/guide-migration.xml</td>
@@ -446,15 +446,15 @@
<td>guides/guide-simple-jsf-portlet.xml</td>
<td><a href="en/guides/guide-simple-jsf-portlet.html">原文</a></td>
<td><a href="ja/guides/guide-simple-jsf-portlet.html">訳文</a></td>
- <td></td>
- <td>募集中</td>
+ <td>N2SM, Inc.</td>
+ <td>初稿</td>
</tr>
<tr>
<td>guides/guide-simple-velocity-portlet.xml</td>
<td><a href="en/guides/guide-simple-velocity-portlet.html">原文</a></td>
<td><a href="ja/guides/guide-simple-velocity-portlet.html">訳文</a></td>
- <td></td>
- <td>募集中</td>
+ <td>N2SM, Inc.</td>
+ <td>初稿</td>
</tr>
<tr>
<td>guides/guide-subsites.xml</td>
@@ -467,8 +467,8 @@
<td>guides/guide-tomcat-sso-cross-context-j2-realm.xml</td>
<td><a href="en/guides/guide-tomcat-sso-cross-context-j2-realm.html">原文</a></td>
<td><a href="ja/guides/guide-tomcat-sso-cross-context-j2-realm.html">訳文</a></td>
- <td></td>
- <td>募集中</td>
+ <td>N2SM, Inc.</td>
+ <td>初稿</td>
</tr>
</table>
</subsection>