wso2con asia 2016: securing apis: how, what, why, when

20

Upload: wso2-inc

Post on 16-Apr-2017

598 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When
Page 2: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When
Page 3: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When

Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l

Page 4: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When

Authorization: Digest username="prabath", realm="cute-cupcakes.com", nonce="1390781967182:c2db4ebb26207f6ed38bb08eeffc7422", uri="/recipe", cnonce="MTM5MDc4", nc=00000001, qop="auth", response="f5bfb64ba8596d1b9ad1514702f5a062", opaque="F5288F4526B8EAFFC4AC79F04CA8A6ED"

HTTP/1.1 401 UnauthorizedWWW-Authenticate: Digest realm="cute-cupcakes.com", qop="auth”, nonce="1390781967182:c2db4ebb26207f6ed38bb08eeffc7422", opaque="F5288F4526B8EAFFC4AC79F04CA8A6ED"

Page 5: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When
Page 7: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When

OAuth•

•–

•–

•––

•–––

Page 8: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When
Page 9: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When
Page 10: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When

-

Page 11: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When
Page 12: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When
Page 13: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When
Page 14: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When
Page 15: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When

POST /introspection HTTP/1.1Accept: application/x-www-form-urlencodedHost: server.example.comAuthorization: Basic czZCaGRSa3F0Mzo3RmpmcDBaQnIxS3REUmJuZlZkbUl3

token=X3241Affw.4233-99JXJ&resource_id=…

{ "active": true, "client_id":"s6BhdRkqt3", "scope": "read write dolphin", "sub": "2309fj32kl", "aud": http://example.org/protected-resource/*}

Page 16: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When
Page 17: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When

Page 18: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When
Page 19: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When

•• : ,

Page 20: WSO2Con ASIA 2016: Securing APIs: How, What, Why, When