From e6dca19b0c53e21ef3af438437c0577a9d8f5a8f Mon Sep 17 00:00:00 2001 From: Lydon da Rocha Date: Wed, 14 Aug 2024 17:42:52 +0200 Subject: [PATCH] Disable Cache --- .../provider/kerberos/KerberosSPNEGOAuthenticationProvider.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/api/src/main/scala/za/co/absa/loginsvc/rest/provider/kerberos/KerberosSPNEGOAuthenticationProvider.scala b/api/src/main/scala/za/co/absa/loginsvc/rest/provider/kerberos/KerberosSPNEGOAuthenticationProvider.scala index 64e90cf..eabd59d 100644 --- a/api/src/main/scala/za/co/absa/loginsvc/rest/provider/kerberos/KerberosSPNEGOAuthenticationProvider.scala +++ b/api/src/main/scala/za/co/absa/loginsvc/rest/provider/kerberos/KerberosSPNEGOAuthenticationProvider.scala @@ -44,6 +44,7 @@ class KerberosSPNEGOAuthenticationProvider(activeDirectoryLDAPConfig: ActiveDire if (kerberos.krbFileLocation.nonEmpty) { logger.info(s"Using KRB5 CONF from ${kerberos.krbFileLocation}") System.setProperty("java.security.krb5.conf", kerberos.krbFileLocation) + System.setProperty("KRB5RCACHETYPE","none") } def spnegoAuthenticationProcessingFilter(authenticationManager: AuthenticationManager): SpnegoAuthenticationProcessingFilter =