Wednesday, July 24, 2013

Oracle ADF Mobile Technology

Oracle ADF Mobile enables developers to build and extend enterprise applications for iOS and Android from a single code base. Based on a hybrid mobile architecture, ADF Mobile supports access to native device services, enables offline applications and protects enterprise investments from future technology shifts.

Features and Benefits


  • Develop once, deploy to multiple mobile device platforms including iOS and Android
  • Code and reuse application logic in Java for cross platform portability
  • Leverage Over 50 components provide simpler development of richer user interfaces
  • Accelerate development through visual & declarative application development
  • Access native device services, such as phone, SMS, camera, GPS and more
  • Protects against mobile platform shifts through a hybrid mobile application architecture
  • Support both on-device and browser-based mobile applications
  • Leverage existing skills to develop mobile applications using open standard technologies (Java, HTML5, JavaScript, CSS)
  • Supports both real-time and offline data access
  • Offline support using SQLite – encryption included
  • Consistent experiences between desktop-based and mobile application development
  • Build secure mobile applications with end-to-end encryption on a proven platform
  • Extend Oracle Enterprise and Fusion Application to mobile devices
How is ADF Mobile licensed?
ADF Mobile is licensed as part of the Oracle Application Development Framework (ADF). Oracle ADF can be licensed either as “Oracle Application Development Framework and TopLink” item
on the technology price list, or as part of the Oracle WebLogic licenses.  A named user plus license of ADF will entitle customer a single named user license of the ADF Mobile. A processor license of ADF
will allow customer to deploy ADF Mobile-based application to unlimited number of devices


How is ADF Mobile licensed?
ADF Mobile is licensed as part of the Oracle Application Development Framework (ADF). Oracle ADF can be licensed either as “Oracle Application Development Framework and TopLink” item
on the technology price list, or as part of the Oracle WebLogic licenses.  A named user plus license of ADF will entitle customer a single named user license of the ADF Mobile. A processor license of ADF will allow customer to deploy ADF Mobile-based application to unlimited number of devices




Oracle ADF Security

The Oracle ADF Security feature provides a declarative and visual development environment for building Oracle platform security services-based security into Oracle ADF applications. Together, Oracle ADF Security and Oracle platform security services enable developers to focus more onwhat needs to be protected than on how it should be protected.
This article introduces Oracle ADF Security and shows how developers can use it to implement security within their enterprise Oracle ADF applications.
Roles
Three key concepts are critical in understanding Oracle ADF Security and Oracle platform security services: user identities, enterprise roles, and application roles.
User identities define users in an enterprise. Users—such as company employees—usually have a single username/password pair they use to authenticate themselves to applications within an organization. A user identity defines only who the user is—it does not define any access privileges.
To ease system deployment, administrators often organize users into enterprise roles, which provide a way to manage groups of users who have similar requirements when accessing enterprise resources. For example, employees may all be grouped into an enterprise role called Employees to give them access to all employee self-service applications within an enterprise. From an administrative point of view, it is easier to add users to or remove them from an enterprise role than to maintain individual user grants for an application.
Application roles are specific to an application and are used to grant privileges to users defined in enterprise roles. Application roles make it possible for all users who belong to an enterprise role (such as Employees) to have specific access privileges defined for various applications. For users within an enterprise role to work within an application, application roles must be granted to the enterprise role. Application roles can be granted directly to users, but this practice is rare and is not considered good programming design.
Enabling Oracle ADF Security
By digging deeper inside the sample Oracle ADF application, you can see how the security rule definitions described above are implemented for the three defined user accounts.
The first step in securing an application is to enable Oracle ADF Security. In the OramagAdfSecurity project, select Application -> Secure -> Configure ADF Security to open the Oracle ADF Security wizard. This wizard is re-entrant, so you can safely open it and browse security settings without worrying about losing data.
The first dialog box in the configuration wizard enables you to define the type of security you want. The ADF Authentication and Authorization option, used in the sample application, enables you to configure login information as well as access to specific application features. Another option,ADF Authentication, is for controlling only who can access the application (via a login dialog box when a user requests access to the application). The Remove ADF Security Configurationoption does not delete any existing policy definitions, but it disables the enforcement of Oracle ADF Security. This option can be useful for allowing application testing while temporarily disabling security.

In Conclusion

Oracle ADF Security simplifies a complex topic by abstracting JAAS authorization and Java EE authentication. With Oracle ADF, you use visual editors to protect the resources you care about the most and enforce security configurations. You can also use security expression language or Java in applications to verify user access rights. With all the simplicity added, the most important thing to be aware of is that applying security to an application is a journey and not a destination