exception is swallowed by tomcat JAASRealm but you can override it
with a custom implementation easily.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2013/12/16 renz <[email protected]>:
> I took a look a the source code.
> It seems that LoginModule.login() exceptions are not propagated from
> JAASRealm.authenticate() to TomcatSecurityService.login().
> Implementing my own Realm wouldn't change it, since the exception is
> 'swallowed' in TomcatSecurityService.login().
>
> Any workaround? Maybe my design is not good.
>
>
>
> --
> View this message in context: 
> http://openejb.979440.n4.nabble.com/Remote-EJB-Client-Authentication-JAAS-tp4666734p4666763.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to