WildFly and Java EE security configuration with Elytron
- You need to configure the basic type of authentication in the server configuration but not in
web.xml
- The name of realm is not important. It is just displayed in the browser when you get the
401 Unauthorized
(theWWW-Authenticate
header). If the ream name is configured inweb.xml
it is used, otherwise the one from the server config is used.