Find all implementations of Session, then set breakpoiunt on session.invalidate() would be a good place to start. Another good place would be your SessionManager as it has several interesting methods.
The JVM's JDI does not allow you to set breakpoint on an interface, but some IDE's have a magic trick where they'll find the implementations for you and set the breakpoints on the implementations as they're loaded. On Tue, Jul 25, 2023 at 4:25 AM Wiemann, Helge (ESI) <helge.wiem...@adp.com.invalid> wrote: > Hi all, > > > > we have a problem that we have set the tomcat timeout to 10 minutes. But > after a successful login with a realm, the user is automatically logged > out, sometimes after one minute, sometimes other times. > > > > I have downloaded the source code, want to set a breakpoint. Does anybody > know a code place in tomcat where I can set a breakpoint when the session > timeout is handled? > > > > Best regards, > > > > Helge > > > > > > > > <https://www.de-adp.com/> > > Helge Wiemann > Application Developer > > Mary-Somerville-Str. 4, DE- 28359 Bremen > T: +49 800 000 6898 > > helge.wiem...@adp.com > > > > [image: LinkedIn] <https://www.linkedin.com/company/adp>[image: Twitter] > <https://twitter.com/adp_ger>[image: Facebook] > <https://www.facebook.com/AutomaticDataProcessing>[image: YouTube] > <https://www.youtube.com/user/ADPDeutschland>[image: Instagram] > <https://www.instagram.com/adp/?hl=en> > > ADP Employer Services > GmbH; Sitz der Gesellschaft: Neu-Isenburg; Registergericht: Amtsgericht > Offenbach am > Main HRB 11980; > Geschäftsführer Martijn Brand (Vorsitzender), Virginia Magliulo; > Aufsichtsratsvorsitzende: Marcela Uribe > > > This message and any attachments are intended only for the use of the > addressee and may contain information that is privileged and confidential. > If the reader of the message is not the intended recipient or an authorized > representative of the intended recipient, you are hereby notified that any > dissemination of this communication is strictly prohibited. If you have > received this communication in error, notify the sender immediately by > return email and delete the message and any attachments from your system. > -- Jonathan | exabr...@gmail.com Pessimists, see a jar as half empty. Optimists, in contrast, see it as half full. Engineers, of course, understand the glass is twice as big as it needs to be.