This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Authentication

 
MaheshS Kumbhar
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To get authentication working, we must use


In addition to that, if we dont specify element inside then this tells the Container to allow unauthenticated access to URL's matching to element inside .

So does this mean that specifying only element in DD is not enough to allow authentication working, it needs to be used in combination with element too to get authentication working.
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2343
90
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi MaheshS,

does this mean that specifying only <login-config> element in DD is not enough to allow authentication working, it needs to be used in combination with


That is correct.

There is a subtle difference between:
  • Allowing everybody -> so no <auth-constraint>
  • Allowing known users -> <auth-constraint> with <role-name> of *

  • Regards,
    Frits
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic