Version 1.0
October 10, 2018
Security as a Service
How Your Spring Apps Can
Benefit From Cloud Foundry
Cover w/ Image
Agenda
■ What does the Cloud Foundry platform
provide for my apps?
■ What is OAuth and OIDC?
■ How can I use it?
■ What is Credhub?
■ How can I use it?
Cloud Foundry 💚 Spring
How does the platform benefit my apps?
A platform for running your apps...
BOSH
AWS Azure GCP On-Prem
VM VM VMVM VM VM VM
IaaS
PaaS
Appscf push
Routing CAPI UAA ...Diego
App
● Buildpacks
● Routing
● Scaling
● Monitoring
● Backup and Restore
● Services Marketplace● Services Marketplace
● Security Services for App
○ UAA (SSO)
Identity as a Service
○ Credhub
Credential
Management
A platform with security services for your apps...
BOSH
AWS Azure GCP On-Prem
VM VM VMVM VM VM VM
IaaS
PaaS
Appscf push
Routing CAPI UAA ...Diego
App
Security services to help you build your apps...
cf push
AppsApp
PaaSCredhubUAA
● Identity Proxy
● User AuthN/AuthZ
● Service-to-Service
Authn/AuthZ
● Credential Generation
● Credential Storage
● Credential Rotation
Cloud Native Protocols
What is OAuth? I’ll do you one better: Why is OAuth?
SAML
LDAP
Authorization
Server
Client Resource
Server
Resource
Server
OAuth 2.0 (Authorization) - Access Token
OpenID Connect (Authentication) - ID Token
Resource
Owner
What’s a Token Look Like?
JSON Web Token (JWT)Bearer Token
What’s a Token Look Like?
Authentication Method (“External”)
External User Attributes
External Groups
What’s a Token Look Like?
Scopes for Role Based Access Control
User allowed to have scope (UAA group)
Client allowed to have scope (client config)
User consented client can use scope (to
prevent malicious apps)
Client Resource
Servers
(Anywhere)
Authorization
Server
Resource
Server
Clients
(Anywhere)
Authorization
Server
Authorization
Server
Client Resource
Servers
as892jd
as892jd
Authorization Code Grant Flow (UI Flow)
Super Secure Back Channel Tokens
as892jd
Authorization
Server
Client Resource
Servers
Implicit Grant Flow (UI Flow)
Front end only (Single Page App) / short lifetime
Authorization
Server
Client Resource
Servers
Password Grant Flow (Non-Browser Flow)
Trusted Native Apps - CLIs or Mobile
Authorization
Server
Client Resource
Servers
Client Credential Grant Flow (Non-User Flow)
Apps on behalf of itself
Clients can be
configured with
scopes as authorities
for RBAC
RBAC
Authorization
Server
Client or
Resource
Server
Resource
Servers
Token Exchange
SAML or JWT from external identity providers
External
Identity
Provider
Authorization
Server
Resource
Server
Resource
Servers
Token Passing
Not Even A Grant Flow - But Be Careful
UAA and PCF SSO
Identity as a Service
Official Identity Provider of Cloud
Foundry, BOSH, OpsManager, PAS,
PKS, and more
Production proven at scales of over
2 million tokens per day
UAA
Cloud
Foundry
and PCF
LDAP
Lightweight
Directory Access
Protocol
OpenID Connect
UAA
SAML
Powered by
UAA
BOSH
OpsMan
PKS
Identity Service Broker,
Identity Sample Apps,
and Spring SSO Connector
Beyond UAA and into the customer
experience
Starting with Spring Boot for Java &
SteelToe for .NET
SSO
Pivotal SSO
Service
Customer
Applications
Enterprise/
Internal
Applications
Mobile
Applications
LDAP
Lightweight
Directory Access
Protocol
OpenID
Connect
OpenID Connect
UAA
SAML
SSO Operator Dashboard - Identity Providers
SSO Integration Guides
SSO Identity
Service Broker
Spring
SSO
Connector
Frameworks like
Spring Boot /
SteelToe
(Not Owned by Team)
Identity Sample
Apps
Operator App Developer
We become both a bridge and a buffer between the old world and
the new world
SSO Developer Dashboard -
Apps and Resources
Powered by
UAA
Demo
UAA and SSO
Credhub
RRR Matey - Rotate, Repave, Repair
What is Credhub?
How does it work?
Credential Generation
Credential Storage
Credential Rotation
Credential Usage
Spring CredHub provides client-side support for storing, retrieving, and deleting credentials from a CredHub
server running in a Cloud Foundry platform.
The CredHubTemplate is used to interact with CredHub, typically used through its CredHubOperations
interface.
Demo
Credhub
Transforming How The World Builds Software
© Copyright 2018 Pivotal Software, Inc. All rights Reserved.

More Related Content

PDF
Como construir suas aplicações escaláveis sem servidores
PPT
AlertSite Slideshow for the Booth at Web 2.0 Expo 2009
PDF
[API World ] - Managing Asynchronous APIs
PDF
When and Why Would I use Oauth2?
PPTX
Saml vs Oauth : Which one should I use?
PPTX
Session 3c The SF SaaS Framework
PPTX
Azure AD B2C Webinar Series: Identity Protocols OIDC and OAuth2 part 2
PDF
SAML and Liferay
Como construir suas aplicações escaláveis sem servidores
AlertSite Slideshow for the Booth at Web 2.0 Expo 2009
[API World ] - Managing Asynchronous APIs
When and Why Would I use Oauth2?
Saml vs Oauth : Which one should I use?
Session 3c The SF SaaS Framework
Azure AD B2C Webinar Series: Identity Protocols OIDC and OAuth2 part 2
SAML and Liferay

What's hot (20)

PPTX
SSO IN/With Drupal and Identitiy Management
PPTX
IdP, SAML, OAuth
PDF
Gravitee.io
PPTX
Server to Server API Security
PPTX
Triangle Node Meetup : APIs in Minutes with Node.js
PPTX
SAML Smackdown
PDF
The Ultimate Guide to Mobile API Security
PDF
How APIs Can Be Secured in Mobile Environments
PDF
CIS14: Best Practices You Must Apply to Secure Your APIs
PDF
[WSO2Con EU 2017] Ballerina Connectors for Seamless Integration
PDF
PDF
Android & Monkey Web Services
PDF
Getting Started with the Node.js LoopBack APi Framework
PPTX
REST API Security: OAuth 2.0, JWTs, and More!
PDF
SSO using CAS + two-factor authentication (PyGrunn 2014 talk)
PDF
Single sign on using SAML
PDF
Open source wso2 identity server sso with drupal 8
PDF
Colabora.dk - Azure PTA vs ADFS vs Desktop SSO
PPTX
Cloud Management Gateway Architecture (CMG) – Modern device management
PDF
CIS14: Early Peek at PingFederate Administrative REST API
SSO IN/With Drupal and Identitiy Management
IdP, SAML, OAuth
Gravitee.io
Server to Server API Security
Triangle Node Meetup : APIs in Minutes with Node.js
SAML Smackdown
The Ultimate Guide to Mobile API Security
How APIs Can Be Secured in Mobile Environments
CIS14: Best Practices You Must Apply to Secure Your APIs
[WSO2Con EU 2017] Ballerina Connectors for Seamless Integration
Android & Monkey Web Services
Getting Started with the Node.js LoopBack APi Framework
REST API Security: OAuth 2.0, JWTs, and More!
SSO using CAS + two-factor authentication (PyGrunn 2014 talk)
Single sign on using SAML
Open source wso2 identity server sso with drupal 8
Colabora.dk - Azure PTA vs ADFS vs Desktop SSO
Cloud Management Gateway Architecture (CMG) – Modern device management
CIS14: Early Peek at PingFederate Administrative REST API
Ad

Similar to Security as a Service - Tian Wang (20)

PPTX
Microservices security - jpmc tech fest 2018
PPTX
CTU June 2011 - Windows Azure App Fabric
PPTX
Azure Active Directory - An Introduction for Developers
PPTX
Enabling Cloud Native Security with OAuth2 and Multi-Tenant UAA
PDF
Cloud APIs Overview Tucker
PPTX
2014 q3-platform-update-v1.06.johnmathon
PDF
WSO2Con EU 2015: Securing, Monitoring and Monetizing APIs
ODP
Cloud Computing & Sun Vision 03262009
PDF
Serverless Meetup - Getting started with AWS Cognito [Jul 2020]
PPT
WOLF presentation at OCC Bangalore Business Meet
PDF
Leveraging New Features in CA Single-Sign on to Enable Web Services, Social S...
PDF
CIS 2015 Practical Deployments Enterprise Cloud Access Management Platform - ...
PPTX
Developing and deploying Identity-enabled applications for the cloud
PDF
AWSome Day Philippines Keynote 2015
PPTX
Migrate a on-prem platform to the public cloud with Java - SpringBoot and PCF
PPTX
Windows Azure AppFabric
PDF
Trusted by Default: The Forge Security & Privacy Model
PPTX
Azure Overview Csco
PDF
DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben L...
PPT
Managing Software from Development to Deployment in the Cloud
Microservices security - jpmc tech fest 2018
CTU June 2011 - Windows Azure App Fabric
Azure Active Directory - An Introduction for Developers
Enabling Cloud Native Security with OAuth2 and Multi-Tenant UAA
Cloud APIs Overview Tucker
2014 q3-platform-update-v1.06.johnmathon
WSO2Con EU 2015: Securing, Monitoring and Monetizing APIs
Cloud Computing & Sun Vision 03262009
Serverless Meetup - Getting started with AWS Cognito [Jul 2020]
WOLF presentation at OCC Bangalore Business Meet
Leveraging New Features in CA Single-Sign on to Enable Web Services, Social S...
CIS 2015 Practical Deployments Enterprise Cloud Access Management Platform - ...
Developing and deploying Identity-enabled applications for the cloud
AWSome Day Philippines Keynote 2015
Migrate a on-prem platform to the public cloud with Java - SpringBoot and PCF
Windows Azure AppFabric
Trusted by Default: The Forge Security & Privacy Model
Azure Overview Csco
DataStax | DSE Production-Certified Cassandra on Pivotal Cloud Foundry (Ben L...
Managing Software from Development to Deployment in the Cloud
Ad

More from VMware Tanzu (20)

PDF
Spring into AI presented by Dan Vega 5/14
PDF
What AI Means For Your Product Strategy And What To Do About It
PDF
Make the Right Thing the Obvious Thing at Cardinal Health 2023
PPTX
Enhancing DevEx and Simplifying Operations at Scale
PDF
Spring Update | July 2023
PPTX
Platforms, Platform Engineering, & Platform as a Product
PPTX
Building Cloud Ready Apps
PDF
Spring Boot 3 And Beyond
PDF
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
PDF
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
PDF
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
PPTX
tanzu_developer_connect.pptx
PDF
Tanzu Virtual Developer Connect Workshop - French
PDF
Tanzu Developer Connect Workshop - English
PDF
Virtual Developer Connect Workshop - English
PDF
Tanzu Developer Connect - French
PDF
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
PDF
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
PDF
SpringOne Tour: The Influential Software Engineer
PDF
SpringOne Tour: Domain-Driven Design: Theory vs Practice
Spring into AI presented by Dan Vega 5/14
What AI Means For Your Product Strategy And What To Do About It
Make the Right Thing the Obvious Thing at Cardinal Health 2023
Enhancing DevEx and Simplifying Operations at Scale
Spring Update | July 2023
Platforms, Platform Engineering, & Platform as a Product
Building Cloud Ready Apps
Spring Boot 3 And Beyond
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
tanzu_developer_connect.pptx
Tanzu Virtual Developer Connect Workshop - French
Tanzu Developer Connect Workshop - English
Virtual Developer Connect Workshop - English
Tanzu Developer Connect - French
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
SpringOne Tour: The Influential Software Engineer
SpringOne Tour: Domain-Driven Design: Theory vs Practice

Recently uploaded (20)

PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PDF
Website Design Services for Small Businesses.pdf
PPTX
Monitoring Stack: Grafana, Loki & Promtail
PPTX
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
PPTX
Introduction to Windows Operating System
PDF
Types of Token_ From Utility to Security.pdf
PDF
Wondershare Recoverit Full Crack New Version (Latest 2025)
PPTX
Patient Appointment Booking in Odoo with online payment
PPTX
Computer Software and OS of computer science of grade 11.pptx
PPTX
Weekly report ppt - harsh dattuprasad patel.pptx
PDF
Topaz Photo AI Crack New Download (Latest 2025)
PDF
CCleaner 6.39.11548 Crack 2025 License Key
PDF
Microsoft Office 365 Crack Download Free
PDF
iTop VPN Crack Latest Version Full Key 2025
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PPTX
assetexplorer- product-overview - presentation
PDF
How Tridens DevSecOps Ensures Compliance, Security, and Agility
PDF
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
Website Design Services for Small Businesses.pdf
Monitoring Stack: Grafana, Loki & Promtail
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
Introduction to Windows Operating System
Types of Token_ From Utility to Security.pdf
Wondershare Recoverit Full Crack New Version (Latest 2025)
Patient Appointment Booking in Odoo with online payment
Computer Software and OS of computer science of grade 11.pptx
Weekly report ppt - harsh dattuprasad patel.pptx
Topaz Photo AI Crack New Download (Latest 2025)
CCleaner 6.39.11548 Crack 2025 License Key
Microsoft Office 365 Crack Download Free
iTop VPN Crack Latest Version Full Key 2025
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
Advanced SystemCare Ultimate Crack + Portable (2025)
assetexplorer- product-overview - presentation
How Tridens DevSecOps Ensures Compliance, Security, and Agility
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx

Security as a Service - Tian Wang