[jboss-user] [Beginners Corner] - web.xml <realm-name> vs jboss-web.xml <security-domain> ?

konstandinos do-not-reply at jboss.com
Mon Oct 22 10:21:48 EDT 2007


Hi

What is the difference between web.xml <realm-name> and jboss-web.xml <security-domain> ? 

I have this webapp that uses...


  | <login-config>
  |     <auth-method>BASIC</auth-method>
  |     <realm-name>REALM-NAME</realm-name>
  | </login-config>
  | 

... and I don't see why it needs to have <realm-name> specified when I've already set the <security-domain> in jboss-web.xml like so:


  | <jboss-web>	
  | 	<security-domain>java:/jaas/REALM-NAME</security-domain>
  | </jboss-web>
  | 

Please clarify. Thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097500#4097500

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097500



More information about the jboss-user mailing list