Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-24 Thread Mark Thomas
On 24/11/2021 08:06, Mark Thomas wrote: On 23/11/2021 20:42, Michael B Allen wrote: On Tue, Nov 23, 2021 at 2:59 PM Thomas Hoffmann (Speed4Trade GmbH) wrote: Short Addendum: The "destroyed" flag gets set, when the dispose-method of the GSSCredentialImpl was invoked. Currently, I have no

AW: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-24 Thread Thomas Hoffmann (Speed4Trade GmbH)
, Thomas -Ursprüngliche Nachricht- Von: Michael B Allen Gesendet: Dienstag, 23. November 2021 21:42 An: Tomcat Users List Betreff: Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime On Tue, Nov 23, 2021 at 2:59 PM Thomas Hoffmann

Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-24 Thread Mark Thomas
On 23/11/2021 20:42, Michael B Allen wrote: On Tue, Nov 23, 2021 at 2:59 PM Thomas Hoffmann (Speed4Trade GmbH) wrote: Short Addendum: The "destroyed" flag gets set, when the dispose-method of the GSSCredentialImpl was invoked. Currently, I have no clue when and how it happens, but I have

Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-23 Thread Michael B Allen
On Tue, Nov 23, 2021 at 2:59 PM Thomas Hoffmann (Speed4Trade GmbH) wrote: > > Short Addendum: > > The "destroyed" flag gets set, when the dispose-method of the > GSSCredentialImpl was invoked. > Currently, I have no clue when and how it happens, but I have seen this > problem every few months.

AW: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-23 Thread Thomas Hoffmann (Speed4Trade GmbH)
021 20:51 An: Tomcat Users List Betreff: AW: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime Hello Mike, I checked the last Java 17 Sources, the illegalStateException is still there: https://github.com/openjdk/jdk/blob/jdk-17%2B35/src/java.securit

AW: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-23 Thread Thomas Hoffmann (Speed4Trade GmbH)
n: Tomcat Users List Betreff: Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime On Mon, Nov 22, 2021 at 2:39 AM Thomas Hoffmann (Speed4Trade GmbH) wrote: > Would it be better to also catch IllegalStateException and instead of > ch

Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-23 Thread Michael B Allen
On Mon, Nov 22, 2021 at 2:39 AM Thomas Hoffmann (Speed4Trade GmbH) wrote: > Would it be better to also catch IllegalStateException and instead of > checking left == 0 to change it to left <= 0 ? I would argue that this is a bug in JGSS. JGSS has been a comedy of errors over the years. I thought

AW: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-23 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Mark, thank you very much for your lightning speed fix and answer  Have a nice day, Thomas -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Montag, 22. November 2021 18:44 An: users@tomcat.apache.org Betreff: Re: Authentication with Browser stopped working / missing

Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-22 Thread Mark Thomas
On 22/11/2021 07:38, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello, we are using apache-tomcat-9.0.54 with LDAP authentication under Windows 2012R2. One of the user complained that access with Firefox stopped working. Would it be better to also catch IllegalStateException and instead of

Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-21 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, we are using apache-tomcat-9.0.54 with LDAP authentication under Windows 2012R2. One of the user complained that access with Firefox stopped working. Looking into the logs I could find the following message: java.lang.IllegalStateException: This credential is no longer