aspose file tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes a vague question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "a vague question" Watch "a vague question" New topic
Author

a vague question

shi lei
Greenhorn

Joined: Jan 17, 2006
Posts: 15
In Mock Exam

1.The web client obtains the username and password from the user and transmits it
to the server using Base64 encoding.
Best describes which Authentication scheme?

answer is :Http Basic Authentication

but why not :Form Based Authentication

2.In JWebplus
Identify the authentication techniques that are based on builtin mechanisms of HTTP.
answer is :BASIC,DIGEST
but why not Form
[ July 03, 2006: Message edited by: shi lei ]
Gaurav Gambhir
Ranch Hand

Joined: Mar 04, 2006
Posts: 252
The web client obtains the username and password from the user and transmits it
to the server using Base64 encoding.
Best describes which Authentication scheme?


Since only Http Basic Authentication use Base64 encoding to transmit userid and password, so its the right answer.
In Form based authentication user password is transmitted
as plain text.

See specs SRV.12.5.3 Form Based Authentication
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14672
    
  11

2. Because only Basic and Digest are defined in the HTTP protocol.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec11.html#sec11


[My Blog]
All roads lead to JavaRanch
Gaurav Gambhir
Ranch Hand

Joined: Mar 04, 2006
Posts: 252
2.In JWebplus
Identify the authentication techniques that are based on builtin mechanisms of HTTP.
answer is :BASIC,DIGEST
but why not Form


HTTP Basic Authentication
HTTP Digest Authentication
Above two authentication mechanism are defined in the HTTP/1.0 specification.

While HTTPS Client Authentication
Form Based Authentication
are defined in J2EE specifications
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: a vague question
 
Similar Threads
How to use SQL database for J2EE web logins
Doubts in Mock exam HFSJ
Q64 HFSJ Mock exam
question about authentication mechanisms
clarification on mock exam question