I have a JSF Web Application that will be deployed on WAS 8.5.
I defined LDAP configurations on WAS level.
I want to know how to use container authentication in my application login screen.
Is there any sample code to use ?
Thanks
I have a JSF Web Application that will be deployed on WAS 8.5.
I defined LDAP configurations on WAS level.
I want to know how to use container authentication in my application login screen.
Is there any sample code to use ?
Thanks
You can use Form Login (JEE Web Application security) for your web application. You will have to 1) Enable application Security in WebSphere Application Server. 2) Update the web.xml for your web application to use Form login
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/mylogin.html</form-login-page>
<form-error-page>/FormLoginErrPage.jsp</form-error-page>
</form-login-config>
</login-config>
3) Create the mylogin.html/jsp and FormLoginErrPage.jsp
You might also want to look at another questions Basic Security in JSF