SlideShare una empresa de Scribd logo
1 de 72
Warsaw MuleSoft Meetup #7
25/06/2020
API Policies
All contents © MuleSoft Inc.
Agenda
3
• Community updates
• API Policies
• Custom API Policies
• Quiz
• What’s next & Close
Introduction
All contents © MuleSoft Inc.
Our Partners
5
All contents © MuleSoft Inc.
Organizer
• Senior Integration Developer at PwC Poland
• MuleSoft Ambassador
• MuleSoft Meetup Leader for Warsaw, Poland
• Latest Salesforce Trailblazer
https://trailhead.salesforce.com/trailblazers/p
atryk-bandurski
• Integration Blog
https://ambassadorpatryk.com/blog
• Working with MuleSoft products for over 8
years now
Patryk Bandurski
All contents © MuleSoft Inc.
Speaker
7
• Mulesoft Developer at Billennium
• 4+ years in Integration as Developer and
Analyst - Mule 3 & Mule 4
• Mulesoft Certified Developer – Level 1
(Mule 4)
• Mulesoft Certified Developer - Integration
and API Associate
• Mulesoft Certified Architect – Solution
Design Specialist
• Mule Meetup Leader for Cracow, Poland
• https://www.linkedin.com/in/wojciech-maciejczyk-
0888a8101/
Wojciech Maciejczyk
All contents © MuleSoft Inc.
Speaker
8
• Mulesoft Developer at Roche
• 10+ years in Integration as Developer,
Analyst and Architect
• Mulesoft Certified Developer – Level 1
(Mule 4)
Jacek Chmielewski
All contents © MuleSoft Inc.
Share
9
• Share the Meetup in your social media
• Use Hashtags
– #MuleSoftMeetup
– #WarsawMuleSoftMeetup
Thanks 
All contents © MuleSoft Inc. 10
Would you like to present some cool topic at the next Meetup?
To submit your idea, fill out this form:
https://tinyurl.com/become-speaker
Become a Speaker at the Meetup
Community Updates
All contents © MuleSoft Inc.
Easy-to-understand
Learning Paths
Training-specific sub-
navigation
Simplified registration
process for courses
and exams
New MuleSoft Training Site
12
All contents © MuleSoft Inc.
The new Mule 4
certification designs
are awesome!
New badges!
New Design!
13
All contents © MuleSoft Inc.
One certification less
14
• MuleSoft Certified Developer – API
Design Associate (RAML 1.0)
• Retiered since 1st of June 2020
• Free Quiz in its place
All contents © MuleSoft Inc.
Did you know?
15
MuleSoft certificates that are about to expire are exteded till 31st of
July 2020
All contents © MuleSoft Inc.
Mule Migration Assistant
Evaluate migration complexity
Generate an initial assessment of the manual
work required for migrating individual Mule
apps
Reduce manual effort
Avoid rewriting from scratch by converting
the project structure and common
connectors (HTTP, DB, etc) into Mule 4
compatible components
Customize with extensibility
Users can develop plugins on the open
source framework for repetitive migration
tasks such as custom connectors and
complex MEL
Jumpstart Mule 3 to Mule 4 migrations
Open
Source
All contents © MuleSoft Inc.
Self-paced courses
FREE!
Up to date!
Videos, Presentation & DIY
Where to start?
17
All contents © MuleSoft Inc.
Warsaw MuleSoft Meetup Group
18
• https://tinyurl.com/warsaw-group
• On MuleSoft Help center
• Why?
– Suggest topics
– Discuss event’s topics
– Discuss anything you like
– Ask questions
– See updates regarding our
group!
Register today 
All contents © MuleSoft Inc.
Kahoot!
19
• Interactive quizes/surveys
• From the web browser
• Visit the page
kahoot.it
and provide
• PIN number
• Your nick
All contents © MuleSoft Inc.
Agenda
20
1. API Manager Policies
1. Policy types
2. Policy categories
3. Policy level
2. Managing default policies
3. Guidelines for using policies
All contents © MuleSoft Inc.
API Manager Policies
21
Policies enable you to enforce regulations to help manage security,
control traffic and improve adaptability of your APIs.
What is quite important you can implement policies with no
modification to the code implementation.
Mulesoft provides ready-to-use default policies that are shipped with
the product. Policies differ based on several different factors, such as
category, purpose, version, and configuration options.
All contents © MuleSoft Inc.
API Manager Policies
22
All contents © MuleSoft Inc.
Policy types
23
Main types of policies:
• Default Policies - ready-to-use policies provided by MuleSoft
• Automated Policies – applied on all APIs automaticly
• Custom Policies – policies you need to implement
– Online Custom Policies
– Offline Custom Policies
All contents © MuleSoft Inc.
Policy categories
24
The following table lists default policies by its category and the
function it performs:
• Security
• Compliance
• Transformation
• Troubleshooting
• Quality of Service
All contents © MuleSoft Inc.
Policy categories - Security
25
• Basic Authentication - authenticates the LDAP credentials or single user
password.
• IP Blacklist - blocks a range of IP addresses.
• IP Whitelist - allows access from only a preapproved range of IP addresses.
• JSON Threat Protection - protects against a malicious JSON structure in API
requests.
• XML Threat Protection - protects against malicious XML elements in API
requests.
All contents © MuleSoft Inc.
Policy categories - Security
26
• JWT - validates a JWT token.
• OAuth 2.0 access token - enforces token access using the MuleSoft OAuth
Provider policy.
• OpenAM Access Token Enforcement - restricts access to a protected resource
using an Open AM authentication server.
• PingFederate Access Token Enforcement - restricts access to a protected
resource using the PingFederate authentication server.
• Tokenization - transforms sensitive data into nonsensitive equivalent tokens.
• Detokenization - transforms a tokenized value back to the original data.
All contents © MuleSoft Inc.
Policy categories – Compliance and
Transformation
27
Compliance
• Client ID Enforcement - allows access to client applications with a valid client
credentials.
• CORS - enables calls executed in a web page to interact with resources from
different domains.
Transformation
• Header Injection - adds headers to the request or response message of a
policy.
• Header Removal - removes headers from the request or response message of a
policy.
All contents © MuleSoft Inc.
Policy categories - Quality of Service and
Troubleshooting
28
QoS
• HTTP Caching - stores HTTP responses from an API implementation.
• Rate Limiting - enables imposing a limit on the number of requests that an API
can accept within a specified time.
• Rate Limiting, SLA-Based - enables imposing an API request limit based on
SLA tiers.
• Spike Control - controls API traffic.
Troubleshooting
• Message Logging - logs a custom message when an API is invoked.
All contents © MuleSoft Inc.
Policy level
29
Policies are by default applied to the entire API.
Policies which implement an additional level of policy granularity are
called resource-level policies.
At the resource level of granularity, policies are applied to only those
requests that match the criteria. All policies, except the Cross-Origin
Resource Sharing (CORS) policy can be used are resource-level.
All contents © MuleSoft Inc.
Managing default policies
30
• Applying policy in API Manager
• Ordering of policies
– CORS exception
• Disabling policies
All contents © MuleSoft Inc.
Guidelines for using policies
31
• When designing System API you may consider using:
– IP whitelisting – IP address range of implementation of Process APIs
– SLA based Rate Limiting – rejects requests when troughput has been reached
– Spike Control – to protect backend systems
• When designing Process API you may consider using:
– IP whitelisting – IP address range of implementation of Process and
Experience APIs
– Client ID enforcement – identity of API clients is always known
– SLA based Rate Limiting - rejects requests when troughput has been reached
– Spike Control – to protect backend systems
All contents © MuleSoft Inc.
Guidelines for using policies
32
• When designing Experience API you may consider using:
– IP whitelisting – IP address of the Aggregator to complement TLS mutual
authentication
– JSON/XML Threat Protection – secure your API
– SLA based Rate Limiting - rejects requests when troughput has been reached
– Avoid using Spike Control – use queuing instead
All contents © MuleSoft Inc.
Guidelines for using policies
33
• Use API Manager Alerts to detect policy violations.
• Keep correct order of policies, CORS, Certificate Validation, JSON
Threat Protection should be executed first.
• Use resource-level policies when:
– Securing a subset of an API is required
– Setting different limits on resources is needed
• Use Visualizer to monitor policies
Custom Policies
Development and Deployment
All contents © MuleSoft Inc.
Agenda
35
1. Develop from the scratch?
– Policy source code by Mulesoft
– Customize policy provided by Mulesoft
– Tests
2. Custom policy development and deployment
– Required configuration
– Custom Policy Archetype
– “Hello world” policy deployment
– Custom development and deployment
– Tests
All contents © MuleSoft Inc.
Policy source code - how to download it?
36
1. Go to your Anypoint Studio installation directory
2. <AnypointStudio_home>/plugins/org.tooling.server<your.server.version>/mule/policies
3. Source jars are in policy-templates
All contents © MuleSoft Inc.
Policy source code - yaml
37
https://docs.mulesoft.com/api-manager/2.x/custom-policy-4-reference#yaml-configuration-file
All contents © MuleSoft Inc.
Policy customization
38
All contents © MuleSoft Inc.
Policy customization
39
All contents © MuleSoft Inc.
Policy customization
40
All contents © MuleSoft Inc.
Policy customization
41
DEMO
All contents © MuleSoft Inc.
Policy customization
42
DEMO
All contents © MuleSoft Inc.
Policy customization
43
DEMO
All contents © MuleSoft Inc.
Policy customization
44
All contents © MuleSoft Inc.
Custom development
45
https://docs.mulesoft.com/api-manager/2.x/policies-custom-landing-page
All contents © MuleSoft Inc.
Custom development - archetype-repository
46
All contents © MuleSoft Inc.
Custom development - generate project
47
All contents © MuleSoft Inc.
Custom development - generate project
48
DEMO Hello World demo plan:
1. Generate the policy from maven archetype
2. Discuss the generated content
a. yaml
b. template.xml
c. pom.xml
3. Deployment
4. Tests
a. GET /api/resource1 without policy applied
b. GET /api/resource1 with policy applied
All contents © MuleSoft Inc.
Custom development - generate project
49
DEMO
All contents © MuleSoft Inc.
Custom development - yaml and template
50
DEMO
All contents © MuleSoft Inc.
Custom development - packaging
51
DEMO
All contents © MuleSoft Inc.
Custom development - deploy configuration
52
DEMO
All contents © MuleSoft Inc.
Custom development - deploy
53
DEMO
All contents © MuleSoft Inc.
Custom development - uploaded to Exchange
54
DEMO
All contents © MuleSoft Inc.
Custom development - policy unapplied
55
DEMO
implementation of
/api/resource1
no Payload manipulation
All contents © MuleSoft Inc.
Custom development - available in API Manager
56
DEMO
All contents © MuleSoft Inc.
Custom development - working policy
57
DEMO
All contents © MuleSoft Inc.
Custom development - HMAC Data Integrity
58
DEMO HMAC Signature Validation demo plan:
1. Generate the policy from maven archetype
2. Development (yaml, template.xml from code snippet)
3. Deployment
4. Policy configuration in API Manager (signature source, secretKey,
errorStatusCode)
5. Tests
a. POST /api/resource2 without policy applied
b. POST /api/resource2 with policy applied
All contents © MuleSoft Inc.
Custom development - HMAC Data Integrity
59
DEMO1. Generate the template from maven archetype
2. Develop your policy:
All contents © MuleSoft Inc.
Custom development - HMAC Data Integrity
60
DEMO 1. Check it in Exchange:
2. Check it in API Manager:
All contents © MuleSoft Inc.
Custom development - HMAC Data Integrity
61
DEMO
All contents © MuleSoft Inc.
Custom development - HMAC Data Integrity
62
DEMO
All contents © MuleSoft Inc.
Summary
63
• Working with policies don’t require a lot of secret knowledge, because the
provided documentation answers most of the questions
• Sometimes the power of Dataweave 2.0 is enough to reuse the out-of-the-
box provided policy in customized way
• Custom policies makes the Anypoint Platform more adjusted to your
organization needs
• Personally, I like this concept and see the huge value from maintenance
perspective, especially in combine with Automated Policy appliance
Questions & Answers
64
QUIZ
All contents © MuleSoft Inc.
Voucher for online
training & exam
Wireless mouse
Mi Band 4
Bag
MuleSoft & PWC
lanyard
Prizes
Requirement: the contestant/winner must
have Polish address
All contents © MuleSoft Inc.
Let’s get familiar with
the Kahoot by a quick
4 questions warm up
Kahoot warmup!
Requirement: Players with polish address
add PL to the nick name
Example: Cool Guy PL
All contents © MuleSoft Inc.
Who are the three
lucky winners? Is it
you?
Trivia quiz
Requirement: Players with polish address
add PL to the nick name
Example: Cool Guy PL
Requirement: the contestant/winner must
have Polish address
All contents © MuleSoft Inc.
What’s next
69
• Feedback:
– Contact your organizer Patryk Bandurski via patryk.bandurski@gmail.com or
LinkedIn profile to suggest topics
– Contact MuleSoft at meetup@mulesoft.com for ways to improve the program
• Our next meetup:
– Date: August 2020
– Topic: not known yet. Volunteer … I volunteer as Speaker 
All contents © MuleSoft Inc.
What’s next
70
Invite your network to join
– https://meetups.mulesoft.com/warsaw/
Last photo
See you next time

Más contenido relacionado

La actualidad más candente

MuleSoft Manchester Meetup #2 slides 29th October 2019
MuleSoft Manchester Meetup #2 slides 29th October 2019MuleSoft Manchester Meetup #2 slides 29th October 2019
MuleSoft Manchester Meetup #2 slides 29th October 2019Ieva Navickaite
 
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...Manish Kumar Yadav
 
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...Angel Alberici
 
Sprinting with Anypoint Runtime Fabric
Sprinting with Anypoint Runtime FabricSprinting with Anypoint Runtime Fabric
Sprinting with Anypoint Runtime FabricAaronLieberman5
 
MuleSoft Meetup Mumbai Mule 4 Presentation Slide
MuleSoft Meetup Mumbai Mule 4 Presentation SlideMuleSoft Meetup Mumbai Mule 4 Presentation Slide
MuleSoft Meetup Mumbai Mule 4 Presentation SlideManish Kumar Yadav
 
Special MuleSoft Meetup at London CONNECT
Special MuleSoft Meetup at London CONNECTSpecial MuleSoft Meetup at London CONNECT
Special MuleSoft Meetup at London CONNECTSabrina Marechal
 
Mumbai MuleSoft Meetup 12
Mumbai MuleSoft Meetup 12Mumbai MuleSoft Meetup 12
Mumbai MuleSoft Meetup 12Akshata Sawant
 
Mumbai MuleSoft Meetup 11
Mumbai MuleSoft Meetup 11Mumbai MuleSoft Meetup 11
Mumbai MuleSoft Meetup 11Akshata Sawant
 
Custom policies in mule 4 and a circuit breaker example
Custom policies in mule 4 and a circuit breaker exampleCustom policies in mule 4 and a circuit breaker example
Custom policies in mule 4 and a circuit breaker exampleRoyston Lobo
 
Meet up slides_mumbai_05022020_final
Meet up slides_mumbai_05022020_finalMeet up slides_mumbai_05022020_final
Meet up slides_mumbai_05022020_finalAkshata Sawant
 
Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019Zubair Aslam
 
The RAML 1.0 Ecosystem
The RAML 1.0 EcosystemThe RAML 1.0 Ecosystem
The RAML 1.0 EcosystemMuleSoft
 
How to Expand Anypoint Platform's Capabilities by Developing Custom Connectors
How to Expand Anypoint Platform's Capabilities by Developing Custom ConnectorsHow to Expand Anypoint Platform's Capabilities by Developing Custom Connectors
How to Expand Anypoint Platform's Capabilities by Developing Custom ConnectorsAaronLieberman5
 
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafka
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafkaMuleSoft Online Meetup - MuleSoft integration with snowflake and kafka
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafkaRoyston Lobo
 
Manila MuleSoft Meetup - September 2018
Manila MuleSoft Meetup - September 2018Manila MuleSoft Meetup - September 2018
Manila MuleSoft Meetup - September 2018Ryan Anthony Andal
 
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalertsAhmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalertsShekh Muenuddeen
 
VPCs, Metrics Framework, Back pressure : MuleSoft Virtual Muleys Meetups
VPCs, Metrics Framework, Back pressure  : MuleSoft Virtual Muleys MeetupsVPCs, Metrics Framework, Back pressure  : MuleSoft Virtual Muleys Meetups
VPCs, Metrics Framework, Back pressure : MuleSoft Virtual Muleys MeetupsAngel Alberici
 
MuleSoft Clustring, Okta, CI/CD Integration with Jenkins
MuleSoft Clustring, Okta, CI/CD Integration with JenkinsMuleSoft Clustring, Okta, CI/CD Integration with Jenkins
MuleSoft Clustring, Okta, CI/CD Integration with JenkinsManish Kumar Yadav
 
MuleSoft CloudHub API Versioning
MuleSoft CloudHub API VersioningMuleSoft CloudHub API Versioning
MuleSoft CloudHub API VersioningPatryk Bandurski
 
mulesoft meetup @ bangalore
mulesoft meetup @ bangaloremulesoft meetup @ bangalore
mulesoft meetup @ bangaloreD.Rajesh Kumar
 

La actualidad más candente (20)

MuleSoft Manchester Meetup #2 slides 29th October 2019
MuleSoft Manchester Meetup #2 slides 29th October 2019MuleSoft Manchester Meetup #2 slides 29th October 2019
MuleSoft Manchester Meetup #2 slides 29th October 2019
 
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
 
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...
 
Sprinting with Anypoint Runtime Fabric
Sprinting with Anypoint Runtime FabricSprinting with Anypoint Runtime Fabric
Sprinting with Anypoint Runtime Fabric
 
MuleSoft Meetup Mumbai Mule 4 Presentation Slide
MuleSoft Meetup Mumbai Mule 4 Presentation SlideMuleSoft Meetup Mumbai Mule 4 Presentation Slide
MuleSoft Meetup Mumbai Mule 4 Presentation Slide
 
Special MuleSoft Meetup at London CONNECT
Special MuleSoft Meetup at London CONNECTSpecial MuleSoft Meetup at London CONNECT
Special MuleSoft Meetup at London CONNECT
 
Mumbai MuleSoft Meetup 12
Mumbai MuleSoft Meetup 12Mumbai MuleSoft Meetup 12
Mumbai MuleSoft Meetup 12
 
Mumbai MuleSoft Meetup 11
Mumbai MuleSoft Meetup 11Mumbai MuleSoft Meetup 11
Mumbai MuleSoft Meetup 11
 
Custom policies in mule 4 and a circuit breaker example
Custom policies in mule 4 and a circuit breaker exampleCustom policies in mule 4 and a circuit breaker example
Custom policies in mule 4 and a circuit breaker example
 
Meet up slides_mumbai_05022020_final
Meet up slides_mumbai_05022020_finalMeet up slides_mumbai_05022020_final
Meet up slides_mumbai_05022020_final
 
Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019
 
The RAML 1.0 Ecosystem
The RAML 1.0 EcosystemThe RAML 1.0 Ecosystem
The RAML 1.0 Ecosystem
 
How to Expand Anypoint Platform's Capabilities by Developing Custom Connectors
How to Expand Anypoint Platform's Capabilities by Developing Custom ConnectorsHow to Expand Anypoint Platform's Capabilities by Developing Custom Connectors
How to Expand Anypoint Platform's Capabilities by Developing Custom Connectors
 
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafka
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafkaMuleSoft Online Meetup - MuleSoft integration with snowflake and kafka
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafka
 
Manila MuleSoft Meetup - September 2018
Manila MuleSoft Meetup - September 2018Manila MuleSoft Meetup - September 2018
Manila MuleSoft Meetup - September 2018
 
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalertsAhmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
 
VPCs, Metrics Framework, Back pressure : MuleSoft Virtual Muleys Meetups
VPCs, Metrics Framework, Back pressure  : MuleSoft Virtual Muleys MeetupsVPCs, Metrics Framework, Back pressure  : MuleSoft Virtual Muleys Meetups
VPCs, Metrics Framework, Back pressure : MuleSoft Virtual Muleys Meetups
 
MuleSoft Clustring, Okta, CI/CD Integration with Jenkins
MuleSoft Clustring, Okta, CI/CD Integration with JenkinsMuleSoft Clustring, Okta, CI/CD Integration with Jenkins
MuleSoft Clustring, Okta, CI/CD Integration with Jenkins
 
MuleSoft CloudHub API Versioning
MuleSoft CloudHub API VersioningMuleSoft CloudHub API Versioning
MuleSoft CloudHub API Versioning
 
mulesoft meetup @ bangalore
mulesoft meetup @ bangaloremulesoft meetup @ bangalore
mulesoft meetup @ bangalore
 

Similar a Warsaw MuleSoft Meetup #7 - custom policy

Mule soft riyadh virtual meetup_30_aug
Mule soft riyadh virtual meetup_30_augMule soft riyadh virtual meetup_30_aug
Mule soft riyadh virtual meetup_30_augsatyasekhar123
 
How to Secure Mule API's With a Demo
How to Secure Mule API's With a DemoHow to Secure Mule API's With a Demo
How to Secure Mule API's With a DemoManjuKumara GH
 
Bangalore mulesoft meetup#10
Bangalore mulesoft meetup#10Bangalore mulesoft meetup#10
Bangalore mulesoft meetup#10D.Rajesh Kumar
 
MuleSoft Meetup Charlotte 2019
MuleSoft Meetup Charlotte  2019MuleSoft Meetup Charlotte  2019
MuleSoft Meetup Charlotte 2019Subhash Patel
 
Anypoint API Manager Custom Policies & Best Practices
Anypoint API Manager Custom Policies & Best PracticesAnypoint API Manager Custom Policies & Best Practices
Anypoint API Manager Custom Policies & Best PracticesMuleSoft Meetups
 
Baltimore jan2019 mule4
Baltimore jan2019 mule4Baltimore jan2019 mule4
Baltimore jan2019 mule4ManjuKumara GH
 
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsMuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsJulian Douch
 
6th Manila MuleSoft Meetup May 2020
6th Manila MuleSoft Meetup May 20206th Manila MuleSoft Meetup May 2020
6th Manila MuleSoft Meetup May 2020Christopher Co
 
What Hackers Don’t Want You To Know: How to Maximize Your API Security
What Hackers Don’t Want You To Know: How to Maximize Your API SecurityWhat Hackers Don’t Want You To Know: How to Maximize Your API Security
What Hackers Don’t Want You To Know: How to Maximize Your API SecurityAaronLieberman5
 
Mulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay ThiruvananthapuramMulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay ThiruvananthapuramAnurag Dwivedi
 
MuleSoft Meetup Charlotte 2 - 2019
MuleSoft Meetup Charlotte 2 - 2019MuleSoft Meetup Charlotte 2 - 2019
MuleSoft Meetup Charlotte 2 - 2019Subhash Patel
 
Singapore MuleSoft Meetup - 24 Aug 2022
Singapore MuleSoft Meetup - 24 Aug 2022Singapore MuleSoft Meetup - 24 Aug 2022
Singapore MuleSoft Meetup - 24 Aug 2022Royston Lobo
 
West Yorkshire Mulesoft Meetup #5
West Yorkshire Mulesoft Meetup #5West Yorkshire Mulesoft Meetup #5
West Yorkshire Mulesoft Meetup #5Francis Edwards
 
Mule : Building Blocks for Microservices
Mule : Building Blocks for MicroservicesMule : Building Blocks for Microservices
Mule : Building Blocks for MicroservicesAnirudh Pandit
 
Learn mulesoft from scratch
Learn mulesoft from scratchLearn mulesoft from scratch
Learn mulesoft from scratchNikhil More
 
Hyderabad Mule meetup #9
 Hyderabad Mule meetup #9 Hyderabad Mule meetup #9
Hyderabad Mule meetup #9Santosh Ojha
 
Mule soft meetup_indonesia_june2020
Mule soft meetup_indonesia_june2020Mule soft meetup_indonesia_june2020
Mule soft meetup_indonesia_june2020WendyTey4
 

Similar a Warsaw MuleSoft Meetup #7 - custom policy (20)

Mule soft riyadh virtual meetup_30_aug
Mule soft riyadh virtual meetup_30_augMule soft riyadh virtual meetup_30_aug
Mule soft riyadh virtual meetup_30_aug
 
How to Secure Mule API's With a Demo
How to Secure Mule API's With a DemoHow to Secure Mule API's With a Demo
How to Secure Mule API's With a Demo
 
Bangalore mulesoft meetup#10
Bangalore mulesoft meetup#10Bangalore mulesoft meetup#10
Bangalore mulesoft meetup#10
 
MuleSoft Meetup Charlotte 2019
MuleSoft Meetup Charlotte  2019MuleSoft Meetup Charlotte  2019
MuleSoft Meetup Charlotte 2019
 
Anypoint API Manager Custom Policies & Best Practices
Anypoint API Manager Custom Policies & Best PracticesAnypoint API Manager Custom Policies & Best Practices
Anypoint API Manager Custom Policies & Best Practices
 
Baltimore jan2019 mule4
Baltimore jan2019 mule4Baltimore jan2019 mule4
Baltimore jan2019 mule4
 
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsMuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
 
Mule soft dubai virtual meetup 27_apr
Mule soft dubai virtual meetup 27_aprMule soft dubai virtual meetup 27_apr
Mule soft dubai virtual meetup 27_apr
 
6th Manila MuleSoft Meetup May 2020
6th Manila MuleSoft Meetup May 20206th Manila MuleSoft Meetup May 2020
6th Manila MuleSoft Meetup May 2020
 
What Hackers Don’t Want You To Know: How to Maximize Your API Security
What Hackers Don’t Want You To Know: How to Maximize Your API SecurityWhat Hackers Don’t Want You To Know: How to Maximize Your API Security
What Hackers Don’t Want You To Know: How to Maximize Your API Security
 
Mulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay ThiruvananthapuramMulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay Thiruvananthapuram
 
MuleSoft Meetup Charlotte 2 - 2019
MuleSoft Meetup Charlotte 2 - 2019MuleSoft Meetup Charlotte 2 - 2019
MuleSoft Meetup Charlotte 2 - 2019
 
Singapore MuleSoft Meetup - 24 Aug 2022
Singapore MuleSoft Meetup - 24 Aug 2022Singapore MuleSoft Meetup - 24 Aug 2022
Singapore MuleSoft Meetup - 24 Aug 2022
 
West Yorkshire Mulesoft Meetup #5
West Yorkshire Mulesoft Meetup #5West Yorkshire Mulesoft Meetup #5
West Yorkshire Mulesoft Meetup #5
 
Mule : Building Blocks for Microservices
Mule : Building Blocks for MicroservicesMule : Building Blocks for Microservices
Mule : Building Blocks for Microservices
 
MuleSoft São Paulo Meetup #3 - 18 Jun
MuleSoft São Paulo Meetup #3 - 18 JunMuleSoft São Paulo Meetup #3 - 18 Jun
MuleSoft São Paulo Meetup #3 - 18 Jun
 
Learn mulesoft from scratch
Learn mulesoft from scratchLearn mulesoft from scratch
Learn mulesoft from scratch
 
Hyderabad MuleSoft Meetup
Hyderabad MuleSoft MeetupHyderabad MuleSoft Meetup
Hyderabad MuleSoft Meetup
 
Hyderabad Mule meetup #9
 Hyderabad Mule meetup #9 Hyderabad Mule meetup #9
Hyderabad Mule meetup #9
 
Mule soft meetup_indonesia_june2020
Mule soft meetup_indonesia_june2020Mule soft meetup_indonesia_june2020
Mule soft meetup_indonesia_june2020
 

Más de Patryk Bandurski

Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Warsaw MuleSoft Meetup #16 DF Tour.pptx
Warsaw MuleSoft Meetup #16 DF Tour.pptxWarsaw MuleSoft Meetup #16 DF Tour.pptx
Warsaw MuleSoft Meetup #16 DF Tour.pptxPatryk Bandurski
 
Warsaw MuleSoft Meetup #15 - Hyperautomation with MuleSoft - Composer 101
Warsaw MuleSoft Meetup #15 - Hyperautomation with MuleSoft - Composer 101Warsaw MuleSoft Meetup #15 - Hyperautomation with MuleSoft - Composer 101
Warsaw MuleSoft Meetup #15 - Hyperautomation with MuleSoft - Composer 101Patryk Bandurski
 
Marketing Cloud integration with MuleSoft
Marketing Cloud integration with MuleSoftMarketing Cloud integration with MuleSoft
Marketing Cloud integration with MuleSoftPatryk Bandurski
 
Warsaw MuleSoft Meetup #13.pptx
Warsaw MuleSoft Meetup #13.pptxWarsaw MuleSoft Meetup #13.pptx
Warsaw MuleSoft Meetup #13.pptxPatryk Bandurski
 
Warsaw MuleSoft Meetup #12 Effective Streaming
Warsaw MuleSoft Meetup #12 Effective StreamingWarsaw MuleSoft Meetup #12 Effective Streaming
Warsaw MuleSoft Meetup #12 Effective StreamingPatryk Bandurski
 
Warsaw muleSoft meetup #11 MuleSoft OData
Warsaw muleSoft meetup #11 MuleSoft ODataWarsaw muleSoft meetup #11 MuleSoft OData
Warsaw muleSoft meetup #11 MuleSoft ODataPatryk Bandurski
 
Warsaw mulesoft meetup #9 mastering integration with salesforce
Warsaw mulesoft meetup #9 mastering integration with salesforceWarsaw mulesoft meetup #9 mastering integration with salesforce
Warsaw mulesoft meetup #9 mastering integration with salesforcePatryk Bandurski
 
MuleSoft Meetup Warsaw Group DataWeave 2.0
MuleSoft Meetup Warsaw Group DataWeave 2.0MuleSoft Meetup Warsaw Group DataWeave 2.0
MuleSoft Meetup Warsaw Group DataWeave 2.0Patryk Bandurski
 

Más de Patryk Bandurski (9)

Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Warsaw MuleSoft Meetup #16 DF Tour.pptx
Warsaw MuleSoft Meetup #16 DF Tour.pptxWarsaw MuleSoft Meetup #16 DF Tour.pptx
Warsaw MuleSoft Meetup #16 DF Tour.pptx
 
Warsaw MuleSoft Meetup #15 - Hyperautomation with MuleSoft - Composer 101
Warsaw MuleSoft Meetup #15 - Hyperautomation with MuleSoft - Composer 101Warsaw MuleSoft Meetup #15 - Hyperautomation with MuleSoft - Composer 101
Warsaw MuleSoft Meetup #15 - Hyperautomation with MuleSoft - Composer 101
 
Marketing Cloud integration with MuleSoft
Marketing Cloud integration with MuleSoftMarketing Cloud integration with MuleSoft
Marketing Cloud integration with MuleSoft
 
Warsaw MuleSoft Meetup #13.pptx
Warsaw MuleSoft Meetup #13.pptxWarsaw MuleSoft Meetup #13.pptx
Warsaw MuleSoft Meetup #13.pptx
 
Warsaw MuleSoft Meetup #12 Effective Streaming
Warsaw MuleSoft Meetup #12 Effective StreamingWarsaw MuleSoft Meetup #12 Effective Streaming
Warsaw MuleSoft Meetup #12 Effective Streaming
 
Warsaw muleSoft meetup #11 MuleSoft OData
Warsaw muleSoft meetup #11 MuleSoft ODataWarsaw muleSoft meetup #11 MuleSoft OData
Warsaw muleSoft meetup #11 MuleSoft OData
 
Warsaw mulesoft meetup #9 mastering integration with salesforce
Warsaw mulesoft meetup #9 mastering integration with salesforceWarsaw mulesoft meetup #9 mastering integration with salesforce
Warsaw mulesoft meetup #9 mastering integration with salesforce
 
MuleSoft Meetup Warsaw Group DataWeave 2.0
MuleSoft Meetup Warsaw Group DataWeave 2.0MuleSoft Meetup Warsaw Group DataWeave 2.0
MuleSoft Meetup Warsaw Group DataWeave 2.0
 

Último

Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 

Último (20)

Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 

Warsaw MuleSoft Meetup #7 - custom policy

  • 1.
  • 2. Warsaw MuleSoft Meetup #7 25/06/2020 API Policies
  • 3. All contents © MuleSoft Inc. Agenda 3 • Community updates • API Policies • Custom API Policies • Quiz • What’s next & Close
  • 5. All contents © MuleSoft Inc. Our Partners 5
  • 6. All contents © MuleSoft Inc. Organizer • Senior Integration Developer at PwC Poland • MuleSoft Ambassador • MuleSoft Meetup Leader for Warsaw, Poland • Latest Salesforce Trailblazer https://trailhead.salesforce.com/trailblazers/p atryk-bandurski • Integration Blog https://ambassadorpatryk.com/blog • Working with MuleSoft products for over 8 years now Patryk Bandurski
  • 7. All contents © MuleSoft Inc. Speaker 7 • Mulesoft Developer at Billennium • 4+ years in Integration as Developer and Analyst - Mule 3 & Mule 4 • Mulesoft Certified Developer – Level 1 (Mule 4) • Mulesoft Certified Developer - Integration and API Associate • Mulesoft Certified Architect – Solution Design Specialist • Mule Meetup Leader for Cracow, Poland • https://www.linkedin.com/in/wojciech-maciejczyk- 0888a8101/ Wojciech Maciejczyk
  • 8. All contents © MuleSoft Inc. Speaker 8 • Mulesoft Developer at Roche • 10+ years in Integration as Developer, Analyst and Architect • Mulesoft Certified Developer – Level 1 (Mule 4) Jacek Chmielewski
  • 9. All contents © MuleSoft Inc. Share 9 • Share the Meetup in your social media • Use Hashtags – #MuleSoftMeetup – #WarsawMuleSoftMeetup Thanks 
  • 10. All contents © MuleSoft Inc. 10 Would you like to present some cool topic at the next Meetup? To submit your idea, fill out this form: https://tinyurl.com/become-speaker Become a Speaker at the Meetup
  • 12. All contents © MuleSoft Inc. Easy-to-understand Learning Paths Training-specific sub- navigation Simplified registration process for courses and exams New MuleSoft Training Site 12
  • 13. All contents © MuleSoft Inc. The new Mule 4 certification designs are awesome! New badges! New Design! 13
  • 14. All contents © MuleSoft Inc. One certification less 14 • MuleSoft Certified Developer – API Design Associate (RAML 1.0) • Retiered since 1st of June 2020 • Free Quiz in its place
  • 15. All contents © MuleSoft Inc. Did you know? 15 MuleSoft certificates that are about to expire are exteded till 31st of July 2020
  • 16. All contents © MuleSoft Inc. Mule Migration Assistant Evaluate migration complexity Generate an initial assessment of the manual work required for migrating individual Mule apps Reduce manual effort Avoid rewriting from scratch by converting the project structure and common connectors (HTTP, DB, etc) into Mule 4 compatible components Customize with extensibility Users can develop plugins on the open source framework for repetitive migration tasks such as custom connectors and complex MEL Jumpstart Mule 3 to Mule 4 migrations Open Source
  • 17. All contents © MuleSoft Inc. Self-paced courses FREE! Up to date! Videos, Presentation & DIY Where to start? 17
  • 18. All contents © MuleSoft Inc. Warsaw MuleSoft Meetup Group 18 • https://tinyurl.com/warsaw-group • On MuleSoft Help center • Why? – Suggest topics – Discuss event’s topics – Discuss anything you like – Ask questions – See updates regarding our group! Register today 
  • 19. All contents © MuleSoft Inc. Kahoot! 19 • Interactive quizes/surveys • From the web browser • Visit the page kahoot.it and provide • PIN number • Your nick
  • 20. All contents © MuleSoft Inc. Agenda 20 1. API Manager Policies 1. Policy types 2. Policy categories 3. Policy level 2. Managing default policies 3. Guidelines for using policies
  • 21. All contents © MuleSoft Inc. API Manager Policies 21 Policies enable you to enforce regulations to help manage security, control traffic and improve adaptability of your APIs. What is quite important you can implement policies with no modification to the code implementation. Mulesoft provides ready-to-use default policies that are shipped with the product. Policies differ based on several different factors, such as category, purpose, version, and configuration options.
  • 22. All contents © MuleSoft Inc. API Manager Policies 22
  • 23. All contents © MuleSoft Inc. Policy types 23 Main types of policies: • Default Policies - ready-to-use policies provided by MuleSoft • Automated Policies – applied on all APIs automaticly • Custom Policies – policies you need to implement – Online Custom Policies – Offline Custom Policies
  • 24. All contents © MuleSoft Inc. Policy categories 24 The following table lists default policies by its category and the function it performs: • Security • Compliance • Transformation • Troubleshooting • Quality of Service
  • 25. All contents © MuleSoft Inc. Policy categories - Security 25 • Basic Authentication - authenticates the LDAP credentials or single user password. • IP Blacklist - blocks a range of IP addresses. • IP Whitelist - allows access from only a preapproved range of IP addresses. • JSON Threat Protection - protects against a malicious JSON structure in API requests. • XML Threat Protection - protects against malicious XML elements in API requests.
  • 26. All contents © MuleSoft Inc. Policy categories - Security 26 • JWT - validates a JWT token. • OAuth 2.0 access token - enforces token access using the MuleSoft OAuth Provider policy. • OpenAM Access Token Enforcement - restricts access to a protected resource using an Open AM authentication server. • PingFederate Access Token Enforcement - restricts access to a protected resource using the PingFederate authentication server. • Tokenization - transforms sensitive data into nonsensitive equivalent tokens. • Detokenization - transforms a tokenized value back to the original data.
  • 27. All contents © MuleSoft Inc. Policy categories – Compliance and Transformation 27 Compliance • Client ID Enforcement - allows access to client applications with a valid client credentials. • CORS - enables calls executed in a web page to interact with resources from different domains. Transformation • Header Injection - adds headers to the request or response message of a policy. • Header Removal - removes headers from the request or response message of a policy.
  • 28. All contents © MuleSoft Inc. Policy categories - Quality of Service and Troubleshooting 28 QoS • HTTP Caching - stores HTTP responses from an API implementation. • Rate Limiting - enables imposing a limit on the number of requests that an API can accept within a specified time. • Rate Limiting, SLA-Based - enables imposing an API request limit based on SLA tiers. • Spike Control - controls API traffic. Troubleshooting • Message Logging - logs a custom message when an API is invoked.
  • 29. All contents © MuleSoft Inc. Policy level 29 Policies are by default applied to the entire API. Policies which implement an additional level of policy granularity are called resource-level policies. At the resource level of granularity, policies are applied to only those requests that match the criteria. All policies, except the Cross-Origin Resource Sharing (CORS) policy can be used are resource-level.
  • 30. All contents © MuleSoft Inc. Managing default policies 30 • Applying policy in API Manager • Ordering of policies – CORS exception • Disabling policies
  • 31. All contents © MuleSoft Inc. Guidelines for using policies 31 • When designing System API you may consider using: – IP whitelisting – IP address range of implementation of Process APIs – SLA based Rate Limiting – rejects requests when troughput has been reached – Spike Control – to protect backend systems • When designing Process API you may consider using: – IP whitelisting – IP address range of implementation of Process and Experience APIs – Client ID enforcement – identity of API clients is always known – SLA based Rate Limiting - rejects requests when troughput has been reached – Spike Control – to protect backend systems
  • 32. All contents © MuleSoft Inc. Guidelines for using policies 32 • When designing Experience API you may consider using: – IP whitelisting – IP address of the Aggregator to complement TLS mutual authentication – JSON/XML Threat Protection – secure your API – SLA based Rate Limiting - rejects requests when troughput has been reached – Avoid using Spike Control – use queuing instead
  • 33. All contents © MuleSoft Inc. Guidelines for using policies 33 • Use API Manager Alerts to detect policy violations. • Keep correct order of policies, CORS, Certificate Validation, JSON Threat Protection should be executed first. • Use resource-level policies when: – Securing a subset of an API is required – Setting different limits on resources is needed • Use Visualizer to monitor policies
  • 35. All contents © MuleSoft Inc. Agenda 35 1. Develop from the scratch? – Policy source code by Mulesoft – Customize policy provided by Mulesoft – Tests 2. Custom policy development and deployment – Required configuration – Custom Policy Archetype – “Hello world” policy deployment – Custom development and deployment – Tests
  • 36. All contents © MuleSoft Inc. Policy source code - how to download it? 36 1. Go to your Anypoint Studio installation directory 2. <AnypointStudio_home>/plugins/org.tooling.server<your.server.version>/mule/policies 3. Source jars are in policy-templates
  • 37. All contents © MuleSoft Inc. Policy source code - yaml 37 https://docs.mulesoft.com/api-manager/2.x/custom-policy-4-reference#yaml-configuration-file
  • 38. All contents © MuleSoft Inc. Policy customization 38
  • 39. All contents © MuleSoft Inc. Policy customization 39
  • 40. All contents © MuleSoft Inc. Policy customization 40
  • 41. All contents © MuleSoft Inc. Policy customization 41 DEMO
  • 42. All contents © MuleSoft Inc. Policy customization 42 DEMO
  • 43. All contents © MuleSoft Inc. Policy customization 43 DEMO
  • 44. All contents © MuleSoft Inc. Policy customization 44
  • 45. All contents © MuleSoft Inc. Custom development 45 https://docs.mulesoft.com/api-manager/2.x/policies-custom-landing-page
  • 46. All contents © MuleSoft Inc. Custom development - archetype-repository 46
  • 47. All contents © MuleSoft Inc. Custom development - generate project 47
  • 48. All contents © MuleSoft Inc. Custom development - generate project 48 DEMO Hello World demo plan: 1. Generate the policy from maven archetype 2. Discuss the generated content a. yaml b. template.xml c. pom.xml 3. Deployment 4. Tests a. GET /api/resource1 without policy applied b. GET /api/resource1 with policy applied
  • 49. All contents © MuleSoft Inc. Custom development - generate project 49 DEMO
  • 50. All contents © MuleSoft Inc. Custom development - yaml and template 50 DEMO
  • 51. All contents © MuleSoft Inc. Custom development - packaging 51 DEMO
  • 52. All contents © MuleSoft Inc. Custom development - deploy configuration 52 DEMO
  • 53. All contents © MuleSoft Inc. Custom development - deploy 53 DEMO
  • 54. All contents © MuleSoft Inc. Custom development - uploaded to Exchange 54 DEMO
  • 55. All contents © MuleSoft Inc. Custom development - policy unapplied 55 DEMO implementation of /api/resource1 no Payload manipulation
  • 56. All contents © MuleSoft Inc. Custom development - available in API Manager 56 DEMO
  • 57. All contents © MuleSoft Inc. Custom development - working policy 57 DEMO
  • 58. All contents © MuleSoft Inc. Custom development - HMAC Data Integrity 58 DEMO HMAC Signature Validation demo plan: 1. Generate the policy from maven archetype 2. Development (yaml, template.xml from code snippet) 3. Deployment 4. Policy configuration in API Manager (signature source, secretKey, errorStatusCode) 5. Tests a. POST /api/resource2 without policy applied b. POST /api/resource2 with policy applied
  • 59. All contents © MuleSoft Inc. Custom development - HMAC Data Integrity 59 DEMO1. Generate the template from maven archetype 2. Develop your policy:
  • 60. All contents © MuleSoft Inc. Custom development - HMAC Data Integrity 60 DEMO 1. Check it in Exchange: 2. Check it in API Manager:
  • 61. All contents © MuleSoft Inc. Custom development - HMAC Data Integrity 61 DEMO
  • 62. All contents © MuleSoft Inc. Custom development - HMAC Data Integrity 62 DEMO
  • 63. All contents © MuleSoft Inc. Summary 63 • Working with policies don’t require a lot of secret knowledge, because the provided documentation answers most of the questions • Sometimes the power of Dataweave 2.0 is enough to reuse the out-of-the- box provided policy in customized way • Custom policies makes the Anypoint Platform more adjusted to your organization needs • Personally, I like this concept and see the huge value from maintenance perspective, especially in combine with Automated Policy appliance
  • 65. QUIZ
  • 66. All contents © MuleSoft Inc. Voucher for online training & exam Wireless mouse Mi Band 4 Bag MuleSoft & PWC lanyard Prizes Requirement: the contestant/winner must have Polish address
  • 67. All contents © MuleSoft Inc. Let’s get familiar with the Kahoot by a quick 4 questions warm up Kahoot warmup! Requirement: Players with polish address add PL to the nick name Example: Cool Guy PL
  • 68. All contents © MuleSoft Inc. Who are the three lucky winners? Is it you? Trivia quiz Requirement: Players with polish address add PL to the nick name Example: Cool Guy PL Requirement: the contestant/winner must have Polish address
  • 69. All contents © MuleSoft Inc. What’s next 69 • Feedback: – Contact your organizer Patryk Bandurski via patryk.bandurski@gmail.com or LinkedIn profile to suggest topics – Contact MuleSoft at meetup@mulesoft.com for ways to improve the program • Our next meetup: – Date: August 2020 – Topic: not known yet. Volunteer … I volunteer as Speaker 
  • 70. All contents © MuleSoft Inc. What’s next 70 Invite your network to join – https://meetups.mulesoft.com/warsaw/
  • 72. See you next time