wso2con eu 2016: wso2 app manager: managing application lifecycles across your enterprise

58
WSO2 App Manager: Managing Applica2on Lifecycles Across Your Enterprise Sumedha Rubasinghe Director - API Architecture WSO2

Upload: wso2-inc

Post on 13-Feb-2017

149 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

WSO2AppManager:ManagingApplica2onLifecyclesAcrossYourEnterprise

SumedhaRubasingheDirector-APIArchitectureWSO2

Page 2: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

IamSirifromWSO2Salesteam.

Page 3: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

IamSirifromWSO2Salesteam.

Username,enterpriseidenAty

OrganisaAon

Role,Group,Permissions

Page 4: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

IlogintohDps://apps.wso2.com.

Page 5: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

IlogintohDps://apps.wso2.com.

WebappunderorganizaAondomain

Page 6: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

Thisisthehomepage

Page 7: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

IgetredirectedtologinpageprovidedbyorganisaAon’sIdP

[email protected]

………….

Page 8: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

IseeallAppsIcanaccessbasedonmyroles,groups,permissions.

Page 9: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

‘MySubscripAons’willshowAppsIhavesubscribedto.

Page 10: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

‘Favorites’willshowallMyFavoritesApps.

Mark your favorite apps

Page 11: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

TagbasedclassificaAonforApps.

Page 12: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

IclickontheapplicaAonIwanttoaccess.Thispagealsolistsoutdetailsaboutapp,documentaAon,userfeedback.

Page 13: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

Myrequesttoaccess‘PatchManagementApp’goesintoIdP->getmyloginsessionverified->getsredirectedbacktoApp

Page 14: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

NowIamin‘PatchManagementApp’.NoLoginrequired.

Page 15: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

AppStorehassentaSAMLResponsetoPatchManagementAppwithdetailsaboutme.

Page 16: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

whatjusthappenedbehindthescenes?

Page 17: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

Whatjusthappenedbehindthescenes?AccessedEnterpriseAppStore

LoggedintocentralIdP

SingleSignedOntoEnterpriseApps

Page 18: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

Iamhappy..because...

Page 19: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

Happinessintheair..IseeallappsIwantto/needto/requiredtoaccessinasingle

dashboard

Iuseasinglesetofcreden2alstoaccessallofthoseApps

Icanseeuserguides/helponhowtousethoseApps

Icanrequestforfeatures/rate/feedbacktoAppDevs

Page 20: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

IsthisacommonpaDerninyourenterprise?

Page 21: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

Siriisnotalone.AppDiscoveryhasapaDern.

Page 22: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

DiscoverApps

Favourite/Subscribe

AccessAppsReadDocs

ReportIssues/Features

AppDiscoveryLifecycle

Page 23: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

IamNayanafromWSO2CIOteam.

Page 24: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

I...DevelopAppsforinternaluse

Wantaneffec2vechanneltodistributethoseAppstoeveryemployee

WantmyAppstobeabletoAuthen2cateandAuthoriseagainstcooperateIdP

WanttousecentrallydefineduserprofileaJributes

Wanttoviewusagesta2s2csofAppsIwrite

Page 25: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

I...Wanttowritecentralisedauthoriza2onpoliciesformyAppsandget

themexecuted.

WanttoreceivefeedbackfromAppUsers.

WantmyuserstoeasilyreportAppissues.

Wanttowritecustomanaly2csonhowAppsarebeingused

Wanttoestablishseamlessintegra2onbetweenAPIsandAppsthatusethem.

Page 26: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

IuseAppPublishertopublishAppsIdeveloptotheenterprise.

Page 27: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

(Web)AppPublishercreatesaproxya(web)appinfrontofyourrealapplicaAon

Page 28: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

Allowsdefiningperresourcebasedaccess/throDlingpolicies

Page 29: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

Policiescanbecentrallydefinedandmanaged

PoliciescanbereusedbetweenapplicaAons

Page 30: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

PoliciescanbegroupedandappliedagainstresourceaccesspaDerns

Page 31: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

PerresourcepaDerncustomisaAonisalsopossible

Page 32: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

DetailpagesummarisingeverythingabouttheApp.

CentralpageforconfiguringstaAsAcs,documentaAon,SSO,OAuthKeys

AppVersioningSupport

Page 33: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

AllowsprovidingperAppDocumentaAon(inline,upload,URLs)

Page 34: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

PermissionbasedApplifecyclemanagementcapabiliAes

Page 35: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

CentralviewofallAppsmanaged

Page 36: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

PublishingmobileAppsisalsosupported

Page 37: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

Nayanaisnotalonetoo.AppPublishinghasapaDerntoo.

Page 38: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

Review

Approve

PublishUnpublish

Deprecate

AppPublishingLifecycle

ReAre

Reject

Page 39: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

TopublishApps,appsneedtobedeveloped!!

Page 40: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

Whenmyappsareinuse,IviewstaAsAcsonthem.

AppPublisher,AppAuthor

Page 41: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

MetadatalevelanalyAcsareavailableOOB.

Page 42: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

Usagebyresourcepage

Page 43: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

MulAdimensionalviewofApp,subscripAonandusage

Page 44: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

OverallresponsesummaryofAppsmanaged

Page 45: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

SubscripAonSummaryvsAppVersion

Page 46: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

PerUserSubscripAonStaAsAcs

Page 47: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

Breakdownbybackendendpoint

Page 48: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

“WeuseWSO2AppManager.OnestopshopforApplica8ondistribu8on,lifecyclemanagement

andaccesscontrol”-Siri,Nayana

Page 49: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

WSO2AppManager-FuncAonalOverview

Page 50: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

Inanutshell..AProxyWebAppforarealwebapp

AnApplica2onGateway

Setofinterceptors(handlers)betweenproxyandrealwebapps

Interceptors

SingleSignOn

Sta2s2csCollec2on

Policyevalua2on

Pluggable

Page 51: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

Supportfordifferentapptypes(future)

WebApps,MobileApps,CommandApps,WebLinks,Gadgets

Page 52: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

SendingaJWT(signed)orSAMLTokentobackend

PassingauthenAcatedcallstobackendapp

ProxyApp WebApp

<saml2p:Response Destination="https://app-gateway.wso2.com/pmt/1.0.0/" ID="lekgojddaaponseTo=ntity"

{"exp":1394072102566,"hJp://wso2.org/claims/emailaddress":"dims@ws}

SAMLToken

JWTToken

Page 53: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

ContentsofJsonWebToken(JWT){"iss":"wso2.org/products/appm","exp":1394072102566,"Subject":"dims","hJp://wso2.org/claims/emailaddress":"[email protected]","http://wso2.org/claims/mobile":"0725255071","hJp://wso2.org/claims/role":"admin,subscriber,Internal/everyone"

} UserRoles

UserName

Validity Claimvaluesfromuser’sprofile

Page 54: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

ContentsofSAMLToken<saml2p:Responsexmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol"Des2na2on="hJps://app-gateway.wso2.com/pmt/1.0.0/"ID="lekgojddaacphflejnbdpjlmjipldloecjbncecl"InResponseTo="0"IssueInstant="2015-11-04T09:40:31.431Z"Version="2.0">

<saml2:Issuerxmlns:saml2="urn:oasis:names:tc:SAML:2.0:asser2on"Format="urn:oasis:names:tc:SAML:2.0:nameid-format:en2ty">localhost</saml2:Issuer>

<saml2p:Status>

<saml2p:StatusCodeValue="urn:oasis:names:tc:SAML:2.0:status:Success"/>

</saml2p:Status>

<saml2:Asser2onxmlns:saml2="urn:oasis:names:tc:SAML:2.0:asser2on"ID="fgkedgffibfeddejffomjnfndgmohodjmjcakhog"IssueInstant="2015-11-04T09:40:31.431Z"Version="2.0">

<saml2:IssuerFormat="urn:oasis:names:tc:SAML:2.0:nameid-format:en2ty">localhost</saml2:Issuer>

<saml2:Subject>

<saml2:NameIDFormat="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress">[email protected]</

saml2:NameID><saml2:SubjectConfirma2onMethod="urn:oasis:names:tc:SAML:2.0:cm:bearer">

<saml2:SubjectConfirma2onDataInResponseTo="0"NotOnOrAner="2015-11-04T09:45:31.431Z"Recipient="hJps://app-gateway.wso2.com/pmt/1.0.0/"/>

</saml2:SubjectConfirma2on>

<saml2:AuthnStatementAuthnInstant="2015-11-04T09:40:31.431Z"SessionIndex="1b3aa683-5876-4a93-9721-09d52331f88c">

<saml2:AuthnContext>

<saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:Password</saml2:AuthnContextClassRef>

….

<saml2:ADributeValuexmlns:xs="hDp://www.w3.org/2001/XMLSchema"xmlns:xsi="hDp://www.w3.org/2001/XMLSchema-

instance"xsi:type="xs:string">wso2.eng,wso2,wso2.support,support.users,wso2.all.employees,wso2.engineering-2,Internal/

subscriber,Internal/private_sumedha-AT-wso2.com,Internal/everyone</saml2:ADributeValue>

UserRoles

UserName

Page 55: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

PublishingStatstoGoogleAnalyAcsfunction invokeStatistics(){ var tracking_code = "UA-XXXXXX-X";

var request = $.ajax({ url: "http://localhost:8281/statistics/", type: "GET", headers: { "trackingCode":tracking_code, } }); }

IncludethisfuncAontoyourpage

Page 56: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

ManagingWorkflows-AppPublishing

Publisher

AppPublishRequest

Publica2onApproval

AppPublished

User Admin

Page 57: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

ManagingWorkflows-AppConsumpAon

AppStore

UserRegistered

AdminEndUser

Registra2onApproval

Self-Registra2on

UserSubscribed

AdminEndUser

Subscrip2onApproval

AppSubscrip2onRequest

Page 58: WSO2Con EU 2016: WSO2 App Manager:  Managing Application Lifecycles Across Your Enterprise

FutureworkImplementa2onontopofAppG/W

CEPbasedthroJling

FlexibleSubscrip2onModel

DecoupledAppStore->mobilecatalogs

IoTApp/Firmwaredelivery

Pub/SubbasedAppdistribu2onmodel