2016-10-04 11:42 GMT+02:00 renz <[email protected]>: > Hi Romain, > > Thank you very much. It seems to do the trick. > > 1. What is the purpose of this property? > > By default ejbd uses a session so flow is something like:
a. login b. do business calls c. logout If B is 1000000 of calls you still have had a single a (and will get a single c) With this property flow is a,b,c for each invocation but a and c are no more needed globally. In other words you authenticate where the request ends each time. > 2. I have a side effect. If my login module throw a FailedLoginException, I > get the exception below when I create the InitialContext. Without > 'openejb.ejbd.authenticate-with-request=true', FailedLoginException were > nested in an 'AuthenticationException' > > > With that property you log in with a business call no more with an authentication phase so doesn't shock or surprise me much. Is that an issue? > > Any idea? > > > > -- > View this message in context: http://tomee-openejb.979440. > n4.nabble.com/How-to-share-identity-between-several-TomEE-servers- > tp4680280p4680283.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
