the secured enterprise: leverage openid with web …assets.en.oreilly.com/1/event/27/the secured...

109
The Secured Enterprise: Leverage OpenID with Web Services OSCON July 20 24 , 2009 San Jose, California . . Prabath Siriwardena Technical Lead & Product Manager WSO2

Upload: docong

Post on 09-Mar-2018

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

The Secured Enterprise: Leverage OpenID with Web 

Services

OSCON July 20 – 24 , 2009 San Jose, California

..

Prabath SiriwardenaTechnical Lead & Product Manager

WSO2

Page 2: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

WSO2 is an innovative Open Source technology company devoted to building Web services middleware for your SOA. Offering leading products, support and other services, WSO2 was founded in August 2005. It is a global corporation with offices located in USA, UK and Sri Lanka.

Page 3: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

40,000,000credit card numbers stolen

Page 4: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted
Page 5: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Security needs to be by design

NOT an after thought

Page 6: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

What do we need to secure…

ROUND TABLE DISCUSSION

Page 7: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

We have a bunch of services

already developed and some under development….

ROUND TABLE DISCUSSION

Page 8: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Yes…. we need to make sure all the data transferred are secured….

ROUND TABLE DISCUSSION

Page 9: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

How about securing data

transfer between service and the client through

HTTPS….

ROUND TABLE DISCUSSION

Page 10: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

HTTPS is not bad.. But still it

has certain limitations…

ROUND TABLE DISCUSSION

Page 11: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Transport level encryption

Point to point

Entire message needs to be encrypted

Adds less weight on message payload

Applies only to HTTP

NOTES……  HTTPS

Page 12: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

How about message level

security?

ROUND TABLE DISCUSSION

Page 13: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

End to End

Parts of the message can be encrypted

Adds more weight on message payload

Transport Independent

NOTES……  MESSAGE LEVEL SECURITY

Page 14: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Yes – let’s finalize on

Message level security….

ROUND TABLE DISCUSSION

Page 15: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

How can we use Message Level

Security to protect our services…

ROUND TABLE DISCUSSION

Page 16: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Confidentiality

NOTES…… C­I­A

Integrity

Authentication

Page 17: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

The assurance that a message has not been read by anyone other than the intended reader

NOTES…… CONFIDENTIALITY

Page 18: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

The assurance that data is complete and accurate

NOTES…… INTEGRITY

Page 19: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

The verification of a claimed identity

NOTES…… AUTHENTICATION

Page 20: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Can we make sure we

interoperate with the rest…

ROUND TABLE DISCUSSION

Page 21: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Yes… we need not to re-implement the wheel… what is the standard to

achieve C-I-A with message

level security…?

ROUND TABLE DISCUSSION

Page 22: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Defines how to achieve confidentiality, integrity and authentication with SOAP messages

NOTES…… WS­SECURITY

Does not define a new security technology only focuses on applying existing security technologies to SOAP messages

Page 23: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

With UserNameToken defined in WS-

Security enables us to authenticate users

with username/password…

ROUND TABLE DISCUSSION

Page 24: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES…… USERNAMETOKEN <wsse:UsernameToken wsu:Id="Example-1">

<wsse:Username> ... </wsse:Username><wsse:Password

Type="..."> ... </wsse:Password><wsse:Nonce

EncodingType="..."> ... </wsse:Nonce><wsu:Created> ... </wsu:Created>

</wsse:UsernameToken>

Page 25: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

WS-Security brings XML Encryption to

enable confidentiality in SOAP Messages….

ROUND TABLE DISCUSSION

Page 26: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Shared Key

Key Wrapping

NOTES……  ENCRYPTION

Page 27: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

A shared key for both encryption and decryption

Can operate on large plain text messages

NOTES……  SHARED KEY

Uses public key encryption to manage shared key distribution securely

Fast

Page 28: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Both the client & the service need not to have a certificate

A shared key is derived through the service’s certificate

NOTES……  KEY WRAPPING

Further communication being encrypted with the derived shared key

Page 29: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Integrity comes through the XML

Signature….

ROUND TABLE DISCUSSION

Page 30: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Integrity

Non repudiation

NOTES……  SIGNATURE

Page 31: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……

XML SignatureXML 

EncryptionUsername 

Token ProfileX.509 Token 

Profile

WS ‐ Security

Page 32: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Okay… now all our services are

secured with ws-security… What is

next?

ROUND TABLE DISCUSSION

Page 33: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

We need to see who should be given access to our services….

ROUND TABLE DISCUSSION

Page 34: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Definitely all the internal users…

ROUND TABLE DISCUSSION

Page 35: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

…also some of our partner

companies….

ROUND TABLE DISCUSSION

Page 36: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Okay… we can easily

authenticate internal users

with UserNameToken - since we have their credentials

internally….

ROUND TABLE DISCUSSION

Page 37: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

But we don’t maintain

credentials of external users… coming from our

partner companies….

ROUND TABLE DISCUSSION

Page 38: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

We need not to maintain

external user credentials… we

only need to trust our partners….

ROUND TABLE DISCUSSION

Page 39: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

…and that is what WS-Trust

does….

ROUND TABLE DISCUSSION

Page 40: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  WS­TRUST

Page 41: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

We need not to authenticate individual external users

NOTES……  TRUSTING PARTENERS

We only TRUST external partners

All the requests coming through external users need to be signed by the corresponding partner companies

Only the requests signed by TRUSTED partners will let in

Page 42: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

…also our users need access to

external systems.. Out of our domain….

ROUND TABLE DISCUSSION

Page 43: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

That is exactly the other side of

what we just discussed.. We

need to maintain an internal STS

ROUND TABLE DISCUSSION

Page 44: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

All the requests going out side from internal users need to have a security token issued by the internal STS

NOTES……  STS

Internal users should authenticate them selves with the internal STS – prior to obtaining a security token

External services need to trust our STS

Page 45: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……

XML Signature

XML Encryption

Username Token Profile

X.509 Token Profile

WS ‐ Security

WS ‐ Trust

Page 46: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Now… the question is how are we going to

communicate our security

requirements to the rest…

ROUND TABLE DISCUSSION

Page 47: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Let’s first list the security

requirements…..

ROUND TABLE DISCUSSION

Page 48: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

SECURITY REQUIREMENTS Internal users should authenticate with

user name / password when accessing services directly

Page 49: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

SECURITY REQUIREMENTS External users should present a security

token from a trusted STS

Page 50: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

SECURITY REQUIREMENTS Email address should be present in the

security token comes with the external users.

Page 51: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

SECURITY REQUIREMENTS Only some parts of the message needs to be

encrypted.

Page 52: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

SECURITY REQUIREMENTS Encryption algorithm should be AES.

Page 53: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

SECURITY REQUIREMENTS Encryption key size needs to be 256.

Page 54: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

SECURITY REQUIREMENTS All the parts in the <Body> must be signed

Page 55: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

We need a way to express all

these in a standard way….

ROUND TABLE DISCUSSION

Page 56: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Ws-security policy exactly addresses that…

ROUND TABLE DISCUSSION

Page 57: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Used to express security requirements of a Web service according to, What needs to be protected… What tokens to use… Algorithms, reference types, etc….

NOTES…… WS­SECURITY POLICY

Security policies can be defined at the binding level / operation level

Page 58: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……

XML Signature

XML Encryption

Username Token Profile

X.509 Token Profile

WS ‐ Security

WS ‐ Trust

WS‐Policy

WS‐SecurityPo

licy

Page 59: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Everything looks good…. Is there a way we could make sure we

strictly follow the security polices

defined…

ROUND TABLE DISCUSSION

Page 60: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Okay – that means we need to validate each and

every service developed…

ROUND TABLE DISCUSSION

Page 61: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Yes – validation needs to happen at two stages…

ROUND TABLE DISCUSSION

Page 62: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Design time validations will make sure we

adhere to proper standards and polices at the

time we develop …

ROUND TABLE DISCUSSION

Page 63: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Runtime validations will make sure we

evaluate all the requests coming in

against the defined security

policies….

ROUND TABLE DISCUSSION

Page 64: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Design time governance

NOTES……  SOA GOVERNANCE

Runtime time governance

Page 65: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  DESIGN TIME GOVERNANCE

Page 66: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  DESIGN TIME GOVERNANCE

Page 67: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  DESIGN TIME GOVERNANCE

Page 68: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  DESIGN TIME GOVERNANCE

MONITORING

Page 69: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Yet… we haven’t figure out how to enforce policies

on users – or the requests coming through to our

services…

ROUND TABLE DISCUSSION

Page 70: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Yes… we need to make sure all the requests comply with the defined security polices….

ROUND TABLE DISCUSSION

Page 71: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  MESSAGE INTERCEPTOR 

GATEWAY PATTERN

Page 72: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Provides a single entry point and allows centralization of security enforcement for incoming and outgoing messages.

NOTES……  MESSAGE INTERCEPTOR 

GATEWAY PATTERN

Helps to apply transport-level and message-level security mechanisms required for securely communicating with a Web services endpoint.

Page 73: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

All the services can be deployed inside WSO2 Web Services Application Server [WSAS] – not publicly accessible

NOTES……  MIG ­IMPLEMENTATION

An open source web services engine powered by Apache Axis2

Page 74: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  MIG ­IMPLEMENTATION

Page 75: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  MIG ­IMPLEMENTATION

Service C

Service B

Service A

Page 76: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  MIG ­IMPLEMENTATION

Service C

Service B

Service A

Page 77: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  MIG ­IMPLEMENTATION

Service C

Service B

Service A

Authentication Module

Authorization Module [PEP]

LDAP

Page 78: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  WSO2 ESB –SECURING PROXY 

SERVICES

Page 79: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  WSO2 ESB –SECURING PROXY 

SERVICES

Page 80: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  WSO2 ESB –SECURING PROXY 

SERVICES

Page 81: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES…… MIG ­IMPLEMENTATION

Service C

Service B

Service A

Authentication Module

Authorization Module [PEP]

LDAP

PAP

PDP

STS

Page 82: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Claim-based security token service -mapping user attributes to defined claims, which can be used to enable identity federation with claim aware web services.

NOTES……  WSO2 IDENTITY SERVER

XACML Policy Administration Point & Policy Decision Point

Page 83: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  WSO2 IDENTITY SERVER ­STS

Page 84: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  WSO2 IDENTITY SERVER ­STS

Page 85: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  WSO2 IDENTITY SERVER –

PAP/PDP

Page 86: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  WSO2 IDENTITY SERVER –

PAP/PDP

Page 87: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES……  WSO2 IDENTITY SERVER

PAP

PDP

STS

Page 88: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

WS-Security / WS-Trust / WS-Security Policy

Message Interceptor Gateway Pattern

NOTES……  SUMMARY

WSO2 Governance Registry / WSO2 WSAS / WSO2 ESB / WSO2 Identity Server

Page 89: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

We have secured access to all our

backend services…

ROUND TABLE DISCUSSION

Page 90: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Let’s think of securing the front

end….

ROUND TABLE DISCUSSION

Page 91: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Yes… our backend services can be

accessed through either with a

direct client or with our web

portal….

ROUND TABLE DISCUSSION

Page 92: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Also we already have different

web applications managed

internally…

ROUND TABLE DISCUSSION

Page 93: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

And it’s hard to have different credentials to

each web application….

ROUND TABLE DISCUSSION

Page 94: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Let’s redesign authentication for all our web applications….

ROUND TABLE DISCUSSION

Page 95: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

One more thing… we also need to give access to

external users to the web portal as

well…

ROUND TABLE DISCUSSION

Page 96: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Too many passwords

NOTES…… PROBLEMS TO BE 

ADDRESSED Single Sign On

Giving access to external domain users

Page 97: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Decentralized Single Sign On

NOTES…… OPENID

Single User Profile

Identity Federation

Page 98: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES…… OPENID LOGIN FOR WEB PORTAL

OP

BROWSER

WEB PORTAL

Page 99: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

WEB PORTAL

NOTES…… OPENID LOGIN FOR WEB PORTAL

OP

BROWSER

Page 100: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES…… OPENID LOGIN FOR WEB PORTAL

OP

BROWSER

WEB PORTAL

Page 101: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES…… OPENID LOGIN FOR WEB PORTAL

OP

BROWSER

WEB PORTAL

Page 102: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES…… OPENID LOGIN FOR WEB PORTAL

WEB PORTAL

OP

BROWSER

Page 103: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES…… OPENID + INFORMATION CARDS

OP

Page 104: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES…… WSO2 IDENTITY SERVER

OPOpenID Provider

InfoCard Provider

Page 105: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES…… TRUSTED SUB SYSTEM WEB PORTAL

Page 106: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

NOTES…… TRUSTED SUB SYSTEM

OPWEB PORTAL

Page 107: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

WS-Security / WS-Trust / WS-Security Policy

Message Interceptor Gateway Pattern

NOTES……  SUMMARY

WSO2 Governance Registry / WSO2 WSAS / WSO2 ESB / WSO2 Identity Server

OpenID + InfoCard

Trusted Sub System Pattern

Page 108: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

http://wso2.com

DISCUSSION…... http://wso2.com/about/contact

[email protected]

[email protected]

Page 109: The Secured Enterprise: Leverage OpenID with Web …assets.en.oreilly.com/1/event/27/The Secured Enterprise_ Leverage... · WSO2 is an innovative Open Source technology company devoted

Thank You…!!!