You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by jc...@apache.org on 2009/09/27 02:15:08 UTC
svn commit: r819236 [5/6] - in /incubator/river/jtsk/trunk: ./ examples/
examples/hello/ examples/hello/config/ examples/hello/config/META-INF/
examples/hello/prebuiltkeys/ examples/hello/scripts/ examples/hello/src/
examples/hello/src/com/ examples/he...
Propchange: incubator/river/jtsk/trunk/examples/hello/index.html
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/krb-setup.html
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/krb-setup.html?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/krb-setup.html (added)
+++ incubator/river/jtsk/trunk/examples/hello/krb-setup.html Sun Sep 27 00:15:03 2009
@@ -0,0 +1,92 @@
+<!--
+ ! Licensed to the Apache Software Foundation (ASF) under one
+ ! or more contributor license agreements. See the NOTICE file
+ ! distributed with this work for additional information
+ ! regarding copyright ownership. The ASF licenses this file
+ ! to you under the Apache License, Version 2.0 (the
+ ! "License"); you may not use this file except in compliance
+ ! with the License. You may obtain a copy of the License at
+ !
+ ! http://www.apache.org/licenses/LICENSE-2.0
+ !
+ ! Unless required by applicable law or agreed to in writing, software
+ ! distributed under the License is distributed on an "AS IS" BASIS,
+ ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ! See the License for the specific language governing permissions and
+ ! limitations under the License.
+ !-->
+
+<html>
+<title>Extended RMI Example</title>
+
+<body text="#000000" bgcolor="#ffffff" link="#9b37cc" vlink="#cc1877"
+ alink="#ffffff">
+
+<h1><center>Kerberos Setup Instructions</center></h1>
+
+<h2>Introduction</h2>
+
+Beginning in version 1.4.1, the Java<sup><font size=-2>TM</font></sup>
+2 SDK, Standard Edition provides three client-side Kerberos tools:
+<code>kinit</code>, <code>klist</code>, and <code>ktab</code> in its
+Windows and Linux distributions. In this document, we explain how to
+use these tools to obtain Kerberos Ticket Granting Tickets (TGTs) and
+keytabs on their provided platforms. If you are running on the
+Solaris<sup><font size=-2>TM</font></sup> Operating System (Solaris OS),
+then in addition to using the Solaris OS version of the
+<a href="http://docs.sun.com/app/docs/doc/817-0689/6mgfkpcrf?a=view#kinit-1"><code>kinit</code></a>
+utility to obtain and cache Kerberos ticket-granting tickets, you should
+also use the Solaris OS-specific Kerberos database administration program,
+<code>kadmin</code> (for details type, <code>man kadmin</code>).
+
+<h2>Create keytab files</h2>
+
+Create a keytab file, if it does not exist already, and add entries
+using:
+
+<pre>
+ktab -a <principal_name> <password> -k <keytab_name>
+</pre>
+
+For example, to create a keytab file named as
+<code>krb-servers.keytab</code> in the config directory, which
+contains three entries whose principal names are <code>server</code>,
+<code>phoenix</code>, and <code>reggie</code>, and passwords are
+<code>serverpw</code>, <code>phoenixpw</code>, and <code>reggiepw</code>
+respectively, you would use the following:
+
+<pre>
+ktab -a server serverpw -k config/krb-servers.keytab
+ktab -a phoenix phoenixpw -k config/krb-servers.keytab
+ktab -a reggie reggiepw -k config/krb-servers.keytab
+</pre>
+
+To check what entries are in a keytab file, use:
+
+<pre>
+ktab -l -k <keytab_name>
+</pre>
+
+To create keytabs when running on Solaris OS, one can use the
+<code>ktadd</code> command provided under the <code>kadmin</code>
+utility (for details type, <code>man kadmin</code>).
+
+<h2>Create TGT cache</h2>
+
+<code>kinit</code> can used to obtain and cache Kerberos TGTs. Here
+are links to the documentation of this command on various platforms
+([<a href="http://java.sun.com/j2se/1.4/docs/tooldocs/linux/kinit.html">Linux</a>]
+ [<a href="http://java.sun.com/j2se/1.4/docs/tooldocs/windows/kinit.html">Windows</a>]
+ [<a href="http://docs.sun.com/app/docs/doc/817-0689/6mgfkpcrf?a=view#kinit-1">Solaris OS</a>]).
+
+<h2>Kerberos Login module documentation</h2>
+
+The Java Authentication and Authorization Service (<a
+href="http://java.sun.com/j2se/1.4/docs/guide/security/jaas/JAASRefGuide.html">JAAS</a>)
+login module for Kerberos is <code>Krb5LoginModule</code>. To find
+out what options it supports and how to setup its configuration file,
+click <a
+href="http://java.sun.com/j2se/1.4/docs/guide/security/jaas/spec/com/sun/security/auth/module/Krb5LoginModule.html">here</a>.
+
+</body>
+</html>
Propchange: incubator/river/jtsk/trunk/examples/hello/krb-setup.html
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/client.cert
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/client.cert?rev=819236&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/client.cert
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/client.cert
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/client.keystore
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/client.keystore?rev=819236&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/client.keystore
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/client.keystore
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/phoenix.cert
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/phoenix.cert?rev=819236&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/phoenix.cert
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/phoenix.cert
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/phoenix.keystore
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/phoenix.keystore?rev=819236&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/phoenix.keystore
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/phoenix.keystore
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/phoenix.password
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/phoenix.password?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/phoenix.password (added)
+++ incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/phoenix.password Sun Sep 27 00:15:03 2009
@@ -0,0 +1 @@
+phoenixpw
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/phoenix.password
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/reggie.cert
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/reggie.cert?rev=819236&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/reggie.cert
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/reggie.cert
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/reggie.keystore
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/reggie.keystore?rev=819236&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/reggie.keystore
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/reggie.keystore
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/reggie.password
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/reggie.password?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/reggie.password (added)
+++ incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/reggie.password Sun Sep 27 00:15:03 2009
@@ -0,0 +1 @@
+reggiepw
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/reggie.password
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/server.cert
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/server.cert?rev=819236&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/server.cert
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/server.cert
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/server.keystore
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/server.keystore?rev=819236&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/server.keystore
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/server.keystore
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/server.password
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/server.password?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/server.password (added)
+++ incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/server.password Sun Sep 27 00:15:03 2009
@@ -0,0 +1 @@
+serverpw
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/server.password
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/truststore
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/truststore?rev=819236&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/truststore
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/river/jtsk/trunk/examples/hello/prebuiltkeys/truststore
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/river/jtsk/trunk/examples/hello/scripts/activatable-jeri-server.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/activatable-jeri-server.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/activatable-jeri-server.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/activatable-jeri-server.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,26 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Batch file to run activatable Jini ERI server
+
+java -Djava.security.manager= ^
+ -Djava.security.policy=config\start-activatable-server.policy ^
+ -Djava.rmi.server.codebase="http://%computername%:8080/server-dl.jar http://%computername%:8080/jsk-dl.jar" ^
+ -DserverHost=%computername% ^
+ -jar lib\server-act.jar ^
+ config\start-activatable-jeri-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/activatable-jeri-server.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/activatable-jeri-server.sh
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/activatable-jeri-server.sh?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/activatable-jeri-server.sh (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/activatable-jeri-server.sh Sun Sep 27 00:15:03 2009
@@ -0,0 +1,33 @@
+#! /bin/sh
+#/*
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*/
+
+# Shell script to run activatable Jini ERI server
+
+# The server host
+host=`hostname`
+
+set -x
+
+java -Djava.security.manager= \
+ -Djava.security.policy=config/start-activatable-server.policy \
+ -Djava.rmi.server.codebase="http://$host:8080/server-dl.jar http://$host:8080/jsk-dl.jar" \
+ -Djava.ext.dirs=../../lib-ext/ \
+ -DserverHost=$host \
+ -jar lib/server-act.jar \
+ config/start-activatable-jeri-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/activatable-jeri-server.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/activatable-krb-server.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/activatable-krb-server.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/activatable-krb-server.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/activatable-krb-server.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,41 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Batch file to run activatable Kerberos server
+
+@rem Get the environment variables setup
+call scripts/krb-setenv.bat
+
+java -Djava.security.manager= ^
+ -Djava.security.policy=config\start-activatable-krb-server.policy ^
+ -Djava.security.properties=config\dynamic-policy.security-properties ^
+ -Djava.security.auth.login.config=config\krb-server.login ^
+ -Djava.protocol.handler.pkgs=net.jini.url ^
+ -Djava.rmi.server.RMIClassLoaderSpi=com.sun.jini.example.hello.MdClassAnnotationProvider ^
+ -Dexport.codebase.source.app=lib ^
+ -Dexport.codebase.app="httpmd://%computername%:8080/server-dl.jar;sha=0" ^
+ -Dexport.codebase.source.jsk=..\..\lib-dl ^
+ -Dexport.codebase.jsk="httpmd://%computername%:8080/jsk-dl.jar;sha=0" ^
+ -DclientPrincipal=%CLIENT%@%REALM% ^
+ -DserverPrincipal=%SERVER%@%REALM% ^
+ -DphoenixPrincipal=%PHOENIX%@%REALM% ^
+ -DreggiePrincipal=%REGGIE%@%REALM% ^
+ -Djava.security.krb5.realm=%REALM% ^
+ -Djava.security.krb5.kdc=%KDC_HOST% ^
+ -jar lib\server-act.jar ^
+ config\start-activatable-krb-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/activatable-krb-server.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/activatable-krb-server.sh
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/activatable-krb-server.sh?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/activatable-krb-server.sh (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/activatable-krb-server.sh Sun Sep 27 00:15:03 2009
@@ -0,0 +1,47 @@
+#! /bin/sh
+#/*
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*/
+
+# Shell script to run activatable Kerberos server
+
+# The server host
+host=`hostname`
+
+# Get the environment variables setup
+. scripts/krb-setenv.sh
+
+set -ex
+
+java -Djava.security.manager= \
+ -Djava.security.policy=config/start-activatable-krb-server.policy \
+ -Djava.security.properties=config/dynamic-policy.security-properties \
+ -Djava.security.auth.login.config=config/krb-server.login \
+ -Djava.protocol.handler.pkgs=net.jini.url \
+ -Djava.rmi.server.RMIClassLoaderSpi=com.sun.jini.example.hello.MdClassAnnotationProvider \
+ -Dexport.codebase.source.app=lib \
+ -Dexport.codebase.app=httpmd://$host:8080/server-dl.jar\;sha=0 \
+ -Dexport.codebase.source.jsk=../../lib-dl \
+ -Dexport.codebase.jsk=httpmd://$host:8080/jsk-dl.jar\;sha=0 \
+ -DclientPrincipal="$CLIENT"@"$REALM" \
+ -DserverPrincipal="$SERVER"@"$REALM" \
+ -DphoenixPrincipal="$PHOENIX"@"$REALM" \
+ -DreggiePrincipal="$REGGIE"@"$REALM" \
+ -Djava.security.krb5.realm=$REALM \
+ -Djava.security.krb5.kdc=$KDC_HOST \
+ -jar lib/server-act.jar \
+ config/start-activatable-krb-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/activatable-krb-server.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/activatable-ssl-server.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/activatable-ssl-server.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/activatable-ssl-server.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/activatable-ssl-server.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,33 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Batch file to run activatable SSL server
+
+java -Djava.security.manager= ^
+ -Djava.security.policy=config\start-activatable-ssl-server.policy ^
+ -Djava.security.properties=config\dynamic-policy.security-properties ^
+ -Djava.security.auth.login.config=config\ssl-server.login ^
+ -Djavax.net.ssl.trustStore=prebuiltkeys\truststore ^
+ -Djava.protocol.handler.pkgs=net.jini.url ^
+ -Djava.rmi.server.RMIClassLoaderSpi=com.sun.jini.example.hello.MdClassAnnotationProvider ^
+ -Dexport.codebase.source.app=lib ^
+ -Dexport.codebase.app="httpmd://%computername%:8080/server-dl.jar;sha=0" ^
+ -Dexport.codebase.source.jsk=..\..\lib-dl ^
+ -Dexport.codebase.jsk="httpmd://%computername%:8080/jsk-dl.jar;sha=0" ^
+ -jar lib\server-act.jar ^
+ config\start-activatable-ssl-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/activatable-ssl-server.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/activatable-ssl-server.sh
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/activatable-ssl-server.sh?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/activatable-ssl-server.sh (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/activatable-ssl-server.sh Sun Sep 27 00:15:03 2009
@@ -0,0 +1,39 @@
+#! /bin/sh
+#/*
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*/
+
+# Shell script to run activatable SSL server
+
+# The server host
+host=`hostname`
+
+set -x
+
+java -Djava.security.manager= \
+ -Djava.security.policy=config/start-activatable-ssl-server.policy \
+ -Djava.security.properties=config/dynamic-policy.security-properties \
+ -Djava.security.auth.login.config=config/ssl-server.login \
+ -Djavax.net.ssl.trustStore=prebuiltkeys/truststore \
+ -Djava.protocol.handler.pkgs=net.jini.url \
+ -Djava.rmi.server.RMIClassLoaderSpi=com.sun.jini.example.hello.MdClassAnnotationProvider \
+ -Dexport.codebase.source.app=lib \
+ -Dexport.codebase.app=httpmd://$host:8080/server-dl.jar\;sha=0 \
+ -Dexport.codebase.source.jsk=../../lib-dl \
+ -Dexport.codebase.jsk=httpmd://$host:8080/jsk-dl.jar\;sha=0 \
+ -jar lib/server-act.jar \
+ config/start-activatable-ssl-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/activatable-ssl-server.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/client.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/client.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/client.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/client.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,26 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Batch file to run non-secure client
+
+java -Djava.security.manager= ^
+ -Djava.security.policy=config\client.policy ^
+ -Djava.security.properties=config\dynamic-policy.security-properties ^
+ -Djava.rmi.server.codebase=http://%computername%:8080/jsk-dl.jar ^
+ -jar lib\client.jar ^
+ config\client.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/client.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/client.sh
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/client.sh?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/client.sh (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/client.sh Sun Sep 27 00:15:03 2009
@@ -0,0 +1,32 @@
+#! /bin/sh
+#/*
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*/
+
+# Shell script to run non-secure client
+
+host=`hostname`
+
+set -x
+
+java -Djava.security.manager= \
+ -Djava.security.policy=config/client.policy \
+ -Djava.security.properties=config/dynamic-policy.security-properties \
+ -Djava.ext.dirs=../../lib-ext/ \
+ -Djava.rmi.server.codebase=http://$host:8080/jsk-dl.jar \
+ -jar lib/client.jar \
+ config/client.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/client.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/confirming-jeri-server.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/confirming-jeri-server.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/confirming-jeri-server.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/confirming-jeri-server.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,25 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Batch file to run confirming Jini ERI server
+
+java -Djava.security.manager= ^
+ -Djava.security.policy=config\server.policy ^
+ -Djava.rmi.server.codebase="http://%computername%:8080/server-dl.jar http://%computername%:8080/jsk-dl.jar" ^
+ -jar lib\server.jar ^
+ config\confirming-jeri-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/confirming-jeri-server.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/confirming-jeri-server.sh
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/confirming-jeri-server.sh?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/confirming-jeri-server.sh (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/confirming-jeri-server.sh Sun Sep 27 00:15:03 2009
@@ -0,0 +1,32 @@
+#! /bin/sh
+#/*
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*/
+
+# Shell script to run confirming Jini ERI server
+
+# The server host
+host=`hostname`
+
+set -x
+
+java -Djava.security.manager= \
+ -Djava.security.policy=config/server.policy \
+ -Djava.ext.dirs=../../lib-ext/ \
+ -Djava.rmi.server.codebase="http://$host:8080/server-dl.jar http://$host:8080/jsk-dl.jar" \
+ -jar lib/server.jar \
+ config/confirming-jeri-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/confirming-jeri-server.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/confirming-krb-server.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/confirming-krb-server.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/confirming-krb-server.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/confirming-krb-server.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,40 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Batch file to run confirming Kerberos server
+
+@rem Get the environment variables setup
+call scripts/krb-setenv.bat
+
+java -Djava.security.manager= ^
+ -Djava.security.policy=config\krb-server.policy ^
+ -Djava.security.auth.login.config=config\krb-server.login ^
+ -Djava.protocol.handler.pkgs=net.jini.url ^
+ -Djava.security.properties=config\dynamic-policy.security-properties ^
+ -Djava.rmi.server.RMIClassLoaderSpi=com.sun.jini.example.hello.MdClassAnnotationProvider ^
+ -Dexport.codebase.source.app=lib ^
+ -Dexport.codebase.app="httpmd://%computername%:8080/server-dl.jar;sha=0" ^
+ -Dexport.codebase.source.jsk=..\..\lib-dl ^
+ -Dexport.codebase.jsk="httpmd://%computername%:8080/jsk-dl.jar;sha=0" ^
+ -DclientPrincipal=%CLIENT%@%REALM% ^
+ -DserverPrincipal=%SERVER%@%REALM% ^
+ -DreggiePrincipal=%REGGIE%@%REALM% ^
+ -Djava.security.krb5.realm=%REALM% ^
+ -Djava.security.krb5.kdc=%KDC_HOST% ^
+ -jar lib\server.jar ^
+ config\confirming-krb-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/confirming-krb-server.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/confirming-krb-server.sh
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/confirming-krb-server.sh?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/confirming-krb-server.sh (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/confirming-krb-server.sh Sun Sep 27 00:15:03 2009
@@ -0,0 +1,45 @@
+#! /bin/sh
+#/*
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*/
+
+# Shell script to run confirming Kerberos server
+
+# The server host
+host=`hostname`
+
+# Get the environment variables setup
+. scripts/krb-setenv.sh
+set -ex
+
+java -Djava.security.manager= \
+ -Djava.security.policy=config/krb-server.policy \
+ -Djava.security.auth.login.config=config/krb-server.login \
+ -Djava.protocol.handler.pkgs=net.jini.url \
+ -Djava.security.properties=config/dynamic-policy.security-properties \
+ -Djava.rmi.server.RMIClassLoaderSpi=com.sun.jini.example.hello.MdClassAnnotationProvider \
+ -Dexport.codebase.source.app=lib \
+ -Dexport.codebase.app=httpmd://$host:8080/server-dl.jar\;sha=0 \
+ -Dexport.codebase.source.jsk=../../lib-dl \
+ -Dexport.codebase.jsk=httpmd://$host:8080/jsk-dl.jar\;sha=0 \
+ -DclientPrincipal="$CLIENT"@"$REALM" \
+ -DserverPrincipal="$SERVER"@"$REALM" \
+ -DreggiePrincipal="$REGGIE"@"$REALM" \
+ -Djava.security.krb5.realm=$REALM \
+ -Djava.security.krb5.kdc=$KDC_HOST \
+ -jar lib/server.jar \
+ config/confirming-krb-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/confirming-krb-server.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/confirming-ssl-server.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/confirming-ssl-server.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/confirming-ssl-server.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/confirming-ssl-server.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,33 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Batch file to run confirming SSL server
+
+java -Djava.security.manager= ^
+ -Djava.security.policy=config\ssl-server.policy ^
+ -Djava.security.auth.login.config=config\ssl-server.login ^
+ -Djava.security.properties=config\dynamic-policy.security-properties ^
+ -Djavax.net.ssl.trustStore=prebuiltkeys\truststore ^
+ -Djava.protocol.handler.pkgs=net.jini.url ^
+ -Djava.rmi.server.RMIClassLoaderSpi=com.sun.jini.example.hello.MdClassAnnotationProvider ^
+ -Dexport.codebase.source.app=lib ^
+ -Dexport.codebase.app="httpmd://%computername%:8080/server-dl.jar;sha=0" ^
+ -Dexport.codebase.source.jsk=..\..\lib-dl ^
+ -Dexport.codebase.jsk="httpmd://%computername%:8080/jsk-dl.jar;sha=0" ^
+ -jar lib\server.jar ^
+ config\confirming-ssl-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/confirming-ssl-server.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/confirming-ssl-server.sh
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/confirming-ssl-server.sh?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/confirming-ssl-server.sh (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/confirming-ssl-server.sh Sun Sep 27 00:15:03 2009
@@ -0,0 +1,39 @@
+#! /bin/sh
+#/*
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*/
+
+# Shell script to run confirming SSL server
+
+# The server host
+host=`hostname`
+
+set -x
+
+java -Djava.security.manager= \
+ -Djava.security.policy=config/ssl-server.policy \
+ -Djava.security.auth.login.config=config/ssl-server.login \
+ -Djava.security.properties=config/dynamic-policy.security-properties \
+ -Djavax.net.ssl.trustStore=prebuiltkeys/truststore \
+ -Djava.protocol.handler.pkgs=net.jini.url \
+ -Djava.rmi.server.RMIClassLoaderSpi=com.sun.jini.example.hello.MdClassAnnotationProvider \
+ -Dexport.codebase.source.app=lib \
+ -Dexport.codebase.app=httpmd://$host:8080/server-dl.jar\;sha=0 \
+ -Dexport.codebase.source.jsk=../../lib-dl \
+ -Dexport.codebase.jsk=httpmd://$host:8080/jsk-dl.jar\;sha=0 \
+ -jar lib/server.jar \
+ config/confirming-ssl-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/confirming-ssl-server.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/httpd.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/httpd.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/httpd.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/httpd.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,21 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Batch file to run HTTP server
+
+java -jar ..\..\lib\classserver.jar -port 8080 -dir lib;..\..\lib-dl %1
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/httpd.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/httpd.sh
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/httpd.sh?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/httpd.sh (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/httpd.sh Sun Sep 27 00:15:03 2009
@@ -0,0 +1,24 @@
+#! /bin/sh
+#/*
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*/
+
+# Shell script to run HTTP server
+
+set -x
+
+java -jar ../../lib/classserver.jar -port 8080 -dir lib:../../lib-dl $*
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/httpd.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/jeri-phoenix.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/jeri-phoenix.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/jeri-phoenix.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/jeri-phoenix.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,26 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Batch file to run Jini ERI Phoenix
+
+java -Djava.security.manager= ^
+ -Djava.security.policy=config\phoenix.policy ^
+ -Djava.rmi.server.codebase="http://%computername%:8080/phoenix-dl.jar http://%computername%:8080/jsk-dl.jar" ^
+ -DserverHost=%computername% ^
+ -jar ..\..\lib\phoenix.jar ^
+ config\jeri-phoenix.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/jeri-phoenix.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/jeri-phoenix.sh
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/jeri-phoenix.sh?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/jeri-phoenix.sh (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/jeri-phoenix.sh Sun Sep 27 00:15:03 2009
@@ -0,0 +1,32 @@
+#! /bin/sh
+#/*
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*/
+
+# Shell script to run Jini ERI Phoenix
+
+# The server host
+host=`hostname`
+
+set -x
+
+java -Djava.security.manager= \
+ -Djava.security.policy=config/phoenix.policy \
+ -Djava.rmi.server.codebase="http://$host:8080/phoenix-dl.jar http://$host:8080/jsk-dl.jar" \
+ -DserverHost=$host \
+ -jar ../../lib/phoenix.jar \
+ config/jeri-phoenix.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/jeri-phoenix.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/jeri-server.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/jeri-server.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/jeri-server.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/jeri-server.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,25 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Batch file to run Jini ERI server
+
+java -Djava.security.manager= ^
+ -Djava.security.policy=config\server.policy ^
+ -Djava.rmi.server.codebase="http://%computername%:8080/server-dl.jar http://%computername%:8080/jsk-dl.jar" ^
+ -jar lib\server.jar ^
+ config\jeri-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/jeri-server.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/jeri-server.sh
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/jeri-server.sh?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/jeri-server.sh (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/jeri-server.sh Sun Sep 27 00:15:03 2009
@@ -0,0 +1,31 @@
+#! /bin/sh
+#/*
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*/
+
+# Shell script to run Jini ERI server
+
+# The server host
+host=`hostname`
+
+set -x
+
+java -Djava.security.manager= \
+ -Djava.security.policy=config/server.policy \
+ -Djava.rmi.server.codebase="http://$host:8080/server-dl.jar http://$host:8080/jsk-dl.jar" \
+ -jar lib/server.jar \
+ config/jeri-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/jeri-server.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-phoenix.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-phoenix.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-phoenix.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-phoenix.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,26 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Batch file to run JRMP Phoenix
+
+java -Djava.security.manager= ^
+ -Djava.security.policy=config\phoenix.policy ^
+ -Djava.rmi.server.codebase="http://%computername%:8080/phoenix-dl.jar http://%computername%:8080/jsk-dl.jar" ^
+ -DserverHost=%computername% ^
+ -jar ..\..\lib\phoenix.jar ^
+ config\jrmp-phoenix.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-phoenix.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-phoenix.sh
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-phoenix.sh?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-phoenix.sh (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-phoenix.sh Sun Sep 27 00:15:03 2009
@@ -0,0 +1,32 @@
+#! /bin/sh
+#/*
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*/
+
+# Shell script to run JRMP Phoenix
+
+# The server host
+host=`hostname`
+
+set -x
+
+java -Djava.security.manager= \
+ -Djava.security.policy=config/phoenix.policy \
+ -Djava.rmi.server.codebase="http://$host:8080/phoenix-dl.jar http://$host:8080/jsk-dl.jar" \
+ -DserverHost=$host \
+ -jar ../../lib/phoenix.jar \
+ config/jrmp-phoenix.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-phoenix.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-reggie.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-reggie.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-reggie.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-reggie.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,23 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Batch file to run JRMP Reggie
+
+java -Djava.security.policy=config\start.policy ^
+ -jar ..\..\lib\start.jar ^
+ config\start-reggie.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-reggie.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-reggie.sh
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-reggie.sh?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-reggie.sh (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-reggie.sh Sun Sep 27 00:15:03 2009
@@ -0,0 +1,27 @@
+#! /bin/sh
+#/*
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*/
+
+# Shell script to run Reggie
+
+set -x
+
+java -Djava.security.policy=config/start.policy \
+ -Djava.ext.dirs=../../lib-ext/ \
+ -jar ../../lib/start.jar \
+ config/start-reggie.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-reggie.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-server.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-server.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-server.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-server.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,26 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Batch file to run JRMP server
+
+java -Djava.security.manager= ^
+ -Djava.security.policy=config\server.policy ^
+ -Djava.ext.dirs=../../lib-ext/ ^
+ -Djava.rmi.server.codebase="http://%computername%:8080/server-dl.jar http://%computername%:8080/jsk-dl.jar" ^
+ -jar lib\server.jar ^
+ config\jrmp-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-server.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-server.sh
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-server.sh?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-server.sh (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-server.sh Sun Sep 27 00:15:03 2009
@@ -0,0 +1,32 @@
+#! /bin/sh
+#/*
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*/
+
+# Shell script to run JRMP server
+
+# The server host
+host=`hostname`
+
+set -x
+
+java -Djava.security.manager= \
+ -Djava.security.policy=config/server.policy \
+ -Djava.ext.dirs=../../lib-ext/ \
+ -Djava.rmi.server.codebase="http://$host:8080/server-dl.jar http://$host:8080/jsk-dl.jar" \
+ -jar lib/server.jar \
+ config/jrmp-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/jrmp-server.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/krb-client.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/krb-client.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/krb-client.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/krb-client.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,39 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Batch file to run Kerberos client
+
+@rem Get the environment variables setup
+call scripts/krb-setenv.bat
+
+java -Djava.security.manager= ^
+ -Djava.security.policy=config\krb-client.policy ^
+ -Djava.security.properties=config\dynamic-policy.security-properties ^
+ -Djava.security.auth.login.config=config\krb-client.login ^
+ -Djava.protocol.handler.pkgs=net.jini.url ^
+ -Djava.rmi.server.RMIClassLoaderSpi=com.sun.jini.example.hello.MdClassAnnotationProvider ^
+ -Dexport.codebase.source.jsk=..\..\lib-dl ^
+ -Dexport.codebase.jsk=httpmd://%computername%:8080/jsk-dl.jar;sha=0 ^
+ -DclientPrincipal=%CLIENT%@%REALM% ^
+ -DserverPrincipal=%SERVER%@%REALM% ^
+ -DphoenixPrincipal=%PHOENIX%@%REALM% ^
+ -DreggiePrincipal=%REGGIE%@%REALM% ^
+ -Djava.security.krb5.realm=%REALM% ^
+ -Djava.security.krb5.kdc=%KDC_HOST% ^
+ -jar lib\client.jar ^
+ config\krb-client.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/krb-client.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/krb-client.sh
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/krb-client.sh?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/krb-client.sh (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/krb-client.sh Sun Sep 27 00:15:03 2009
@@ -0,0 +1,44 @@
+#! /bin/sh
+#/*
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*/
+
+# Shell script to run Kerberos client
+
+# The server host
+host=`hostname`
+
+# Get the environment variables setup
+. scripts/krb-setenv.sh
+
+set -ex
+
+java -Djava.security.manager= \
+ -Djava.security.policy=config/krb-client.policy \
+ -Djava.security.properties=config/dynamic-policy.security-properties \
+ -Djava.security.auth.login.config=config/krb-client.login \
+ -Djava.protocol.handler.pkgs=net.jini.url \
+ -Djava.rmi.server.RMIClassLoaderSpi=com.sun.jini.example.hello.MdClassAnnotationProvider \
+ -Dexport.codebase.source.jsk=../../lib-dl \
+ -Dexport.codebase.jsk=httpmd://$host:8080/jsk-dl.jar\;sha=0 \
+ -DclientPrincipal="$CLIENT"@"$REALM" \
+ -DserverPrincipal="$SERVER"@"$REALM" \
+ -DreggiePrincipal="$REGGIE"@"$REALM" \
+ -Djava.security.krb5.realm=$REALM \
+ -Djava.security.krb5.kdc=$KDC_HOST \
+ -jar lib/client.jar \
+ config/krb-client.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/krb-client.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/krb-phoenix.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/krb-phoenix.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/krb-phoenix.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/krb-phoenix.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,39 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Batch file to run Kerberos Phoenix
+
+@rem Get the environment variables setup
+call scripts/krb-setenv.bat
+
+java -Djava.security.manager= ^
+ -Djava.security.policy=config\krb-phoenix.policy ^
+ -Djava.security.auth.login.config=config\krb-phoenix.login ^
+ -Djava.protocol.handler.pkgs=net.jini.url ^
+ -Djava.rmi.server.RMIClassLoaderSpi=com.sun.jini.example.hello.MdClassAnnotationProvider ^
+ -Dexport.codebase.source.jsk=..\..\lib-dl ^
+ -Dexport.codebase.jsk="httpmd://%computername%:8080/phoenix-dl.jar;sha=0 httpmd://%computername%:8080/jsk-dl.jar;sha=0" ^
+ -DclientPrincipal=%CLIENT%@%REALM% ^
+ -DserverPrincipal=%SERVER%@%REALM% ^
+ -DphoenixPrincipal=%PHOENIX%@%REALM% ^
+ -DreggiePrincipal=%REGGIE%@%REALM% ^
+ -Djava.security.krb5.realm=%REALM% ^
+ -Djava.security.krb5.kdc=%KDC_HOST% ^
+ -classpath ..\..\lib\phoenix.jar;lib\mdprefld.jar ^
+ com.sun.jini.phoenix.Activation ^
+ config\krb-phoenix.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/krb-phoenix.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/krb-phoenix.sh
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/krb-phoenix.sh?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/krb-phoenix.sh (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/krb-phoenix.sh Sun Sep 27 00:15:03 2009
@@ -0,0 +1,45 @@
+#! /bin/sh
+#/*
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*/
+
+# Shell script to run Kerberos Phoenix
+
+# The server host
+host=`hostname`
+
+# Get the environment variables setup
+. scripts/krb-setenv.sh
+
+set -ex
+
+java -Djava.security.manager= \
+ -Djava.security.policy=config/krb-phoenix.policy \
+ -Djava.security.auth.login.config=config/krb-phoenix.login \
+ -Djava.protocol.handler.pkgs=net.jini.url \
+ -Djava.rmi.server.RMIClassLoaderSpi=com.sun.jini.example.hello.MdClassAnnotationProvider \
+ -Dexport.codebase.source.jsk=../../lib-dl \
+ -Dexport.codebase.jsk="httpmd://$host:8080/phoenix-dl.jar;sha=0 httpmd://$host:8080/jsk-dl.jar;sha=0" \
+ -DclientPrincipal="$CLIENT"@"$REALM" \
+ -DserverPrincipal="$SERVER"@"$REALM" \
+ -DphoenixPrincipal="$PHOENIX"@"$REALM" \
+ -DreggiePrincipal="$REGGIE"@"$REALM" \
+ -Djava.security.krb5.realm=$REALM \
+ -Djava.security.krb5.kdc=$KDC_HOST \
+ -classpath ../../lib/phoenix.jar:lib/mdprefld.jar \
+ com.sun.jini.phoenix.Activation \
+ config/krb-phoenix.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/krb-phoenix.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/krb-reggie.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/krb-reggie.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/krb-reggie.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/krb-reggie.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,36 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Batch file to run Kerberos Reggie
+
+@rem Get the environment variables setup
+call scripts\krb-setenv.bat
+
+java -Djava.security.manager= ^
+ -Djava.security.policy=config\krb-reggie.policy ^
+ -Djava.security.auth.login.config=config\krb-reggie.login ^
+ -Djava.protocol.handler.pkgs=net.jini.url ^
+ -DclientPrincipal=%CLIENT%@%REALM% ^
+ -DserverPrincipal=%SERVER%@%REALM% ^
+ -DphoenixPrincipal=%PHOENIX%@%REALM% ^
+ -DreggiePrincipal=%REGGIE%@%REALM% ^
+ -Djava.security.krb5.realm=%REALM% ^
+ -Djava.security.krb5.kdc=%KDC_HOST% ^
+ -Djava.security.properties=config\dynamic-policy.security-properties ^
+ -jar ..\..\lib\start.jar ^
+ config\start-krb-reggie.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/krb-reggie.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/krb-reggie.sh
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/krb-reggie.sh?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/krb-reggie.sh (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/krb-reggie.sh Sun Sep 27 00:15:03 2009
@@ -0,0 +1,42 @@
+#! /bin/sh
+#/*
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*/
+
+# Shell script to run Kerberos Reggie
+
+# The server host
+host=`hostname`
+
+# Get the environment variables setup
+. scripts/krb-setenv.sh
+
+set -ex
+
+java -Djava.security.manager= \
+ -Djava.security.policy=config/krb-reggie.policy \
+ -Djava.security.auth.login.config=config/krb-reggie.login \
+ -Djava.protocol.handler.pkgs=net.jini.url \
+ -DclientPrincipal="$CLIENT"@"$REALM" \
+ -DserverPrincipal="$SERVER"@"$REALM" \
+ -DphoenixPrincipal="$PHOENIX"@"$REALM" \
+ -DreggiePrincipal="$REGGIE"@"$REALM" \
+ -Djava.security.krb5.realm=$REALM \
+ -Djava.security.krb5.kdc=$KDC_HOST \
+ -Djava.security.properties=config/dynamic-policy.security-properties \
+ -jar ../../lib/start.jar \
+ config/start-krb-reggie.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/krb-reggie.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/krb-server.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/krb-server.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/krb-server.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/krb-server.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,40 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Batch file to run Kerberos server
+
+@rem Get the environment variables setup
+call scripts/krb-setenv.bat
+
+java -Djava.security.manager= ^
+ -Djava.security.policy=config\krb-server.policy ^
+ -Djava.security.auth.login.config=config\krb-server.login ^
+ -Djava.protocol.handler.pkgs=net.jini.url ^
+ -Djava.security.properties=config\dynamic-policy.security-properties ^
+ -Djava.rmi.server.RMIClassLoaderSpi=com.sun.jini.example.hello.MdClassAnnotationProvider ^
+ -Dexport.codebase.source.app=lib ^
+ -Dexport.codebase.app="httpmd://%computername%:8080/server-dl.jar;sha=0" ^
+ -Dexport.codebase.source.jsk=..\..\lib-dl ^
+ -Dexport.codebase.jsk="httpmd://%computername%:8080/jsk-dl.jar;sha=0" ^
+ -DclientPrincipal=%CLIENT%@%REALM% ^
+ -DserverPrincipal=%SERVER%@%REALM% ^
+ -DreggiePrincipal=%REGGIE%@%REALM% ^
+ -Djava.security.krb5.realm=%REALM% ^
+ -Djava.security.krb5.kdc=%KDC_HOST% ^
+ -jar lib\server.jar ^
+ config\krb-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/krb-server.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/krb-server.sh
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/krb-server.sh?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/krb-server.sh (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/krb-server.sh Sun Sep 27 00:15:03 2009
@@ -0,0 +1,46 @@
+#! /bin/sh
+#/*
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*/
+
+# Shell script to run Kerberos server
+
+# The server host
+host=`hostname`
+
+# Get the environment variables setup
+. scripts/krb-setenv.sh
+
+set -ex
+
+java -Djava.security.manager= \
+ -Djava.security.policy=config/krb-server.policy \
+ -Djava.security.auth.login.config=config/krb-server.login \
+ -Djava.protocol.handler.pkgs=net.jini.url \
+ -Djava.security.properties=config/dynamic-policy.security-properties \
+ -Djava.rmi.server.RMIClassLoaderSpi=com.sun.jini.example.hello.MdClassAnnotationProvider \
+ -Dexport.codebase.source.app=lib \
+ -Dexport.codebase.app=httpmd://$host:8080/server-dl.jar\;sha=0 \
+ -Dexport.codebase.source.jsk=../../lib-dl \
+ -Dexport.codebase.jsk=httpmd://$host:8080/jsk-dl.jar\;sha=0 \
+ -DclientPrincipal="$CLIENT"@"$REALM" \
+ -DserverPrincipal="$SERVER"@"$REALM" \
+ -DreggiePrincipal="$REGGIE"@"$REALM" \
+ -Djava.security.krb5.realm=$REALM \
+ -Djava.security.krb5.kdc=$KDC_HOST \
+ -jar lib/server.jar \
+ config/krb-server.config
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/krb-server.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/river/jtsk/trunk/examples/hello/scripts/krb-setenv.bat
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/examples/hello/scripts/krb-setenv.bat?rev=819236&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/examples/hello/scripts/krb-setenv.bat (added)
+++ incubator/river/jtsk/trunk/examples/hello/scripts/krb-setenv.bat Sun Sep 27 00:15:03 2009
@@ -0,0 +1,50 @@
+@rem /*
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements. See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership. The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem */
+
+@rem Script to set environment variables used by other Kerberos scripts.
+@rem You should modify the variable values to match your environment
+@rem setup.
+
+@rem Client principal, excluding the realm
+@rem Example: set CLIENT=client
+if "%CLIENT%"=="" set CLIENT=client
+
+@rem Server principal, including server name and instance, but not the realm
+@rem Example: set SERVER=server or
+@rem set SERVER=server/server1.xyz.com
+if "%SERVER%"=="" set SERVER=server
+
+@rem Phoenix principal, including phoenix name and instance, but not
+@rem the realm
+@rem Example: set PHOENIX=phoenix or
+@rem set PHOENIX=phoenix/server2.xyz.com
+if "%PHOENIX%"=="" set PHOENIX=phoenix
+
+@rem Reggie principal, including reggie name and instance, but not
+@rem the realm
+@rem Example: set REGGIE=reggie or
+@rem set REGGIE=reggie/server2.xyz.com
+if "%REGGIE%"=="" set REGGIE=reggie
+
+@rem Default realm used by KDC and all principals in this example
+@rem Example: set REALM=REALM1.XYZ.COM
+if "%REALM%"=="" set REALM=your_default_realm
+
+@rem Host on which the KDC server is running
+@rem Example: set KDC_HOST=server3.xyz.com
+if "%KDC_HOST%"=="" set KDC_HOST=your_kdc_host
Propchange: incubator/river/jtsk/trunk/examples/hello/scripts/krb-setenv.bat
------------------------------------------------------------------------------
svn:executable = *