Posts

Showing posts with the label Login

WCP12c: Embed a Login Task Flow in a Page or Page Template

Image
Recently I saw a question in OTN: Oracle WebCenter Portal on how you can embed a Login into a Page or Page Template. You can find the code in my GitHub repository: https://github.com/DanielMerchan/WebCenterExtensions There are many ways to do this, but in this post I will bring only two: Using Internal API: It uses some available Manage Beans in the Portal Scope for supporting authentication. This API is compatible with OAM / WebLogic Authentication. Using Java EE API: It uses the HttpServletRequest login method to perform WebLogic Authentication. Since 12c, the AutheticationServlet.login of the WebLogic API has been deprecated. It can be uses standard JAAS Authentication. The LoginInternalAPI Task Flow implements the first approach and the LoginJavaAPI Task Flow implements the second approach using a custom backing bean. For testing, you can add the Task Flow to the Portal Resource Catalog and add it to a WebCenter Portal Page. If you want to use it in your Page Templa...