Open anthony-o opened 7 years ago
Did you ever get this resolved? I am facing the same problem. Using Kerberos as primary authentication, LDAP as fall back for systems that don't speak Kerberos. I get the login page, authentication is successful, but then the Kerberos onAuthenticationSuccess() throws an exception because it doesn't like the token. This looks like an issue with the underlying Spring Kerberos library, not the Grails plugin.
I'm using both
ldapAuthProvider
andkerberosServiceAuthenticationProvider
.All is going well when I try to login using Kerberos authentication mechanism, but when I use the ldap one, then I have this error:
It seems that this plugin replaces the
successHandler
ofRequestHolderAuthenticationFilter
withResponseHeaderSettingKerberosAuthenticationSuccessHandler
but does not handle the case when another Provider has logged-in the user: