I'm using wildfly 15 and try to understand elytron security. Can someone give me information where I can dig deeper to understand the behavior of authentification.
My problem is that I have an application that has to use SPNEGO and BASIC authentification. The web front end should be authentificated by SPNEGO. There are some rest services exposed, which are accessed by other services using BASIC authentification.
I configured a http-authentification-factory having realm definitions for every mechanism. SPNEGO is working fine. I have trouble with BASIC authentification, because the factory is using the default realm of connected security domain and not the the realm assigned for BASIC mechanism. Can someone help to get this working or give hints where I can find more information about that?
I attached my configuration and a logexcerpt. My problem is between line 6 and 15 where I do not understand, what happens there. It seems that ApplicationRealm is used, but I think that authentification is done by kerberosRealm (default realm of security domain).