Ok but for set it i hsvevto write a ServletContextListener ??? Il 24/set/2015 09:28, "Romain Manni-Bucau [via TomEE & OpenEJB]" < [email protected]> ha scritto:
> you use a path accessible from your classloader using getResource.for > instance WEB-INF/classes/jaas.config -> use jaas.config. > > > 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-09-24 0:12 GMT-07:00 mauro2java2011 <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=4676328&i=0>>: > > > > > > > > > Mauro > > Romain Manni-Bucau wrote > > > Hi > > > > > > Your login module should be in the container so added in libs if setup > in > > > server.xml. > > > > > > If you want to keep it in your webapp configure the realm in > context.xml > > > rather than server.xml, use configFile configuration to point on a > > > classloader resourcz for the jaas.config. > > > > and how is possible configuration to point on al classloader resorucez > for > > the jaas.config??? > > > > > > > > > > -- > > View this message in context: > > > http://tomee-openejb.979440.n4.nabble.com/Jaas-issue-with-Maven-Tomee-plugin-tp4676308p4676327.html > > Sent from the TomEE Users mailing list archive at Nabble.com. > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://tomee-openejb.979440.n4.nabble.com/Jaas-issue-with-Maven-Tomee-plugin-tp4676308p4676328.html > To unsubscribe from Jaas issue with Maven Tomee plugin, click here > <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4676308&code=bWF1cm8yamF2YTIwMTFAZ21haWwuY29tfDQ2NzYzMDh8LTExMTcxODc2MjU=> > . > NAML > <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Jaas-issue-with-Maven-Tomee-plugin-tp4676308p4676329.html Sent from the TomEE Users mailing list archive at Nabble.com.
