Doorgaan naar hoofdcontent

Oracle Fusion: OWSM

Ik moest toch naar de Oracle Fusion stack kijken, dus ik dacht laat ik maar direct een samenvatting maken van de verschillende producten.
Het eerste is de Oracle Web Service Manager.

Wat biedt het?
• Centraal configuratie van policies m.b.t. web services (LDAP directory of Oracle’s Access Manager(OAM))
• Enforce deze policies runtime
• Monitoren van runtime security evenst en SLAs in grafieken

Bij web services security spelen de volgende zaken een rol:
• Authenticatie – Is degene wel wie die zegt dat hij is, gebaseerd op credentials (user name, paswoord)
• Authorisatie – Een gebruiker toegang geven tot bepaalde resources gebaseerd op de gebruiker entitlements (property/karakterestiek van een gebruiker).
• Confidentiality – Zorgen dat de data niet gelezen kan worden, dmv encryptie. Ook hoort hierbij de identiteit van de sturende en ontvangende partij(privacy).
• Integrity – Zorgen dat een bericht niet kan worden aangepast

OWSM maakt gebruik van Public Key Infrastructure (PKI) omgevingen (ga ik hier verder niet op in).
De security requirements worden op transport nivo ondersteund (SSL) en op applicatie nivo (maken gebruik van XML frameworks, bijv WS-Security).
SSL zorgt voor authenticatie, confidentiality, integrity, secure key exchange tussen client en server. SSL zorgt voor point-to-point security maar geen end-to-end.

Wat gebeurt er op applicatie nivo?
Confidentiality wordt bereikt door gebruik van XML Encryption (= XML standaard).
Data integriteit en authenticatie maken gebruik van XML Signature (=XML standaard).
WS-Security definieerd hoe XML Signature en XML Encryption aan SOAP headers worden toegevoegd en heeft profiles voor 5 security tokens: Username (met password digest), X.509 certificaat, Kerberos ticket, Security Assertion Markup Language (SAML)asserties en REL document.

OWSM gebruikt 3 main operaties voor configuratie:
1) Define policies, bijv Log Incoming Message, Extract Credentials, Encrypt, Sign).
2) Enforce Policy Enforcement Points (PEPs) voor management policies.
3) Monitor voor tracking (in charts) runtime security en mgt events opgevangen door OWSM

OWSM gebruikt hiervoor de pipeline metafoor. Je definieerd dus wat er met request gebeurt en voor de response. De OWSM Gateway (of Agent) onderschept een web service request, voert de stappen uit van de request pipeline en forward (als alles goed is gegaan) de request naar de service request provider. Bij de response gebeurt iets soortgelijks. Het is ook mogelijk om custom steps, die niet out-of-the-box worden geleverd, te maken.


De gateway en/of Agents (ook bekend als PEPs) gebruiken de Policy Manager voor nieuwe policies (pull). Je hebt client en server Agents, die gebruikt worden bij respectievelijk een service client en service provider. Een gateway wordt meestal gedeployed aan de kant van de service provider in de zogenaamde DMZ (demilitarized zone).


Verschillende setups:
• Protecting web services dmv gateway


• Een webservice client en web service provider gebruiken verschillende credentials (client gebruikt username/password, provider SAML assertion).


• End-to-end security met Oracle Access Manager (OAM)


1 – Browser accesses application
2 – OAM agent (WebGate) vraagd om credentials, WebGate authenticeerd bij OAM en OAM genereerd sessie token
3 – De applicatie haalt cookie uit de sessie en zet dit in SOAP header en maakt de SOAP call
4 – Credentials in de SOAP header worden vervangen door SAML asserties en maakt forwards de SOAP call
5 – SAML assertie wordt gevalideerd en de web service call wordt gemaakt

Reacties

Populaire posts van deze blog

Microservices mindmap

"The tree" - See also   my photo page When you are fairly new within the Microservices land, there are a lot of terms fired at you. So also for my own understanding i have made a mindmap. I think it has a good status now, so that i can share it with you. As always feedback is very welcome ! You can download the mindmap here .

Cloud to Cloud Application Integration

A lot of applications have integration possibilities, so do cloud applications. The question I got from a customer is whether to have a point-to-point integration with Cloud applications or to go through their ESB solution. This blog describes some considerations. Context The customer has a HRM application in which job vacancies are managed. Furthermore that system also handles the full applicant process flow. They also have another cloud application that handles the job vacancies. This application posts the jobs to social sites and other channels to promote the vacancies. Furthermore this application has some intelligence for job seekers to advice some new vacancies based on previous visits or profiles. The job vacancies need to be sent to the Vacancies application and applicant information needs to be sent to the HRM application, when a job seeker actually applies for a job. Furthermore status information about the job application is als...

OSB 10gR3 and SWA and MTOM

This blog is about using soap with attachments and the use of MTOM within the OSB (10gR3). A service is created that accepts a soap with attachment (DocumentService) and translates it to a service that accepts a binary element. MTOM is used for performance reasons for the second. Some notes: * For the use of attachments you need RPC-style document instead of the usual document-style. This due to the fact that the document-style limits a message to a single . * A service can not have both SWA and MTOM within OSB. First a WSDL is setup for the DocumentService: The $attachments variable holds the attachments and the body holds the attachment data. Also other data is stored within the attachment element (see h...