• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

<auth-constraint/> and NO auth-constraint

 
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I understand that if there are more than one <auth-constraint> in the DD, the following happens:

1. If there is an empty <auth-constraint/>, then it overrides other <auth-constraint/>, then it denies access to all
2. If there is no <auth-constraint> or an <auth-constraint> with a role name *, then it grants access to all


But what happens if case 1 and case 2 coexist? Who wins?

Suhas.
 
Ranch Hand
Posts: 808
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please, try searching. This question was asked multiple times.
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Suhas Wadadekar wrote:Hi,

I understand that if there are more than one <auth-constraint> in the DD, the following happens:

1. If there is an empty <auth-constraint/>, then it overrides other <auth-constraint/>, then it denies access to all
2. If there is no <auth-constraint> or an <auth-constraint> with a role name *, then it grants access to all


But what happens if case 1 and case 2 coexist? Who wins?

Suhas.



it denies access to all
 
Suhas Wadadekar
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.
 
Once upon a time there were three bears. And they were visted by a golden haired tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic