This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HFSJ MOCK 10th question  RSS feed

 
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


You have determined that certain capability in your web application will require that users be registered members. In addition, your web application sometimes deals with user data that your users want you to keep confidential.

What are true? (Choose all that apply)
A.You can make a transmitted data confidential only after your application has verified the user�s password
B.Of the various types of authentication guaranteed by the JAVA EE container, only BASIC, Degest and Form based are implemented by matching a user name to a password.
C.No matter what type of Java EE authentication mechanism you use, it will only be activated when an otherwise constrained resource is requested.
D.All of the Java EE guaranteed types of authentication provide strong data security without the need to implement supporting security features.



Please provide your answer with valid reason.
 
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you think is the answer and why?
 
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it is B & C.

Srividhya
 
Amruth Puppala
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also think B & C.
But in book it is gave only C.

Can any one tell me how B is wrong?
 
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

B. Of the various types of authentication guaranteed by the JAVA EE container, only BASIC, Degest and Form based are implemented by matching a user name to a password.


Is Digest a type of authentication guaranteed by the JAVA EE container ?
 
Amruth Puppala
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know Christophe.
BTY tell me what are the authentication types Container is guaranteed.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only Basic and Form are required for servlet containers.

SRV.12.5.2 HTTP Digest Authentication
As Digest Authentication is not currently in widespread use, servlet containers are encouraged but not required to support it.
 
Amruth Puppala
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks lot
 
The harder I work, the luckier I get. -Sam Goldwyn So tiny. - this ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!