SlideShare a Scribd company logo
3
Most read
4
Most read
7
Most read
Oracle API Gateway
Rakesh Gujjarlapudi
rakesh_gujJ@yahoo.com
Oracle API Gateway - Basic Architecture
CLIENTS
Application Servers
Partner Applications
Mobile Applications

XML / JSON

Oracle API
Gateway

Web Applications
Cloud-Based Services
Oracle API Gateway integrates, accelerates, governs, and secures Web API and SOA-based systems.
Serves REST APIs and SOAP Web Services to clients
 Converts REST to SOAP
 Converts XML to JSON
Supports other protocols also
 FTP, SFTP, FTPS, TIBCO Rendezvous and EMS, JMS (to IBM WebSphere MQ, ActiveMQ, JBOSS Messaging)
Applies security rules
 Authentication: OAuth, HTTP Auth, Certificate Auth, WS-Security
Content Filtering: Detection of SQL Injection, XSS, Viruses
Monitoring of API and Service usage
Caching and Traffic Management (routing, throttling)

Legacy Applications
Data
Oracle API Gateway - Deployment Architecture
GREEN ZONE
Shared Services
Layer

RED ZONE
First Line Of
Defense

CLIENTS

End point security
HTTP, SOAP, REST, XML, JMS

Cloud-Based Services

Webservice Clients
REST-WS Clients

OES
PDP

WS-Security, Basic Auth, Digest, X509,
UNT,SAML, Kerberos Sign & Encrypt

EXTRANET

Oracle Service Bus

Oracle API
Gateway

(Service Virtualization)

Firewall

Web Applications

Internal Firewall

Mobile Applications

Oracle Webservices Manager

Partner Applications

WS-Security, Basic
Auth, Digest,
X509, UNT, SAML,
Kerberos Sign &
Encrypt

O
W
S
M

BPEL/Web
Service

End point security
HTTP, SOAP, REST, XML, JMS

O
W
S
M

BPM Process

End point security
HTTP, SOAP, REST, XML, JMS

O
W
S
M

Application

INTRANET
DMZ

In Green Zone security use
OWSM in conjunction with
Oracle FMW products(SOA
Suite, OSB, etc. both on
the Client Side and Service
Side Policy
In Red Zone security OEG
on the Service Side Policy.
Oracle API Gateway – Security Overview

Flooding
Recursive Payloads
Oversized Payloads
Memory Leak

•
•

Injection & Malicious Code
SQL Injection
XPath Injection
Cross-site scripting
Malformed content
Logic bombs

Confidentiality Integrity
Sniffing
Parameter Tampering
Schema Poisoning
External Entity
Canonicalization

•

Firewall

DOS Attacks

GREEN ZONE

DMZ ZONE

Firewall

Oracle API Gateway protection against

Virtualize a
web services
Inbuilt Out-ofthe-Box filters
Throttle the
inbound
message flow

Privilege Escalation Attacks
Dictionary
Format String
Buffer Overflow
Race Conditions
Symlink
Unprotected interfaces

Oracle Webservices
Manager

O
W
S
M

Backend
Web Service

End point security
O
W
S
M

Oracle API
Gateway

Internet/Cloud

Filtered
Messages
•
•
•
•
•

Reconnaissance Attacks
Code templates
Forceful browsing
Directory Reversal
WSDL scanning
Registry Disclosure

End point security

Malformed
Request

First Line Of Defense

AuthC
AuthZ
Auditing
Signature Verification
Message
Encryption/Decryption

Last-Mile Security

Backend
Web Service

End point security
O
W
S
M

Backend
Web Service
Oracle API Gateway – Virtualization, Data/Protocol Bridging
GREEN ZONE

DMZ ZONE

Firewall

Firewall

HTTP GET/POST - REST

SSOToken

REST/JSON

< weatherreport city=“San Francisco"
weather=“42" >< /weatherreport>

SAML Token

Oracle
Webservices
Manager

Required transport
& format protocol

RESTful Web
Service

REST/XML

SOAP

Oracle API
Gateway
{ "weatherreport" : {"city":“San Francisco",
"weather":“42"} }

JMS
SAML Token

SOAP Web
Service
Required transport
& format protocol
Data Format Transformations
XML to JSON and vice versa
Protocol bridging
REST to SOAP and vice versa

First Line Of Defense

Last-Mile Security
Oracle API Gateway – DMZ Security & Access Control
GREEN ZONE

DMZ ZONE

Firewall

Firewall

HTTP GET/POST - REST

SAML Token

SSOToken

JMS

SOAP/REST Virtual Web Services

{ "weatherreport" : {"city":“San Francisco",
"weather":“42"} }

Oracle Service Bus

SOAP

Oracle API
Gateway

(Service Virtualization)

REST/XML

Oracle Webservices Manager

< weatherreport city=“San Francisco"
weather=“42" >< /weatherreport>

REST/JSON

Required transport
& format protocol

RESTful Web
Service

SAML Token

SOAP Web
Service
•
•
•

•
•
•

API SSO, Authorization,
XML/WS Security Enforcement at DMZ
WS Authentication, Security token translation,
Federation: WS-Security, WS-SecureConversation, WSTrust (single/multiple STSs).
REST Security: OAuth2, SAML (OIT). Happening on the
Gateway.
Protocol Security: XML Security, WS-Security, REST
Security
Authorization, Data Redaction, Risk: Leveraging
Embedded OES PDP or remote OAM/OES PDP

Required transport
& format protocol
Oracle API Gateway – Social Connectivity
DMZ ZONE
3rd Party IDPs

GREEN ZONE
OAuth
OpenID Connect
SAML

Firewall

Firewall

f

SAML Token

Token

Required transport
& format protocol

SOAP/REST Virtual Web Services

{ "weatherreport" : {"city":“San Francisco",
"weather":“42"} }

Oracle Service Bus

Oracle API
Gateway

API/Web Request with Required Token
(SAML, OAM, Kerberos, OAuth etc.)

(Service Virtualization)

API Request
App/Device/User Credential
Web SSO

Oracle Webservices Manager

< weatherreport city=“San Francisco"
weather=“42" >< /weatherreport>

RESTful Web
Service

SAML Token

SOAP Web
Service
HTTP/REST/SOAP/OAuth Clients

Required transport
& format protocol
Oracle API Gateway – Fine Grained AuthZ and Data Redaction
GREEN ZONE

DMZ ZONE

Firewall

{<Response>
<Response Data 1>, <Response Data 2>,
<Response Data 3> <Response Data 4>,
<Response Data 5>, }

Firewall

HTTP GET/POST – REST
{<Request>}

Response Data1
Response Data2

SSOToken

Response Data3

{<Response>
<Response Data 3>
<Response Data 4>}

Oracle API
Gateway
{ <Response>}

SOAP {<Request>}
{<Response>
<Response Data 1>
<Response Data 2>}

Response Data5

SAML Token/ Request

End point security
O
W
S
M

RESTful/SOAP
Web Service

Response

PEP

JMS {<Request>}

(Service Virtualization)

{<Response>
<Response Data 5>}

Response Data4

Oracle Service Bus

{< Request>}

Oracle Webservices Manager

REST/JSON
{<Request>}

REST/XML {<Request>}

Existing API/WS Returns

PDP

{<Response>
<Response Data 1>}

Entitlements Server

Data Format Transformations
XML to JSON and vice versa
Protocol bridging
REST to SOAP and vice versa

First Line Of Defense

Last-Mile Security
Oracle API Gateway – API Key Management(Cloud Consumer)
GREEN ZONE

DMZ ZONE

Firewall

Google

Firewall

APIKey_Google

Oracle API
Gateway
SSOToken

Oracle Service Bus

{ <Response>}

(Service Virtualization)

APIKey_Y

API Key +
Web Service Request

X

{< Request>}
APIKey_Google

Oracle Webservices Manager

APIKey_X

Y
APIKey_X

APIKey_Y

First Line Of Defense

Last-Mile Security

SAML Token/ Request

End point security
O
W
S
M

Response

RESTful/SOAP
Web Service
Oracle API Gateway – Configuration & Management Tools
Policy
Studio

Oracle API
Gateway

Policy Studio is a policy development and configuration tool
• Enables policy developers to easily configure API Gateway policies and settings to control
and protect deployed API services and Web services.
• Policy Studio is typically installed on a separate machine from the API Gateway to enable
remote administration.

Manager

API Gateway Manager is a centralized web-based dashboard
• Enables administrators to control and manage API Gateways and groups in a domain.
• Connects to the Node Manager on each host, and displays aggregated monitoring data from
multiple API Gateway instances.

Oracle API Gateway Instance (Core Engine)

Policy Development
A Oracle API Gateway policy developer typically performs the following tasks:
•
•
•
•

Develops API Gateway policies and solution packs.
Customizes and extends the API Gateway using scripting.
Creates Java classes and/or custom filters using the API Gateway filter SDK.
Uses the Policy Studio, API Gateway Explorer, and API Gateway Manager tools.

Connector

Usage
Metrics

Connector

Connector

Connector

Analytics

API Gateway Analytics is a separately installed tool used by administrators
• Generates reports and charts based on usage metrics for all services and API Gateways in a
domain.
• API Gateway Analytics provides integration with databases such as MySQL Server, MS SQL
Server, and Oracle.
• Includes both real-time and historical metrics.
Oracle API Gateway – Managed Domain Architecture
POLICY
STUDIO

Browser-based
Manager UI

DOMAIN
ADMIN NODE MANAGER

Domain is the set of all hosts(Physical machine) running API Gateway instances, which are
managed centrally by the API Gateway Manager tool.

NODE MANAGER

Server Instance 1

Services Group 1

Server Instance 2

Server Instance 1

Services Group 2

Server Instance 2

Server Instance 1

TEST
GROUP

Node 1(Master)

Node 2

API Gateway's group-based domain architecture, which
enables to break down projects into logical groups and
manage configuration across your organization. This provides
manageability and scalability, and enables you to perform
load balancing and failover across distributed deployments

Group
• Number of API Gateway instances that all run the same configuration.
• Can runs across more than one physical host machine.
• Can include more than one API Gateway instance on the same host
• Each API Gateway in the group runs the same configuration
• Each API Gateway has its own deployment descriptor file (envSettings.properties)
• A group also has a deployment descriptor, which specifies settings values that are the same
across the group but may differ in different environments.
• A standalone API Gateway runs in a group of one member (TEST GROUP in the diagram).
• Deploy, manage, and monitor a group of API Gateways using the Policy Studio and the
browser-based API Gateway Manager.
Node Manager(Server side process)
• Manages & Monitors API Gateway instances on the host
• Only one Node Manager runs per host.
• Communication between the Node Manager and the API Gateway is secured using SSL.
• Policy Studio and the browser-based API Gateway Manager are clients of the Node Manager.
• The first Node Manager added in a domain is known as the Admin Node Manager.
• The Admin Node Manager acts as the master Node Manager. It performs Role-Based Access
Control (RBAC), and forwards requests to other Node Managers when required.
• The Admin Node Manager also manages and deploys configuration to the API Gateway
instance(s) in a domain.
Oracle API Gateway – Concepts(Filter, Policy, Message Attribute, Selector, Faults, Policy
Shortcuts & Alerts )
Filter is an executable rule that performs a specific type of processing on a message.
• Example: Message Size filter rejects messages that are greater or less than a specified size.
• Categories of message filters available with the API Gateway, including authentication, authorization, content filtering,
signing, and conversion.
Policy is a network of message filters in which each filter is a modular unit that processes a message.
• A message can traverse different paths through the policy, depending on which filters succeed or fail.
• A policy can also contain other policies, which enables you to build modular reusable policies.
• A policy must have a Start filter. Filters labeled End stop the execution of the policy if the filter execution fails.
• A policy starts with a START filter and ends with END Filter

Policy

Policy

Filter

The following example screen shot shows an example policy with success paths and a single failure path:
Message Attributes
Each filter requires input data and produces output data(message attributes) .
Specific filters to create your own message attributes, and to set their values.
The Trace filter enables you to trace message attribute values at execution time.

Message
Attributes

Selector is a special syntax that enables API Gateway configuration settings to be evaluated and expanded at runtime based on
metadata
Faults When a SOAP transaction fails, you can use a SOAP fault to return error information to the SOAP client.
Policy Shortcut enables you to create a link from one policy to another policy.
Ex: Create a policy that inserts security tokens into a message, and another that adds HTTP headers. You can then create a third
policy that calls the other two policies using Policy Shortcut filters.
SOAP
Alerts can be send alert messages for specified events to various alerting destinations. System alerts are usually sent when a
filter fails, but they can also be used for notification purposes.

Fault
Oracle API Gateway – Concepts(Policy Container, Policy Context, Process, Listeners, Protocol
Mediation, Remote Hosts, Servlet Application, Configuration Profile, Service Virtualization)
Policy Container used to group similar policies together (for example, all authentication or logging policies), or policies that relate to a particular service.
Policy Context : Policies can execute in a specified context(set a context by associating a relative execution path or listener with a policy).
Process is an instance of the API Gateway capable of running on a host.
Listeners : Define different types of listeners and associate them with specific policies.
Protocol Mediation: The API Gateway can be used to provide protocol mediation (for example, receiving a SOAP request over JMS, and transforming it into a SOAP/HTTP request to a backend service).
Remote Hosts: Define a remote host when you need more control of the connection settings to a particular server.
HTTP version, IP addresses, Timeouts, Buffers, Caches
Servlet Applications : Provides a Web server and servlet application server that can be used to host static content (for example, documentation for your project), or servlets providing internal
services.
Configuration Profile contains the configuration information required to run the API Gateway.
For example, a specific Configuration Profile instance can store certificates, users, core policies and services, external connections, or listeners.
Service Virtualization
When you register an API service or Web Service, and deploy it to the API Gateway, the API Gateway virtualizes the service. Instead of connecting to the service directly, clients connect
through the API Gateway. The API Gateway can then apply policies to messages sent to the destination service
Question & Answers
Thanks

More Related Content

PPTX
Introduction to microservices
PDF
Cloud Migration
PPTX
Multi Cloud Architecture Approach
PDF
Cloud Computing Using OpenStack
PPTX
Cloud security ppt
PPTX
Introduction to Microservices
PPTX
Graphs for Genealogists
PDF
Web Application Security 101
Introduction to microservices
Cloud Migration
Multi Cloud Architecture Approach
Cloud Computing Using OpenStack
Cloud security ppt
Introduction to Microservices
Graphs for Genealogists
Web Application Security 101

What's hot (20)

PDF
Scalability, Availability & Stability Patterns
PPTX
MULTI-CLOUD ARCHITECTURE
PPTX
Aws introduction
PPTX
Introduction to Google Cloud Platform
PDF
Introduction to Azure
PPTX
cloud computing Multi cloud
PDF
Application Security - Your Success Depends on it
PPTX
OWASP Top 10 2021 Presentation (Jul 2022)
PDF
Simple and Scalable Microservices: Using NATS with Docker Compose and Swarm
PPTX
Elastic Data Warehousing
PDF
Splunk: Druid on Kubernetes with Druid-operator
PPTX
Cloud computing risks
PDF
On Premise vs Cloud Computing | Cloud Certification Training | Edureka
PDF
Basics for understanding the cloud
PDF
Benefits of Web Application Firewall
PDF
Introduction to Event-Driven Architecture
PPTX
Data Center Migration to the AWS Cloud
PPTX
Guide to an API-first Strategy
PDF
Elastic Security Brochure
PPTX
Snowflake: The Good, the Bad, and the Ugly
Scalability, Availability & Stability Patterns
MULTI-CLOUD ARCHITECTURE
Aws introduction
Introduction to Google Cloud Platform
Introduction to Azure
cloud computing Multi cloud
Application Security - Your Success Depends on it
OWASP Top 10 2021 Presentation (Jul 2022)
Simple and Scalable Microservices: Using NATS with Docker Compose and Swarm
Elastic Data Warehousing
Splunk: Druid on Kubernetes with Druid-operator
Cloud computing risks
On Premise vs Cloud Computing | Cloud Certification Training | Edureka
Basics for understanding the cloud
Benefits of Web Application Firewall
Introduction to Event-Driven Architecture
Data Center Migration to the AWS Cloud
Guide to an API-first Strategy
Elastic Security Brochure
Snowflake: The Good, the Bad, and the Ugly
Ad

Viewers also liked (15)

PPTX
Api gatewayの話
PDF
AWS Black Belt Tech シリーズ 2015 - Amazon API Gateway
PPT
API Management architect presentation
PDF
Oracle api gateway overview
PDF
WSO2Con EU 2016: Understanding the WSO2 API Management Platform
PDF
Best Practices for API Management
PPTX
Craft Conference 2015 - Evolution of the PayPal API: Platform & Culture
PDF
Implementing API Facade using WSO2 API Management Platform
PDF
WSO2Con ASIA 2016: Understanding the WSO2 API Management Platform
PPTX
API Management Platform Technical Evaluation Framework
PDF
Roll Your Own API Management Platform with nginx and Lua
PPTX
OAuth 101 & Secure APIs 2012 Cloud Identity Summit
PPTX
Gartner AADI Summit Sydney 2014 Implementing the Layer 7 API Management Pla...
PDF
Open API and API Management - Introduction and Comparison of Products: TIBCO ...
PPTX
Securing RESTful APIs using OAuth 2 and OpenID Connect
Api gatewayの話
AWS Black Belt Tech シリーズ 2015 - Amazon API Gateway
API Management architect presentation
Oracle api gateway overview
WSO2Con EU 2016: Understanding the WSO2 API Management Platform
Best Practices for API Management
Craft Conference 2015 - Evolution of the PayPal API: Platform & Culture
Implementing API Facade using WSO2 API Management Platform
WSO2Con ASIA 2016: Understanding the WSO2 API Management Platform
API Management Platform Technical Evaluation Framework
Roll Your Own API Management Platform with nginx and Lua
OAuth 101 & Secure APIs 2012 Cloud Identity Summit
Gartner AADI Summit Sydney 2014 Implementing the Layer 7 API Management Pla...
Open API and API Management - Introduction and Comparison of Products: TIBCO ...
Securing RESTful APIs using OAuth 2 and OpenID Connect
Ad

Similar to Oracle API Gateway (20)

PPTX
API Gateway - OFM Canberra October 2014
PDF
[Workshop] API-driven Integration
PPTX
Extend soa with api management spoug- Madrid
PDF
Getting Started with API Management
PDF
Api gateway-security
PDF
Extend soa with api management Doag18
PPTX
WSO2- OSC Korea - Accelerating Digital Businesses with APIs
PPTX
Con8817 api management - enable your infrastructure for secure mobile and c...
PDF
Extend soa with api management Sangam18
PPTX
Gateway/APIC security
PPTX
Open api in enterprise
PDF
What's new in API Connect and DataPower - 2019
PPTX
API_Gateways_&_API_Security-1(API Securities and Gateway).pptx
PDF
Core Dimensions of API Management
PDF
Cyber defense for soa & rest oracle
PDF
Presentation cyber defense for soa & rest
PDF
Layer 7 & Oracle: Cyber Defense for SOA & REST
PDF
APIC/DataPower security
PPTX
apidays LIVE Hong Kong 2021 - Headless API Management by Snehal Chakraborty, ...
PDF
APIConnect Security Best Practice
API Gateway - OFM Canberra October 2014
[Workshop] API-driven Integration
Extend soa with api management spoug- Madrid
Getting Started with API Management
Api gateway-security
Extend soa with api management Doag18
WSO2- OSC Korea - Accelerating Digital Businesses with APIs
Con8817 api management - enable your infrastructure for secure mobile and c...
Extend soa with api management Sangam18
Gateway/APIC security
Open api in enterprise
What's new in API Connect and DataPower - 2019
API_Gateways_&_API_Security-1(API Securities and Gateway).pptx
Core Dimensions of API Management
Cyber defense for soa & rest oracle
Presentation cyber defense for soa & rest
Layer 7 & Oracle: Cyber Defense for SOA & REST
APIC/DataPower security
apidays LIVE Hong Kong 2021 - Headless API Management by Snehal Chakraborty, ...
APIConnect Security Best Practice

More from Rakesh Gujjarlapudi (20)

PDF
Reference architectures shows a microservices deployed to Kubernetes
PDF
Oracle SOA, BPM, OSB, BAM, & B2B 12C
PDF
Lesson1 - SOA Governance Overview
PDF
Oracle API Gateway Installation
PDF
Weblogic Administration Managed Server migration
PDF
Oracle fusionmiddlewarecontinuosintegration slideshare_v1
PDF
SOA OSB suite cluster installation
PDF
Enterprise managerclodcontrolinstallconfiguration emc12c
PDF
Oracle OSB Security Enforcement with OWSM
PDF
Oracle OSB Tutorial 3
PDF
Oracle OSB Tutorial 2
PDF
Oracle OSB Tutorial 1
PDF
Oracle WebLogic 11g Topology
PDF
Oracle ADF 11g Skinning Tutorial
PDF
Oracle ADF 11g Tutorial
PDF
Oracle EMC 12C Grand Tour
PDF
Oracle BPM 11g Lesson 1
PDF
Oracle BPM 11g Lesson 2
PDF
Oracle EMC 12 Installation
PDF
Oracle WebLogic Server 11g for IT OPS
Reference architectures shows a microservices deployed to Kubernetes
Oracle SOA, BPM, OSB, BAM, & B2B 12C
Lesson1 - SOA Governance Overview
Oracle API Gateway Installation
Weblogic Administration Managed Server migration
Oracle fusionmiddlewarecontinuosintegration slideshare_v1
SOA OSB suite cluster installation
Enterprise managerclodcontrolinstallconfiguration emc12c
Oracle OSB Security Enforcement with OWSM
Oracle OSB Tutorial 3
Oracle OSB Tutorial 2
Oracle OSB Tutorial 1
Oracle WebLogic 11g Topology
Oracle ADF 11g Skinning Tutorial
Oracle ADF 11g Tutorial
Oracle EMC 12C Grand Tour
Oracle BPM 11g Lesson 1
Oracle BPM 11g Lesson 2
Oracle EMC 12 Installation
Oracle WebLogic Server 11g for IT OPS

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
cuic standard and advanced reporting.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Approach and Philosophy of On baking technology
PPTX
A Presentation on Artificial Intelligence
Advanced methodologies resolving dimensionality complications for autism neur...
Reach Out and Touch Someone: Haptics and Empathic Computing
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
cuic standard and advanced reporting.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Assigned Numbers - 2025 - Bluetooth® Document
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Building Integrated photovoltaic BIPV_UPV.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Mobile App Security Testing_ A Comprehensive Guide.pdf
A comparative analysis of optical character recognition models for extracting...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Network Security Unit 5.pdf for BCA BBA.
Group 1 Presentation -Planning and Decision Making .pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Per capita expenditure prediction using model stacking based on satellite ima...
Approach and Philosophy of On baking technology
A Presentation on Artificial Intelligence

Oracle API Gateway

  • 2. Oracle API Gateway - Basic Architecture CLIENTS Application Servers Partner Applications Mobile Applications XML / JSON Oracle API Gateway Web Applications Cloud-Based Services Oracle API Gateway integrates, accelerates, governs, and secures Web API and SOA-based systems. Serves REST APIs and SOAP Web Services to clients  Converts REST to SOAP  Converts XML to JSON Supports other protocols also  FTP, SFTP, FTPS, TIBCO Rendezvous and EMS, JMS (to IBM WebSphere MQ, ActiveMQ, JBOSS Messaging) Applies security rules  Authentication: OAuth, HTTP Auth, Certificate Auth, WS-Security Content Filtering: Detection of SQL Injection, XSS, Viruses Monitoring of API and Service usage Caching and Traffic Management (routing, throttling) Legacy Applications Data
  • 3. Oracle API Gateway - Deployment Architecture GREEN ZONE Shared Services Layer RED ZONE First Line Of Defense CLIENTS End point security HTTP, SOAP, REST, XML, JMS Cloud-Based Services Webservice Clients REST-WS Clients OES PDP WS-Security, Basic Auth, Digest, X509, UNT,SAML, Kerberos Sign & Encrypt EXTRANET Oracle Service Bus Oracle API Gateway (Service Virtualization) Firewall Web Applications Internal Firewall Mobile Applications Oracle Webservices Manager Partner Applications WS-Security, Basic Auth, Digest, X509, UNT, SAML, Kerberos Sign & Encrypt O W S M BPEL/Web Service End point security HTTP, SOAP, REST, XML, JMS O W S M BPM Process End point security HTTP, SOAP, REST, XML, JMS O W S M Application INTRANET DMZ In Green Zone security use OWSM in conjunction with Oracle FMW products(SOA Suite, OSB, etc. both on the Client Side and Service Side Policy In Red Zone security OEG on the Service Side Policy.
  • 4. Oracle API Gateway – Security Overview Flooding Recursive Payloads Oversized Payloads Memory Leak • • Injection & Malicious Code SQL Injection XPath Injection Cross-site scripting Malformed content Logic bombs Confidentiality Integrity Sniffing Parameter Tampering Schema Poisoning External Entity Canonicalization • Firewall DOS Attacks GREEN ZONE DMZ ZONE Firewall Oracle API Gateway protection against Virtualize a web services Inbuilt Out-ofthe-Box filters Throttle the inbound message flow Privilege Escalation Attacks Dictionary Format String Buffer Overflow Race Conditions Symlink Unprotected interfaces Oracle Webservices Manager O W S M Backend Web Service End point security O W S M Oracle API Gateway Internet/Cloud Filtered Messages • • • • • Reconnaissance Attacks Code templates Forceful browsing Directory Reversal WSDL scanning Registry Disclosure End point security Malformed Request First Line Of Defense AuthC AuthZ Auditing Signature Verification Message Encryption/Decryption Last-Mile Security Backend Web Service End point security O W S M Backend Web Service
  • 5. Oracle API Gateway – Virtualization, Data/Protocol Bridging GREEN ZONE DMZ ZONE Firewall Firewall HTTP GET/POST - REST SSOToken REST/JSON < weatherreport city=“San Francisco" weather=“42" >< /weatherreport> SAML Token Oracle Webservices Manager Required transport & format protocol RESTful Web Service REST/XML SOAP Oracle API Gateway { "weatherreport" : {"city":“San Francisco", "weather":“42"} } JMS SAML Token SOAP Web Service Required transport & format protocol Data Format Transformations XML to JSON and vice versa Protocol bridging REST to SOAP and vice versa First Line Of Defense Last-Mile Security
  • 6. Oracle API Gateway – DMZ Security & Access Control GREEN ZONE DMZ ZONE Firewall Firewall HTTP GET/POST - REST SAML Token SSOToken JMS SOAP/REST Virtual Web Services { "weatherreport" : {"city":“San Francisco", "weather":“42"} } Oracle Service Bus SOAP Oracle API Gateway (Service Virtualization) REST/XML Oracle Webservices Manager < weatherreport city=“San Francisco" weather=“42" >< /weatherreport> REST/JSON Required transport & format protocol RESTful Web Service SAML Token SOAP Web Service • • • • • • API SSO, Authorization, XML/WS Security Enforcement at DMZ WS Authentication, Security token translation, Federation: WS-Security, WS-SecureConversation, WSTrust (single/multiple STSs). REST Security: OAuth2, SAML (OIT). Happening on the Gateway. Protocol Security: XML Security, WS-Security, REST Security Authorization, Data Redaction, Risk: Leveraging Embedded OES PDP or remote OAM/OES PDP Required transport & format protocol
  • 7. Oracle API Gateway – Social Connectivity DMZ ZONE 3rd Party IDPs GREEN ZONE OAuth OpenID Connect SAML Firewall Firewall f SAML Token Token Required transport & format protocol SOAP/REST Virtual Web Services { "weatherreport" : {"city":“San Francisco", "weather":“42"} } Oracle Service Bus Oracle API Gateway API/Web Request with Required Token (SAML, OAM, Kerberos, OAuth etc.) (Service Virtualization) API Request App/Device/User Credential Web SSO Oracle Webservices Manager < weatherreport city=“San Francisco" weather=“42" >< /weatherreport> RESTful Web Service SAML Token SOAP Web Service HTTP/REST/SOAP/OAuth Clients Required transport & format protocol
  • 8. Oracle API Gateway – Fine Grained AuthZ and Data Redaction GREEN ZONE DMZ ZONE Firewall {<Response> <Response Data 1>, <Response Data 2>, <Response Data 3> <Response Data 4>, <Response Data 5>, } Firewall HTTP GET/POST – REST {<Request>} Response Data1 Response Data2 SSOToken Response Data3 {<Response> <Response Data 3> <Response Data 4>} Oracle API Gateway { <Response>} SOAP {<Request>} {<Response> <Response Data 1> <Response Data 2>} Response Data5 SAML Token/ Request End point security O W S M RESTful/SOAP Web Service Response PEP JMS {<Request>} (Service Virtualization) {<Response> <Response Data 5>} Response Data4 Oracle Service Bus {< Request>} Oracle Webservices Manager REST/JSON {<Request>} REST/XML {<Request>} Existing API/WS Returns PDP {<Response> <Response Data 1>} Entitlements Server Data Format Transformations XML to JSON and vice versa Protocol bridging REST to SOAP and vice versa First Line Of Defense Last-Mile Security
  • 9. Oracle API Gateway – API Key Management(Cloud Consumer) GREEN ZONE DMZ ZONE Firewall Google Firewall APIKey_Google Oracle API Gateway SSOToken Oracle Service Bus { <Response>} (Service Virtualization) APIKey_Y API Key + Web Service Request X {< Request>} APIKey_Google Oracle Webservices Manager APIKey_X Y APIKey_X APIKey_Y First Line Of Defense Last-Mile Security SAML Token/ Request End point security O W S M Response RESTful/SOAP Web Service
  • 10. Oracle API Gateway – Configuration & Management Tools Policy Studio Oracle API Gateway Policy Studio is a policy development and configuration tool • Enables policy developers to easily configure API Gateway policies and settings to control and protect deployed API services and Web services. • Policy Studio is typically installed on a separate machine from the API Gateway to enable remote administration. Manager API Gateway Manager is a centralized web-based dashboard • Enables administrators to control and manage API Gateways and groups in a domain. • Connects to the Node Manager on each host, and displays aggregated monitoring data from multiple API Gateway instances. Oracle API Gateway Instance (Core Engine) Policy Development A Oracle API Gateway policy developer typically performs the following tasks: • • • • Develops API Gateway policies and solution packs. Customizes and extends the API Gateway using scripting. Creates Java classes and/or custom filters using the API Gateway filter SDK. Uses the Policy Studio, API Gateway Explorer, and API Gateway Manager tools. Connector Usage Metrics Connector Connector Connector Analytics API Gateway Analytics is a separately installed tool used by administrators • Generates reports and charts based on usage metrics for all services and API Gateways in a domain. • API Gateway Analytics provides integration with databases such as MySQL Server, MS SQL Server, and Oracle. • Includes both real-time and historical metrics.
  • 11. Oracle API Gateway – Managed Domain Architecture POLICY STUDIO Browser-based Manager UI DOMAIN ADMIN NODE MANAGER Domain is the set of all hosts(Physical machine) running API Gateway instances, which are managed centrally by the API Gateway Manager tool. NODE MANAGER Server Instance 1 Services Group 1 Server Instance 2 Server Instance 1 Services Group 2 Server Instance 2 Server Instance 1 TEST GROUP Node 1(Master) Node 2 API Gateway's group-based domain architecture, which enables to break down projects into logical groups and manage configuration across your organization. This provides manageability and scalability, and enables you to perform load balancing and failover across distributed deployments Group • Number of API Gateway instances that all run the same configuration. • Can runs across more than one physical host machine. • Can include more than one API Gateway instance on the same host • Each API Gateway in the group runs the same configuration • Each API Gateway has its own deployment descriptor file (envSettings.properties) • A group also has a deployment descriptor, which specifies settings values that are the same across the group but may differ in different environments. • A standalone API Gateway runs in a group of one member (TEST GROUP in the diagram). • Deploy, manage, and monitor a group of API Gateways using the Policy Studio and the browser-based API Gateway Manager. Node Manager(Server side process) • Manages & Monitors API Gateway instances on the host • Only one Node Manager runs per host. • Communication between the Node Manager and the API Gateway is secured using SSL. • Policy Studio and the browser-based API Gateway Manager are clients of the Node Manager. • The first Node Manager added in a domain is known as the Admin Node Manager. • The Admin Node Manager acts as the master Node Manager. It performs Role-Based Access Control (RBAC), and forwards requests to other Node Managers when required. • The Admin Node Manager also manages and deploys configuration to the API Gateway instance(s) in a domain.
  • 12. Oracle API Gateway – Concepts(Filter, Policy, Message Attribute, Selector, Faults, Policy Shortcuts & Alerts ) Filter is an executable rule that performs a specific type of processing on a message. • Example: Message Size filter rejects messages that are greater or less than a specified size. • Categories of message filters available with the API Gateway, including authentication, authorization, content filtering, signing, and conversion. Policy is a network of message filters in which each filter is a modular unit that processes a message. • A message can traverse different paths through the policy, depending on which filters succeed or fail. • A policy can also contain other policies, which enables you to build modular reusable policies. • A policy must have a Start filter. Filters labeled End stop the execution of the policy if the filter execution fails. • A policy starts with a START filter and ends with END Filter Policy Policy Filter The following example screen shot shows an example policy with success paths and a single failure path: Message Attributes Each filter requires input data and produces output data(message attributes) . Specific filters to create your own message attributes, and to set their values. The Trace filter enables you to trace message attribute values at execution time. Message Attributes Selector is a special syntax that enables API Gateway configuration settings to be evaluated and expanded at runtime based on metadata Faults When a SOAP transaction fails, you can use a SOAP fault to return error information to the SOAP client. Policy Shortcut enables you to create a link from one policy to another policy. Ex: Create a policy that inserts security tokens into a message, and another that adds HTTP headers. You can then create a third policy that calls the other two policies using Policy Shortcut filters. SOAP Alerts can be send alert messages for specified events to various alerting destinations. System alerts are usually sent when a filter fails, but they can also be used for notification purposes. Fault
  • 13. Oracle API Gateway – Concepts(Policy Container, Policy Context, Process, Listeners, Protocol Mediation, Remote Hosts, Servlet Application, Configuration Profile, Service Virtualization) Policy Container used to group similar policies together (for example, all authentication or logging policies), or policies that relate to a particular service. Policy Context : Policies can execute in a specified context(set a context by associating a relative execution path or listener with a policy). Process is an instance of the API Gateway capable of running on a host. Listeners : Define different types of listeners and associate them with specific policies. Protocol Mediation: The API Gateway can be used to provide protocol mediation (for example, receiving a SOAP request over JMS, and transforming it into a SOAP/HTTP request to a backend service). Remote Hosts: Define a remote host when you need more control of the connection settings to a particular server. HTTP version, IP addresses, Timeouts, Buffers, Caches Servlet Applications : Provides a Web server and servlet application server that can be used to host static content (for example, documentation for your project), or servlets providing internal services. Configuration Profile contains the configuration information required to run the API Gateway. For example, a specific Configuration Profile instance can store certificates, users, core policies and services, external connections, or listeners. Service Virtualization When you register an API service or Web Service, and deploy it to the API Gateway, the API Gateway virtualizes the service. Instead of connecting to the service directly, clients connect through the API Gateway. The API Gateway can then apply policies to messages sent to the destination service