Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

refering to Errata

 
Poonam Agarwal
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

[833] Question 11;
Answers given are A,B,D,E,F
But, options B and F should not be correct.
- Only one instance of <auth-constraint> will exist within one <security-constraint> tag. The deployment descriptor DTD has the following definition for
<security-constraint> as per servlet spec is <!ELEMENT security-constraint (web-resource-collection+, auth-constraint?, user-data-constraint?)>
- This tag implies that authorization, data integrity and confidentiality security features are all declared for the wen application.
And not authentication. Authentication is declared using the <login-config> tag. As per the servlet spec - The login-config element is used to configure
the authentication method that should be used, the realm name that should be used for this application, and the attributes that are needed by the form login
mechanism. <!ELEMENT login-config (auth-method?, realm-name?, form-loginconfig?)>

This tag name is <form-login-congig> not <form-logincongig>
Please verify

Thanks
 
Ankit Garg
Sheriff
Posts: 9510
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Poonam Agarwal wrote:
This tag name is <form-login-congig> not <form-logincongig>
Please verify


its none of them. Its form-login-config. And you could have verified this with a simple google query like this - form-login-config web.xml
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or by looking at the spec. By the way, I think that you are looking at an old DTD, for servlets 2.3 maybe. Servlets 2.4 uses an XML Schema, which looks like :
 
Poonam Agarwal
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ankit Garg wrote:
Poonam Agarwal wrote:
This tag name is <form-login-congig> not <form-logincongig>
Please verify


its none of them. Its form-login-config. And you could have verified this with a simple google query like this - form-login-config web.xml


Ankit that was just a typo.. nothing else.... anyways thanks
 
Poonam Agarwal
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was refering a typo in Errata... nothing else.. May be I wasn't posted in a right way.
i know its not a valid tag <!ELEMENT login-config (auth-method?, realm-name?, form-loginconfig?)> <form-login-config> is the valid one




Thanks
 
Ankit Garg
Sheriff
Posts: 9510
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Poonam Agarwal wrote:Ankit that was just a typo.. nothing else.... anyways thanks


I know it was a typo. I was just trying to fit in a joke into the situation. I was not serious
 
Poonam Agarwal
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
same here ankit... even I am not so serious

thanks for your reply anyways
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic