PrepAway - Latest Free Exam Questions & Answers

What is the problem with this challenge handler?

A developer is debugging a form-based authentication and at a point the issue is narrowed down
to the challengeHandler object. The following implementation describes the challenge handler:

What is the problem with this challenge handler?

PrepAway - Latest Free Exam Questions & Answers

A.
The user is not implementing the mandatory challenge handler functions submitFailure() and
submitSuccess().

B.
The user credentials should be sent to the server using a secured protocol. The correct
definition is:var reqURL = ‘https://myhost:80/worklight/j_security_check’;.

C.
The variable reqURL cannot include the hostname and port. The correct definition is:var
reqURL = ‘/j_security_check’;.

D.
The function createChallengeHandler() is not properly invoked, it also takes the security test.
The correct definition is:var cHandler = WL.Client.createChallengeHandler(‘test1’, ‘realm1’);.

Explanation:


Leave a Reply