Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ch 7 in More Servlets...Form Based Authentication

 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The author does a good job of explaining the login-config and security-constraint elements (in that order...DUH!!!).
However, seems to me that the author forgot to explain the equally important security-role element.
Don't tell me that we define the security-role elements some place else....
Just wanted to blow off some steam.....
- satya
 
Raj Kumar
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thats true Satya...
From DTD, we have:
<!--
The security-role element contains the definition of a security
role. The definition consists of an optional description of the
security role, and the security role name.
Used in: web-app
Example:
<security-role>
<description>
This role includes all employees who are authorized
to access the employee service application.
</description>
<role-name>employee</role-name>
</security-role>
-->
<!ELEMENT security-role (description?, role-name)>
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes satya,
as far as i know little about EJB's role based security model its good one to have and the book should have described it.
regards
maulin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic