security - Realm name in tomcat (web.xml) -
what realm-name in tomcat.
<login-config> <auth-method>basic</auth-method> <realm-name></realm-name> </login-config> in above code have fill realm-name element. have seen following code in server.xml file:
<realm classname="org.apache.catalina.realm.userdatabaserealm" resourcename="userdatabase"/> where realm-name specified? user name?
realm name not user name. authentication realm, 'typically description of computer or system being accessed" - see http://en.wikipedia.org/wiki/basic_access_authentication. should name makes sense resource protecting.
Comments
Post a Comment