added jndi and jaas dependencies
Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
parent
3768b09d6f
commit
d1f6cbb9da
|
@ -17,11 +17,11 @@
|
||||||
<p>To enable JAAS in a base jetty instance do:
|
<p>To enable JAAS in a base jetty instance do:
|
||||||
<pre>
|
<pre>
|
||||||
$ cd $JETTY_BASE
|
$ cd $JETTY_BASE
|
||||||
$ java -jar $JETTY_HOME/start.jar --add-to-start=jaas
|
$ java -jar $JETTY_HOME/start.jar --add-module=jaas
|
||||||
</pre>
|
</pre>
|
||||||
</p>
|
</p>
|
||||||
<p>This will create a $JETTY_BASE/start.d/jaas.ini file to enable and parameterize JAAS. If no start.d directory exists, then the same initialisation will be appended to the
|
<p>This will create a $JETTY_BASE/start.d/jaas.ini file to enable and parameterize JAAS.
|
||||||
$JETTY_BASE/start.ini file. The Jetty demo-base already has JAAS enabled in its start.ini file. </p>
|
The Jetty demo-base already has JAAS enabled by the demo-jaas module. </p>
|
||||||
|
|
||||||
<p>The full source of this demonstration is available <a
|
<p>The full source of this demonstration is available <a
|
||||||
href="https://github.com/eclipse/jetty.project/blob/master/tests/test-webapps/test-jaas-webapp">here</a>.</p>
|
href="https://github.com/eclipse/jetty.project/blob/master/tests/test-webapps/test-jaas-webapp">here</a>.</p>
|
||||||
|
|
|
@ -8,8 +8,10 @@ demo
|
||||||
webapp
|
webapp
|
||||||
|
|
||||||
[depends]
|
[depends]
|
||||||
plus
|
deploy
|
||||||
|
ext
|
||||||
jdbc
|
jdbc
|
||||||
|
plus
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
basehome:modules/demo.d/demo-jndi.xml|webapps/demo-jndi.xml
|
basehome:modules/demo.d/demo-jndi.xml|webapps/demo-jndi.xml
|
||||||
|
|
|
@ -22,11 +22,12 @@ This example shows how to configure and lookup resources such as DataSources, a
|
||||||
<p>To enable JNDI in a base jetty instance do:
|
<p>To enable JNDI in a base jetty instance do:
|
||||||
<pre>
|
<pre>
|
||||||
$ cd $JETTY_BASE
|
$ cd $JETTY_BASE
|
||||||
$ java -jar $JETTY_HOME/start.jar --add-to-startd=jndi
|
$ java -jar $JETTY_HOME/start.jar --add-module=jndi
|
||||||
</pre>
|
</pre>
|
||||||
</p>
|
</p>
|
||||||
<p>This will create a $JETTY_BASE/start.d/jndi.ini file to enable and parameterise JNDI. If the --add-to-start option instead, then the same initialisation will be appended to the
|
<p>This will create a $JETTY_BASE/start.d/jndi.ini file to enable and parameterise JNDI.
|
||||||
$JETTY_BASE/start.ini file instead. The jetty demo-base already has JNDI enabled in the start.ini file and some mock resources included. </p>
|
The jetty demo-base already has JNDI enabled and some mock resources included by the
|
||||||
|
demo-jndi module. </p>
|
||||||
<p>The full source of this demonstration is available <a href="https://github.com/eclipse/jetty.project/blob/master/tree/tests/test-webapps/test-jndi-webapp">here</a>.</p>
|
<p>The full source of this demonstration is available <a href="https://github.com/eclipse/jetty.project/blob/master/tree/tests/test-webapps/test-jndi-webapp">here</a>.</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue