[keycloak-user] How to debug Tomcat 8 KeycloakAuthenticatorValve?

Luis Rodríguez Fernández uo67113 at gmail.com
Wed Sep 26 08:11:18 EDT 2018


Hello Narenda,

- Start your tomcat under JPDA debugger. You have multiple options:
  - Using bin/catalina.sh jpda start
  - Adding -Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 startup
options (e.g. via setenv.sh)
- Clone keycloak project
- Open a debugger session

Hope it helps,

Luis

El dom., 23 sept. 2018 a las 12:36, Narendra Pathai (<
narendra.pathai at sterlite.com>) escribió:

> I am using Keycloak with Tomcat 8, and I am able to successfully able to
> achieve OpenID connect based Single Sign On flow.
>
> But I am facing issue with back-channel logout, when I click on logout from
> Sessions tab, it shows success. But the application session is not
> invalidated and the application session still can be used actively till the
> token expiry.
>
> So I wanted to debug the source and see if I could find the root cause and
> solve the issue if any. Please help me in guiding how to debug
> KeycloackAuthenticatorValve. I am using IntelliJ IDEA for development.
>
> Let me know if any further details are required.
>
> Regards,
> Narendra Pathai
>
> --
> *Sterlite Tech Disclaimer:*
> The content of this message may be legally
> privileged and confidential and are for the use of the intended
> recipient(s) only. It should not be read, copied and used by anyone other
> than the intended recipient(s). If you have received this message in
> error,
> please immediately notify the sender, preserve its confidentiality and
> delete it. Before opening any attachments please check them for viruses
> and
> defects. No employee or agent is authorised to conclude any binding
> agreement on behalf of Sterlite Technologies Limited with another party by
> email without express written confirmation by authorised person. Visit us
> at www.sterlitetech.com <http://www.sterlitetech.com>
>  Please consider
> environment before printing this email !
>
>
> Registered office: E 1, MIDC
> Industrial Area, Waluj,
> Aurangabad, Maharashtra – 431 136 CIN –
> L31300MH2000PLC269261
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user



-- 

"Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better."

- Samuel Beckett


More information about the keycloak-user mailing list