Login using Database Table in Oracle ADF 12c
If you want create Security for your pages using Database tables, then this post will help you. Lets start, First we need to create USERS and ROLES table. Look at the screen shots for tables below. Step I: 1.USERS Table: User_Id is Primary Key 2. ROLES Table: Role_Id is Primary Key Step II: Create New Fusion Web Application and Create EO, VO and AM based on Roles and Users tables as below. Step III: Open Application Module, enable Java class and write the below method in AMImpl class. public boolean checkLogin(String userName, String password) { System.out.println("userName: " + userName); System.out.println("password: " + password); boolean userFound = false; String passwordEncoded = null; if (!userName.isEmpty() && !password.isEmpty()) { try { ...