Before beginning working on ADF Security, it is required to explicitly add these three libraries To add them Just Double click on the ViewController project,Libraries and classpath ,Add Jar /Directory The location of the first two libraries is C:\Oracle\Middleware\Oracle_Home\wlserver\modules The location of the last one"wls-api.jar" is C:\Oracle\Middleware\Oracle_Home\wlserver\server\lib First ,we will start implementing login method.Create a managed bean"loginBean" private void authenticateUser(String un, String pw) { byte[] password = pw.getBytes(); FacesContext fctx = FacesContext.getCurrentInstance(); HttpServletRequest request = null; request = (HttpServletRequest) fctx.getExternalContext().getRequest(); try { Subject subject = Authentication.login(new URLCallbackHandler(un, password)); weblogic.servlet.security.ServletAuthentication.runAs(subject, request); String log...