View
895
Download
2
Embed Size (px)
DESCRIPTION
Oracle offers sophisticated Java frameworks to help develop faster, scalable, secure applications that support today’s needs and adapt to future trends. 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. In this one hour webcast we’ll show you some new features available in the latest ADF Mobile release showcase how to secure ADF Mobile application and show some tricks you can use to develop custom mobile applications. Find out more at https://blogs.oracle.com/imc/entry/partner_webcast_oracle_adf_mobile
Citation preview
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 1
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 2
CUSTOMER LOGO
“This slide format serves to call attention to a quote from a prominent customer, executive, or thought leader in regards to a particular topic.”
Name
Title, Company Name
blogs.oracle.com/IMC
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 3
The following is intended to outline our general product direction. It is intended
for information purposes only, and may not be incorporated into any contract.
It is not a commitment to deliver any material, code, or functionality, and should
not be relied upon in making purchasing decisions. The development, release,
and timing of any features or functionality described for Oracle’s products
remains at the sole discretion of Oracle.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 4
ADF Mobile New features & tips
Jernej Kase @jernejkase
Technology Specialist at Partner Business Development
A&C Technology Adoption Office Oracle ECEMEA
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 5
Agenda
ADF Mobile 11.1.2.4 new features
– Messaging
– Badging
Securing ADF Mobile application with Oracle
Public Cloud
Taking ADF Mobile outside the box
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 6
Uses 3rd party infrastructure
– Google Cloud Messaging
– Apple Push Notification
Service
The “pushing” app sends the
message to the 3rd party service
The service pushes the
message to the device
Messaging
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 7
Uses the same infrastructure as
Messaging
Badging
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 8
ADF Mobile Push notifications on iOS
using Apple Push Notification Service
Demo
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 9
Create push certificate and deployment profile on Apple developer portal
Register application to APNS
Send token to the “Client App”
Send messages
Note: requires an iOS device. Notifications do not work on iOS Simulator!
Using APNS
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 10
Securing an ADF Mobile Application
Remote Authentication
Getting user roles from a remote service
Authentication against user roles
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 11
Securing an ADF Mobile Application
ADF Mobile can authenticate against any HTTP basic authentication
server
If the login succeeds, ADF Mobile receives an OAM token used in the
cookie. ADF Mobile sets the cookie into each login connection.
If the login fails, the login page remains, thereby preventing users from
continuing.
ADF Mobile invokes a REST service which provides a list of user roles
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 12
ADF Mobile ACS Request / Response
Protocol: POST
Authoization: Basic xxxxxxxxxxxx
Content-Type: application/json
{
"userId": "johnsmith",
"filterMask": ["role", "privilege"],
"roleFilter": [ "role1", "role2" ],
"privilegeFilter": ["priv1", "priv2", "priv3"]
}
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 13
ADF Mobile ACS Request / Response
Content-Type: application/json
{
"userId": "johnsmith",
"roles": [ "role1" ],
"privileges": ["priv1", "priv3"]
}
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 14
Securing an ADF mobile application
against the oracle public cloud
Demo
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 15
Building an authentication app and deploying it to the Oracle Public Cloud
The ingredients:
– JDeveloper 11.1.1.6
– ADF security
– Jetty
– Oracle Public Cloud
Java
Identity Console
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 16
Securing ADF Mobile Application
Set Login Server
– Authentication URL
– Authorization URL
Configure Feature security constraints
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 17
Taking ADF Mobile outside the box
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 18
Building WebSocket “Airplane Simulator”
Jdeveloper 12c
– WebLogic 12c
– @WebSocket
ADF Mobile
– Java
– DataControl
– A bit of javascript
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 19
Adopt & Implement the latest by Oracle
JOIN US
CONTACT US
blogs.oracle.com/imc
twitter.com/oracleimc
youtube.com/OracleIMCTeam
facebook.com/OPN.PartnerHub.Migration.Center
ORACLE.COM/PARTNERS/GOTO/HUB-ECEMEA
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 20
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 21