Skip to content

Commit

Permalink
Merge pull request #12626 from karstenhusberg/patch-1
Browse files Browse the repository at this point in the history
Wrong ? packages in the JNDI mail example
  • Loading branch information
olamy authored Dec 12, 2024
2 parents 9d39936 + 183bd06 commit cfd3a06
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 cfd3a06

Please sign in to comment.