• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

security-constraint in DD

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

Wondering about the correct way of referring to multiple
roles in security constraint element.

Which one is the right way of doing it?

1)
security-constraint
..
auth-constraint
role-name Admin /role-name
role-name Guest /role-name
/auth-constraint
/security-constraint

or
2)

security-constraint
..
auth-constraint
role-name Admin /role-name
/auth-constraint

auth-constraint
role-name Guest /role-name
/auth-constraint

/security-constraint

According to HFS errata, security-role
should be with one role-name.

I started to think maybe this same rule apply
to auth-constraint too. Am I wrong?

Help me out wiht this!

JRockie
[ May 09, 2006: Message edited by: janne RockGulf ]
 
SanjayP Lokhande
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<security-constraint> can contain 0 or 1 <auth-constraint>element,
so only 1 st one is right
 
janne jounivich
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you check it too in a test app?

JR
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic