Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

login-config element in DD

 
Deb Sadhukhan
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
login-config doesn't have mandatory sub-elements.
What is the use of it? Is it true having <login-config/> in DD will make the entire app. inaccessible by anybody?
[ February 11, 2005: Message edited by: Deb Sadhukhan ]
 
Rodrigo W Bonatto
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

If you define a <security-constraint> element, you must define a <login-config> element, otherwise the container will throw a NullPointerException (in Tomcat 5.0.28).

I don't know if it depends of container implementation or if it is the default behaviour.

Regards,

Rodrigo
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic