[22nd May 2021]
Bangalore MuleSoft Meetup Group
2
 6:00PM - 6:15 PM : Short Introductions
 6:15PM - 7:00 PM : Building a Custom Connector with XML SDK by Venkat
 7:00PM – 7:45PM : Basic Auth without using API Manager in Mule4 by Ritika
 7:45PM - 8:15PM : Q&A session
 8:15 PM- 8:30PM : Trivia Quiz
 8:30 PM : Wrap up of the Event
Agenda
3
Introductions
4
 Extend your certification status and keep your MuleSoft skills up-to-date.
 Select MuleSoft Certifications are now eligible for the Certification Maintenance process, which provides
you with the ability to take a short maintenance exam to extend your certification and continue to
showcase your expertise to the market.
 However, through May 31, 2021, we are extending the Certification Maintenance process to anyone who
holds one of the below certifications — even if it is invalid and past the expiry date. After May 31, 2021,
an expired certification can only be renewed by taking the full Certification exam.
The following Certification Maintenance exams are available:
MuleSoft Certified Developer - Level 1 (Mule 4) - use code CERT-MAINTENANCE-MCD at check out
MuleSoft Certified Platform Architect - Level 1 - use code CERT-MAINTENANCE-MCPA at check out
MuleSoft Certified Integration Architect - Level 1 - use code CERT-MAINTENANCE-MCIA at check out
Certification Maintenance
5
CHEERS..!!
5
We have prizes to give away!
As a Token for your Positive Participation and Enthusiasm
6
Objective
The Objective of today’s Webinar is to
• How to use Mule SDK for building customer connectors.
• Discuss Basic Auth without using API Manager for Mulesoft Projects
Mulesoft SDK- Custom Connector
Agenda
● What is Mule Connector?
● What is Custom Connector and why?
● What is mule XML SDK?
● Steps to Create a Connector
What is Mule Connector?
● A connector is software that provides a connection between a Mule flow and an external
resource(third-party systems and APIs).
9
What is Custom Connector and why?
● Custom Connector are reusable components that hide API complexity from the integration
developer.
● Custom connectors facilitate integration with SaaS and on-premise Web services,
applications.
What is mule XML SDK?
● The new XML SDK is one of the easiest ways to write code for a custom connector with
MuleSoft. Creating a custom module in Mule XML SDK is similar to creating a Mule
application.
● XML SDK is easier to build compared to the existing JAVA Mule SDK.
Steps to Create a Connector
● XML SDK Basics:
● Operations.
● Parameters.
● mvn archetype:generate
10
-DarchetypeGroupId=org.mule.extensions
-DarchetypeArtifactId=mule-extensions-xml-archetype
-DarchetypeVersion=1.2.0
-DgroupId=org.mule.extension
-DartifactId=sample-connector-extension
-Dpackage=mule-module
-Dversion=1.0.0-SNAPSHOT
-DextensionName=”Sample Connector”
Continued..
● archetypeGroupId -> the groupId in the Mule repository where the skeleton
for the XML SDK is defined
● archetypeArtifactId -> the artifact id of the archetype under this repository
● archetypeVersion -> the version of the mule-extensions-xml-archetype
● groupId -> the group ID for the module that you are creating
● artifactId -> the artifact ID for your custom module
● Package -> the package under which you want to build your application
● Version -> the version of your custom module
● extensionName -> the name of your custom module
11
Implementation of custom connector
● Demo
12
Basic Auth without using API
Manager in Mule 4
Agenda
1
4
 What is Basic Security
 What is Authorization filter
 How is it different from API Management Policies
 Custom Roles and users
 Demo
 Q&A
What is Basic Security
• Basic Security is an authentication system built into the HTTP protocol
• Till Basic Security all incoming requests will be validated for the
username-password combination
• Designed to let you manage security of applications through user
credentials.
What is Authorization Filter
• Role based validation will be done at Authorization filter level and
Authorize users against a required set of authorities.
• Spring module configuration - Spring Config and Spring Security
manager, to provide name and delegate reference.
• Designed to let you manage security of applications through user’s role
based on Spring Module.
• Provides double security at application level
How is it different from Basic Auth- API Manager
• API Manager is not required for primary authentication mechanism.
• Mulesoft may work as secure passthrough
• No Client creation or token generation required
• Cost effective way for basic authentication
Q&A
All contents © MuleSoft Inc.
Quiz
15
Trivia Quiz #1
20
what kind of operations xml sdk provides?
A) Inbound Operations
B) Outbound Operations
C) Both Of them
D) None Of them
Trivia Quiz #2
21
Under operations tag which are the important tags available?
A) i. Parameters. ii. Body iii. Output iV. Error
B) i. Parameters. ii. Body
C) i. Parameters. ii. Body iii. Output
D) i. Parameters. ii Output
Trivia Quiz #3
22
Can we provide multiple roles in general required authorities for Authorization
filter?
A. Yes
B. No
Trivia Quiz #4 (optional in case of tie)
Where do you give the bean file configuration?
A) Spring Config
B) Xml definition
C) Releases.yaml
D) Pom.xml
23
Congratulations
● Congratulation to all the winners of the
Quiz
● Remember to send your email
address to the organizer via chat
window!
24
25
● Share:
○ Tweet using the hashtag #MuleSoftMeetups
○ Invite your network to join: https://meetups.mulesoft.com/bangalore/
● Feedback:
○ Fill out the survey feedback and suggest topics for upcoming events
○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program
What’s next?
See you next time

Meetup bangalore-may22nd2021

  • 1.
    [22nd May 2021] BangaloreMuleSoft Meetup Group
  • 2.
    2  6:00PM -6:15 PM : Short Introductions  6:15PM - 7:00 PM : Building a Custom Connector with XML SDK by Venkat  7:00PM – 7:45PM : Basic Auth without using API Manager in Mule4 by Ritika  7:45PM - 8:15PM : Q&A session  8:15 PM- 8:30PM : Trivia Quiz  8:30 PM : Wrap up of the Event Agenda
  • 3.
  • 4.
    4  Extend yourcertification status and keep your MuleSoft skills up-to-date.  Select MuleSoft Certifications are now eligible for the Certification Maintenance process, which provides you with the ability to take a short maintenance exam to extend your certification and continue to showcase your expertise to the market.  However, through May 31, 2021, we are extending the Certification Maintenance process to anyone who holds one of the below certifications — even if it is invalid and past the expiry date. After May 31, 2021, an expired certification can only be renewed by taking the full Certification exam. The following Certification Maintenance exams are available: MuleSoft Certified Developer - Level 1 (Mule 4) - use code CERT-MAINTENANCE-MCD at check out MuleSoft Certified Platform Architect - Level 1 - use code CERT-MAINTENANCE-MCPA at check out MuleSoft Certified Integration Architect - Level 1 - use code CERT-MAINTENANCE-MCIA at check out Certification Maintenance
  • 5.
    5 CHEERS..!! 5 We have prizesto give away! As a Token for your Positive Participation and Enthusiasm
  • 6.
    6 Objective The Objective oftoday’s Webinar is to • How to use Mule SDK for building customer connectors. • Discuss Basic Auth without using API Manager for Mulesoft Projects
  • 7.
  • 8.
    Agenda ● What isMule Connector? ● What is Custom Connector and why? ● What is mule XML SDK? ● Steps to Create a Connector
  • 9.
    What is MuleConnector? ● A connector is software that provides a connection between a Mule flow and an external resource(third-party systems and APIs). 9 What is Custom Connector and why? ● Custom Connector are reusable components that hide API complexity from the integration developer. ● Custom connectors facilitate integration with SaaS and on-premise Web services, applications. What is mule XML SDK? ● The new XML SDK is one of the easiest ways to write code for a custom connector with MuleSoft. Creating a custom module in Mule XML SDK is similar to creating a Mule application. ● XML SDK is easier to build compared to the existing JAVA Mule SDK.
  • 10.
    Steps to Createa Connector ● XML SDK Basics: ● Operations. ● Parameters. ● mvn archetype:generate 10 -DarchetypeGroupId=org.mule.extensions -DarchetypeArtifactId=mule-extensions-xml-archetype -DarchetypeVersion=1.2.0 -DgroupId=org.mule.extension -DartifactId=sample-connector-extension -Dpackage=mule-module -Dversion=1.0.0-SNAPSHOT -DextensionName=”Sample Connector”
  • 11.
    Continued.. ● archetypeGroupId ->the groupId in the Mule repository where the skeleton for the XML SDK is defined ● archetypeArtifactId -> the artifact id of the archetype under this repository ● archetypeVersion -> the version of the mule-extensions-xml-archetype ● groupId -> the group ID for the module that you are creating ● artifactId -> the artifact ID for your custom module ● Package -> the package under which you want to build your application ● Version -> the version of your custom module ● extensionName -> the name of your custom module 11
  • 12.
    Implementation of customconnector ● Demo 12
  • 13.
    Basic Auth withoutusing API Manager in Mule 4
  • 14.
    Agenda 1 4  What isBasic Security  What is Authorization filter  How is it different from API Management Policies  Custom Roles and users  Demo  Q&A
  • 15.
    What is BasicSecurity • Basic Security is an authentication system built into the HTTP protocol • Till Basic Security all incoming requests will be validated for the username-password combination • Designed to let you manage security of applications through user credentials.
  • 16.
    What is AuthorizationFilter • Role based validation will be done at Authorization filter level and Authorize users against a required set of authorities. • Spring module configuration - Spring Config and Spring Security manager, to provide name and delegate reference. • Designed to let you manage security of applications through user’s role based on Spring Module. • Provides double security at application level
  • 17.
    How is itdifferent from Basic Auth- API Manager • API Manager is not required for primary authentication mechanism. • Mulesoft may work as secure passthrough • No Client creation or token generation required • Cost effective way for basic authentication
  • 18.
  • 19.
    All contents ©MuleSoft Inc. Quiz 15
  • 20.
    Trivia Quiz #1 20 whatkind of operations xml sdk provides? A) Inbound Operations B) Outbound Operations C) Both Of them D) None Of them
  • 21.
    Trivia Quiz #2 21 Underoperations tag which are the important tags available? A) i. Parameters. ii. Body iii. Output iV. Error B) i. Parameters. ii. Body C) i. Parameters. ii. Body iii. Output D) i. Parameters. ii Output
  • 22.
    Trivia Quiz #3 22 Canwe provide multiple roles in general required authorities for Authorization filter? A. Yes B. No
  • 23.
    Trivia Quiz #4(optional in case of tie) Where do you give the bean file configuration? A) Spring Config B) Xml definition C) Releases.yaml D) Pom.xml 23
  • 24.
    Congratulations ● Congratulation toall the winners of the Quiz ● Remember to send your email address to the organizer via chat window! 24
  • 25.
    25 ● Share: ○ Tweetusing the hashtag #MuleSoftMeetups ○ Invite your network to join: https://meetups.mulesoft.com/bangalore/ ● Feedback: ○ Fill out the survey feedback and suggest topics for upcoming events ○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program What’s next?
  • 26.