Which of the following is a valid realm definition that the application developer can use for this header login module?

An application developer has started configuring header-based authentication for an application. So far, the developer has implemented the security test and login module as follows:
<securityTests>
<customSecurityTest name="HeaderTest">
<test realm="RealmHeader" isInternalUserID="true" />
</customSecurityTest>
</securityTests>
<loginModules>
<loginModule name="HeaderLogin">
<className>com.worklight.core.auth.ext.HeaderLoginModule</className>
<parameter name="user-name-header" value="username"/>
</loginModule>
</loginModules>
Which of the following is a valid realm definition that the application developer can use for this header login module?
A. <realms>
<realm name="RealmHeader" loginModule="HeaderLogin"/>
</realms>
B. <realms>
<realm name="RealmHeader" loginModule="HeaderLogin">
<onLoginUrl>/login.html</onLoginUrl>
</realm>
</realms>
C. <realms>
<realm name="RealmHeader" loginModule="HeaderLogin">
<className>com.worklight.core.auth.ext.HeaderAuthenticator</className>
</realm>
</realms>
D. <realms>
<realm name="RealmHeader" loginModule="HeaderLogin">
<className>com.worklight.integration.auth.ext.HeaderAuthenticator</className>
<parameter name="login-page" value="/login.html"/>
<parameter name="error-page" value="/loginError.html"/>
</realm>
</realms>

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.