Hi All,
I am using JDev 11.1.2.4.0
I have enabled ADF security model of type ADF Authentication for my application.
In Web.xml, I have modified the settings as below
<login-config>
<auth-method>CLIENT-CERT,FORM</auth-method>
<form-login-config>
<form-login-page>/faces/pages/xyz.jspx</form-login-page>
<form-error-page>/faces/pages/ErrorPage.jspx</form-error-page>
</form-login-config>
</login-config>
If I print the values of #{securityContext.authenticated} and #{securityContext.username}, first time when I access the application, the values are false and anonymous.
Subsequent access in the same window is returning values true and <username>.
Am I missing something. Please suggest.