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

Security tags

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

I used to get very confused about remmebring security tags as they all sound similar

I have tried to write them in a way to memorize easily , hope would be useful for any1.

Security Tags :

1)<login-config>Under <web-app>
<auth-method>
<form-login-config>
<form-login-page>
<form-error-page>
</form-error-page>
</form-login-page>
</form-login-config>
</auth-method>
</login-config>

2)<tomcat-users>In tomcat-users.xml
<role rolename/><user username password/ >
</tomcat-users>

3)<security-role>Under <web-app>
<role-name>
</role-name>
</security-role>

4)<security-constraint>Under <web-app>
<web-resource-collection>
<web-resource-name></web-resource-name>
<url-pattern></url-pattern>
<http-method></http-method>
</web-resource-collection>

<auth-constraint>
<role-name>
</role-name>
</auth-constraint>

<user-data-constraint>
<transport-gaurantee>
</transport-gaurantee>
</user-data-constraint>
<security-constraint>

5)<security-role-ref>Under <servlet>
<role-link></role-link>
<role-name></role-name>
</security-role-ref>

Thanks
Vishal Chugh
 
Shruthi Sam
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you
 
Victor Dolirio
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks, its very helpful!!
 
Sandeep Bhandari
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone throw some light on how much important is to remember the structure of security tags for the exam?
 
Surajsingh Thakur
Ranch Hand
Posts: 124
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its really really very Important to know all your security as well as all other Servlet,Jsp and Jstl tags thoroghly...Many questions will be based on their structures and these questions , as it is evident are really simple ones not confusing..So put on your Learning Hats ..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic