[midPoint-git] [Evolveum/midpoint] 80fdb9: adding try/catch for calling audit servis during a...

Lukas Skublik noreply at github.com
Mon Jan 27 15:06:52 CET 2025


  Branch: refs/heads/support-4.8
  Home:   https://github.com/Evolveum/midpoint
  Commit: 80fdb97cea2cb789412e3fca273982e3d3d916f7
      https://github.com/Evolveum/midpoint/commit/80fdb97cea2cb789412e3fca273982e3d3d916f7
  Author: skublik <lukas.skublik at gmail.com>
  Date:   2025-01-27 (Mon, 27 Jan 2025)

  Changed paths:
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/handler/AuditedAccessDeniedHandler.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/handler/AuditedLogoutHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/SecurityHelper.java

  Log Message:
  -----------
  adding try/catch for calling audit servis during authentication (fix for showing 500 error page if audit throws exception)

(cherry picked from commit 0c67a87026a644faae8841268476a7ccb25804f3)


  Commit: 49e0c5e8da76433b7fcabca6d9830e6a43451cd3
      https://github.com/Evolveum/midpoint/commit/49e0c5e8da76433b7fcabca6d9830e6a43451cd3
  Author: skublik <lukas.skublik at gmail.com>
  Date:   2025-01-27 (Mon, 27 Jan 2025)

  Changed paths:
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/handler/AuditedAccessDeniedHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/SecurityHelper.java

  Log Message:
  -----------
  adding creating audit record for normalized username to catch exception thrown by audit record creation during authentication

(cherry picked from commit 64ad5a7ca75087a2e55fda5f95c866f782f06f6a)


  Commit: 6d73ba5b0820180cf345ec18bd4d9d9023613d96
      https://github.com/Evolveum/midpoint/commit/6d73ba5b0820180cf345ec18bd4d9d9023613d96
  Author: skublik <lukas.skublik at gmail.com>
  Date:   2025-01-27 (Mon, 27 Jan 2025)

  Changed paths:
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/handler/AuditedAccessDeniedHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/SecurityHelper.java

  Log Message:
  -----------
  fix setting normalized username to new audit record to catch exception thrown by audit record creation during authentication

(cherry picked from commit a7760341851cdf884065d3996fee67392236150c)


Compare: https://github.com/Evolveum/midpoint/compare/2f1c8c71e9f7...6d73ba5b0820

To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list