Skip to main content

Posts

OWASP Top 10 Vulnerabilities in ADF

The Open Web Application Security Project (OWAS P) is a  501(c)(3)  worldwide not-for-profit charitable organization focused on improving the security of software. Their mission is to make software security  visible,  so that  individuals and organizations  worldwide can make informed decisions about true software security risks. OWASP publishes a list of top 10 critical web application security vulnerabilities identified each year.  For more information on OWASP  Click here To mitigate the OWASP Top 10 Security Vulnerabilities Oracle has provided a white paper. In this paper you can see what the vulnerabilities are and how we can protect those. The provided document is to help developers that know security identify tools and features in Oracle ADF that they can use to implement application security. This paper does not replace a formal code review process. Click on the below link to open the white paper. oracle white paper Or...

ADF Multi select LOV

1. In this approach all the selected values will be inserted in separate rows in table.Ex. if you select 3 value out of 10 in LOV then 3 rows will be inserted in table. No need to create the LOV in ViewObject. Create Entity and View for the table in which you want to store the multiple selected LOV values. Also create the read only view which has the LOV values which user will select. Ex. 1. PropertiesVO - VO in which value will be stored        2.PropertiesAvailableValuesRVO - VO in which provide LOV value. 2. First of all add af:selectManyChoice component to your page. 3. As shown in the below code create the binding,value and valueChangeListner in your bean and associate with this component. 4. Also create the f:selectItems and create the binding and value in bean same as done above. <af:selectManyChoice label="#{caseviewcontrollerBundle.PROPERTIES}"                            ...

1Z0-541 Webcenter Portal : Composer

Composer : 1. Whether or not page content is editable is determined when the content is developed. For example, if a task flow is editable, an Edit icon appears on the task flow's header or when you move your mouse pointer over the task flow. If a task flow is not editable, no Edit icon appears. 2. No component actions, such as the Actions menu, the Collapse icon, or the Resize icon, are active when the page editor is set to Source view. 3. You can enable the capabilities described in page view mode by adding the following Composer design-time components to a page: Panel Customizable, Show Detail Frame, Custom Actions, and Layout Customizable. 4. You can provide the capabilities described in page edit mode to your application by adding the following Composer design-time components to a page: Change Mode Link or Change Mode Button, Page Customizable, Panel Customizable, Show Detail Frame,Custom Actions and Layout Customizable. 5. If you restrict customization on a cont...

1Z0-541 Webcenter Portal : Spaces

WebCenter Spaces : 1. Oracle WebCenter Spaces provides two work environments within a single application    Personal Spaces and Group Spaces. 2. Your personal space includes both predefined pages and any personal pages you create. 3. Group spaces support discrete communities of any size that are organized around an area of interest or a common goal. 4. Out-of-the-box group space templates include          Group Project,          Community of Interest,          And Blank. 5. The person who creates a group space is automatically that group space's moderator, and can grant any other user Moderator privileges. Users assigned the Moderator or equivalent role can Add or remove group space members Invite new members,Provide and update group space metadata  Such as the group space display name, description, and search keywords; and manage the services available to the group space. Additi...

1Z0-541 Webcenter Portal : Framework

Webcenter Framework : 1. Iterative development lets you see changes to these components almost instantly upon a browser      refresh:  page definitions, navigation model, page hierarchy, existing JSPX files, page templates, resource  catalog, addition of task flows to pages, addition of portlets to pages 2. When an application is deployed to the Integrated WebLogic Server, the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION flag is automatically set to true in the web.xml file on the server. This setting causes the server to automatically check the modification time of your JSP and skinning CSS files, and discard saved state when they change. This configuration occurs whether or not the iterative development feature is enabled. 3. When consuming Oracle JSF Portlet Bridge Portlets in your application, ADF attempts to share the skin between the consumer and producer. Therefore, if you are disabling compression on the consumer, you should also do that o...

ADF Faces Components

Following images gives you a little bit  idea of components in adf faces. 1. Common components :   2. Layouts : 3. Operations :

ADF Table Filter Customization

This is to explain how a query listener on an af:table component is used to intercept table queries so the developer can programmatically modify the query conditions provided by the application user.e.g. when using the table filter. Default query by ADF for filtering the result contains a map having parameters which are there in the table and their respective value's. In a page you have a table filters enabled. And if you want to override the filter query through bean use the following code. import java.util.Map; import javax.el.ELContext; import javax.el.ExpressionFactory; import javax.el.MethodExpression; import javax.faces.context.FacesContext; import oracle.adf.view.rich.event.QueryEvent; import oracle.adf.view.rich.model.FilterableQueryDescriptor; public class BackingBean {     public BackingBean() {     }     public void customQueryListner (QueryEvent queryEvent) {      ...