0 Replies Latest reply on Jul 14, 2014 7:27 PM by mvera31

    How to enable my own realm instead of overriding ApplicationRealm

    mvera31

      Hi,

      I managed to use an LDAP realm to authenticate users with basic authentication. It works well.

      But I had to override the ApplicationRealm in standalone.xml and declare login-config like this in my web.xml:

      <login-config>

           <auth-method>BASIC</auth-method>

           <realm-name>ApplicationRealm</realm-name>

      </login-config>

      If I declare a new realm and use it in my web.xml it doesn't work.

      Is it the right way to override ApplicationRealm or did I miss something to activate my realm ?