OK, cool, I knew you'd know how to fix it, thanks!

On Thu, Aug 13, 2015 at 3:28 PM, Romain Manni-Bucau <[email protected]>
wrote:

> deployClasspathAsWebApp uses the classpath so either use
> .securityConstaint() or add your web.xml to the classpath. In
> deployClasspathAsWebApp() you can set the base (src/main/webapp) instead of
> null as well.
>
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <http://www.tomitribe.com>
>
> 2015-08-13 12:22 GMT-07:00 sgjava <[email protected]>:
>
> > Right, it deploys fine as a compressed war to TomEE stand-alone. I'm only
> > having a problem running with test Container using exploded war with
> > container.deployClasspathAsWebApp("/project/", null); It doesn't pick up
> > security-constraint, but the rest of the app works fine.
> >
> >
> >
> > --
> > View this message in context:
> >
> http://tomee-openejb.979440.n4.nabble.com/Using-basic-auth-with-tomee-embedded-tp4675786p4675870.html
> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >
>



-- 
Steven P. Goldsmith

Reply via email to