• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

> 1 role-name in security-role

 
louise rochford
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you have more than one <role-name> entry in a <security-role> element?

WebSphere seems to only allow one <role-name> entry per <security-role> element, but you can have lots of <security-role> elements. Do other servers (& the spec) allow you to have one <security-role> element containing lots of <role-name>s instead?

p. 643 of HF btw

Thanks,
Louise
 
Gabriel Forro
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

according to the spec and to the deployment descriptor schemas (http://java.sun.com/xml/ns/j2ee) there can be only one <role-name> element in a <security-role> xml element.

So, the



is NOT a valid deployment descriptor section.
 
louise rochford
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Gabriel, that makes sense.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic