Skip to content

Commit

Permalink
Wrong ? packages in the JNDI mail example
Browse files Browse the repository at this point in the history
  • Loading branch information
karstenhusberg authored Dec 11, 2024
1 parent 9d39936 commit 183bd06
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,11 @@ To configure access to `javax.mail.Session` from within a webapp, declare an `or
[,xml,subs=attributes+]
----
<Configure id='wac' class="org.eclipse.jetty.{ee-current}.webapp.WebAppContext">
<New class="org.eclipse.jetty.{ee-current}.jndi.Resource">
<New class="org.eclipse.jetty.plus.jndi.Resource">
<Arg><Ref refid="wac"/></Arg>
<Arg>mail/Session</Arg>
<Arg>
<New class="org.eclipse.jetty.{ee-current}.factories.MailSessionReference"> <!--1-->
<New class="org.eclipse.jetty.{ee-current}.jndi.factories.MailSessionReference"> <!--1-->
<Set name="user">fred</Set> <!--2-->
<Set name="password">OBF:1xmk1w261z0f1w1c1xmq</Set> <!--3-->
<Set name="properties"> <!--4-->
Expand Down

0 comments on commit 183bd06

Please sign in to comment.