• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

auth-contraint question

 
Muks Sam
Ranch Hand
Posts: 47
Java MyEclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"An authorization constraint that names NO roles indicates that access to the constrained requests MUST NOT be permitted under any circumstances."

<auth-constraint>
<role-name>SALESCLERK</role-name>
</auth-constraint>
<auth-constraint>
<role-name>CONTRACTOR</role-name>
</auth-constraint>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>

Does that mean, With * character in above case, will the above roles defined will have access or nobody will have access??

Can somebody help?

Thanks

Muks
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"An authorization constraint that names NO roles" means <auth-constraint/> not <auth-constraint>*</auth-constraint>. "*" means all roles.
 
Muks Sam
Ranch Hand
Posts: 47
Java MyEclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Chris,

Thanks for reply.

Regards

Muks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic