• 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
Posts: 2785
175
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
     
    my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
    the new thread boost feature brings a LOT of attention to your favorite threads
    https://coderanch.com/t/674455/Thread-Boost-feature
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!