pre-con ed: workshop on policy creation, management and support for oauth and oidc

23
World ® ’1 6 Workshop on Policy Creation and Management Ola Mogstad Director, Software Engineering CA Technologies DO3X51E DEVOPS

Upload: ca-technologies

Post on 15-Apr-2017

132 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

World®’16

WorkshoponPolicyCreationandManagementOlaMogstadDirector,SoftwareEngineeringCATechnologies

DO3X51E

DEVOPS

Page 2: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

Page 3: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

ThisworkshopwilldiveintosomeofthemanycapabilitiesoftheCAAPIGatewayandintroducetheaudiencetotheGateway’sownconfigurationpolicylanguage.

Thespeakerswillwalkyouthroughsomefundamentaltopicssuchasthebasicsofpolicy,policycreation,andpolicymanagement– butwillalsotransitionintomoreadvancedusecasessuchasleveragingexternalAPIsandexistingauthorizationstandardslikeOAuth andOpenIDConnect.

OlaMogstad

Director,SoftwareEngineeringCATechnologies

Page 4: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Sascha PreibischPrincipalSoftwareArchitect

DeveloperProductsVancouver,BC@nascarlogin

OlaMogstadDirector,SoftwareEngineering

DeveloperProductsVancouver,BC@OlaMogstad

AboutUs

Page 5: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

RecommendedSessions

SESSION# TITLE DATE/TIME

DO3X50ECAMobileAPIGateway(MAG):HowtoProvideYourMobileUserWithaConvenient,YetSecure,OnboardingExperienceThroughOAuth andSAML

11/14/2016at4:00pm

DO3X40ECAAPIDeveloperPortal:PolicyWritingforthePortalusingthenewContextVariablesandAPIKeyCustomFields

11/15/2016at9:00am

Page 6: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

WHATISTHECAAPIGATEWAY?

INTRODUCTIONTOPOLICY

CREATINGANDMANAGINGPOLICY

SOMESIMPLEEXAMPLES

INTEGRATINGAPISWITHOAUTH

1

2

3

4

5

BONUSMATERIAL6

Page 7: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TheCAAPIGateway

CorporateNetwork

Servers

Data

Identities

Page 8: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TheCAAPIGateway

CorporateNetwork

Servers

Data

Identities

APIGateway

DMZ

Page 9: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TheCAAPIGateway

CorporateNetwork

Servers

Data

Identities

APIGateway

DMZ

Message TransformationThreatProtection

PolicyEnforcement

ServiceOrchestration

Encryption&Decryption

Page 10: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TheCAAPIGateway

Page 11: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TheCAAPIGateway

Page 12: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

WhatisPolicy?

§ TheGatewayishighlyconfigurable

§ Policy“tellsitwhattodo”

§ Assertionsarecodemodulesthatdospecificthings

§ Request->Response

Page 13: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

PolicyisactuallyXML

Page 14: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Assertionsarethebuildingblocksofpolicies

§ Everythinginapolicyisanassertion

§ Someincludedoutofthebox

§ CustomassertionSDK

§ Powerfulassertionscanbeverysimple

Page 15: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Policiescangetprettysophisticated

§ Conditionallogicthatmimicif/elsebehavior

§ Reusablesnippetscalledfragments

§ Policy-backedassertionscalledencapsulatedassertions

Page 16: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Whathappenshere?

Page 17: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Performanceiscritical

§ Withpowercomesresponsibility

§ A“perrequest”mindset

§ Doingversuswaiting– Policyexecution– Networklatency– Backendlatency

§ Caching

Page 18: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Policylife-cyclebecomesimportant

§ “Treatpolicylikecode”

§ Migrationandenvironment-specificconfiguration– ToolinglikeRESTMANandGMU/CMT

§ Engineeringbestpractices– Modularity,separationofconcerns– Comments

§ RBACandSecurityZones

Page 19: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

OAuthandOIDC

§ Authorization

§ “Canyoudothis?”

§ Delegatelimitedaccesstothirdparties

§ Usesredirection

§ Pre-definedproviders

§ Authentication

§ “Whoareyou?”

§ Leveragingexistinguseraccountswiththirdparties

§ Usesredirection

§ Autodiscovery

OAuth2.0 OpenIDConnect

Page 20: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAAPIGatewayOAuthToolkit

§ GatewayextensiontosupportOAuth1.0,OAuth2.0,andOIDC

§ Implementedlargelyinpolicy

§ Highlycustomizableandmodular

Page 21: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?

Page 22: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Stayconnectedatcommunities.ca.com

Thankyou.

Page 23: Pre-Con Ed: Workshop on Policy Creation, Management and Support for OAuth and OIDC

@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.23 @CAWORLD#CAWORLD

DevOps– APIManagementandApplicationDevelopment

FormoreinformationonDevOps– APIManagementandApplicationDevelopment,pleasevisit:http://cainc.to/DL8ozQ