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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -