I am trying to setup Shield Custom realm example which is in the GIT to test out, I build the code and deployed with exact configuration as mentioned in Read.Me note that is
so in this case when i do a curl or access the ES from browser it sure asks for login credentials and gets authenticated over Jane & John, however if we were to remove the native realm, then the login dialog itself does not appear, hence in order to get the login dialog I modified CustomAuthenticationFailureHandling class to send this > e.addHeader("WWW-Authenticate", "Basic");
with this the Login dialog started appearing however it does not authenticate the Users John & Jane and in the access-log i get the following
[2016-12-28 17:14:37,532] [node-1] [rest] [anonymous_access_denied] origin_address=[192.168.3.117], uri=[/]
Can you help me understand why is this behaviour so?