Hello I am developing a web application using ADF (jdeveloper 11.1.2.4).
I need to know two things.
How to design login functionality. I have a login form user enters username and password then he clicks login button then what should I do. Do I have to use managed bean and validate the credentials and get the session object in that managed bean and put this credentials in session and use whenever I needed. For this I should use a task-flow with loginPage and a router and validAdminPage and a managed bean. Or Does ADF provides any built in functionality for this? for login process.?
In this I need to design a feature like once a user has logged in using valid credentials and he close the tab(not the browser),then again if he enter the /faces/login.jsf url means he is trying to login again but that is not necessary. After typing the url for login, He should automatically get the homepage.jsf (Automatic Login).
How to design these features
pleas Help. Thanks in advance.