svnno****@sourc*****
svnno****@sourc*****
2008年 9月 4日 (木) 18:54:24 JST
Revision: 56 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=jetspeed-japan&view=rev&rev=56 Author: karma Date: 2008-09-04 18:54:24 +0900 (Thu, 04 Sep 2008) Log Message: ----------- Update translation Modified Paths: -------------- jetspeed-2-trans/trunk/ja/xdocs/j1-migration.xml -------------- next part -------------- Modified: jetspeed-2-trans/trunk/ja/xdocs/j1-migration.xml =================================================================== --- jetspeed-2-trans/trunk/ja/xdocs/j1-migration.xml 2008-09-03 09:31:18 UTC (rev 55) +++ jetspeed-2-trans/trunk/ja/xdocs/j1-migration.xml 2008-09-04 09:54:24 UTC (rev 56) @@ -1535,16 +1535,31 @@ </table> </subsection> - <subsection name='Security Definitions'> + <subsection name='[Security Definitions] セキュリティの定義'> + <div class="original"> <p>Jetspeed-1 supports a Security Constraint XML definition language that is very similiar to the XML security constraint definitions in Jetspeed-2. Jetpeed-1 requires that all security definitions are defined in an XML file known as an XREG file (XML Registry). Jetspeed-2 stores its security registry either in an XML file or in the database. In Jetspeed-1, the XML registry is on the file system under the jetspeed webapp under WEB-INF/conf. There can be one or more security registry entries. All security constraints are defined with the element type <b>security-entry</b>. </p> + </div> + + <p> + Jetspeed 1 は,セキュリティ制約の XML 定義言語をサポートしています.それは,Jetspeed 2 の XML でのセキュリティ制約の定義に非常に良く似ています.Jetspeed 1 は,全てのセキュリティの定義を,XREG ファイル (XML レジストリ) として知られる XML ファイル内に定義する必要があります.Jetspeed 2 は,セキュリティレジストリは XML ファイル,もしくはデータベースに保持します.Jetspeed 1 では,XML レジストリは Jetspeed webapp の WEB-INF/conf 以下のファイルシステム上にあります.1 つ以上のセキュリティレジストリのエントリが存在します.全てのセキュリティ制約は <b>security-entry</b> タイプの要素で定義します. + </p> + + <div class="original"> <p>Migrating your Jetspeed-1 security constraints registries to Jetspeed-2 registries requires writing a new <b>page.security</b> XML definition file. We do not provide an XSLT transform to do this for you. The table below describes how to map each XML attribute of the <b>security-entry</b> element to its equivalent in the Portlet API portlet.xml or jetspeed-portlet.xml. Note that we are mapping in this table from XML attributes to XML elements in the portlet.xml or jetspeed-portlet.xml: </p> + </div> + + <p> + あなたの Jetspeed 1 のセキュリティ制約レジストリを Jetspeed 2 レジストリに移行するには,新しい <b>page.security</b> XML 定義ファイルを書く必要があります.我々は移行のための XSLT ファイルは準備しません.以下の表は,<b>security-entry</b> 要素の XML 属性をポートレット API の portlet.xml,もしくは jetspeed-portlet.xml ファイルの同等のものにマッピングする方法を述べたものです.この表で XML 属性から portlet.xml もしくは jetspeed-portlet.xml の XML 要素へのマッピングをしていることに注意してください. + </p> + + <div class="original"> <table> <tr> <th>J1 Attribute</th> @@ -1608,6 +1623,70 @@ With Jetspeed-2 you must explicity name the owner in the element text of the owner element.</td> </tr> </table> + </div> + + <table> + <tr> + <th>J1 Attribute</th> + <th>J2 Attribute</th> + <th></th> + </tr> + <tr> + <td>security-entry @ name</td> + <td>security-constraints-def @ name</td> + <td>セキュリティ制約の定義の名前.この名前は page.security ファイル内でユニークです.</td> + </tr> + <tr> + <td>meta-info/title</td> + <td></td> + <td>Jetspeed 2 には同等の物がなく,適用できません.</td> + </tr> + <tr> + <td>meta-info/description</td> + <td></td> + <td>Jetspeed 2 には同等の物がなく,適用できません.</td> + </tr> + <tr> + <td>access</td> + <td>security-constraint</td> + <td>Jetspeed 1 の security-entries は 0 〜 n の <i>access</i> 要素を含みます.Jetspeed 2 の security-constraint-defs は 0 〜 n の <i>security-constraint</i> 要素を含みます.</td> + </tr> + <tr> + <td>access @ action</td> + <td>security-constraint/permissions</td> + <td> + Jetspeed 1 のアクション (Action) は Jetspeed 2 ではパーミッション (Permissions) と呼ばれます.両バージョン共,"*" 文字のワイルドカードをサポートしています. + <ul> + <li>Jetspeed 1 のデフォルトのアクションは,view, customize, maximize, minimize, info, close です.</li> + <li>Jetspeed 2 のデフォルトのパーミッションは view, edit, help, print です.</li> + </ul> + </td> + </tr> + <tr> + <td>access/allow-if @ role</td> + <td>security-constraint/roles</td> + <td>Jetspeed 1 では,<i>role</i> 属性を持った <i>allow-if</i> 要素を使ってロールによる制限を加えます.Jetspeed 2 では,<i>roles</i> 要素と 1 つ以上のロールのカンマ区切りのリストを使って,ロールによる制限を加えます.</td> + </tr> + <tr> + <td>access/allow-if @ group</td> + <td>security-constraint/groups</td> + <td>Jetspeed 1 では,<i>group</i> 属性を持った <i>allow-if</i> 要素を使ってグループによる制限を加えます.Jetspeed 2 では,<i>groups</i> 要素と 1 つ以上のグループのカンマ区切りのリストを使って,グループによる制限を加えます. +</td> + </tr> + <tr> + <td>access/allow-if @ user</td> + <td>security-constraint/users</td> + <td> + Jetspeed 1 では,<i>user</i> 属性を持った <i>allow-if</i> 要素を使ってユーザによる制限を加えます.Jetspeed 2 では,<i>users</i> 要素と 1 つ以上のロールのカンマ区切りのリストを使うか,ワイルドカード "*" で全てのユーザを指定して,ロールによる制限を加えます. + </td> + </tr> + <tr> + <td>access/allow-if-owner</td> + <td>security-constraints/owner</td> + <td>ページの所有者のみアクセス可能であるという制約を設定可能です.Jetspeed 1 では,ページの場所によってこのことを表します.Jetspeed 2 では,owner 要素として,明確に名前を記述しなければなりません.</td> + </tr> + </table> + </subsection> <subsection name='Web Clients and Media Type Registries'> <p>The Web Clients and Media Type registries are already ported to Jetspeed-2 and a part of the core system.