Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

Oracle SOA Suite 11g R1 : Securing the credit card validation service

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
10/23/2012 4:56:05 PM
You will attach a policy to the service entry point to the POProcessing composite to authenticate based on the user ID/password in the SOAP header (usernameToken). The identity of the client is securely propagated to the credit card validation composite using a SAML token. The invocation of the credit card validation composite passes sensitive data. Hence, you should sign and encrypt the message. This is done by attaching the appropriate policies to the reference in the POProcessing composite to invoke validationForCC and to the service entry point to validationForCC composite.

After testing the secured service, you detach the policies.


Defining a new user

You use the Weblogic console to define a new user that you use in this exercise.

  1. 1. Log into the Weblogic console at http://localhost:7001/console.

  2. 2. Click on Security Realms and then click on myrealm.

  1. 3. Click on the Users and Groups tab.

  2. 4. Click on New.

  1. 5. Create a new user weblogic1 with password welcome1 and click on OK.

  2. 6. Click on the weblogic1 user and then click on Groups tab.

  3. 7. Select Administrators as the group and click on Save.

Attaching the policies

  1. 1. Log into the EM console at http://localhost:7001/em.

  2. 2. Click on the POProcessing composite link.

  3. 3. Click on the Policies tab.

  4. 4. Select receivePO in the Attach To/Detach From drop-down.

  5. 5. Select wss_username_token_service_policy, click on Attach, and click on OK.

  1. 6. Similarly, attach the policy wss11_saml_token_with_message_protection_client_policy to the attach point getCreditCardStatus.

  2. 7. Similarly, attach the policy wss11_saml_token_with_message_ protection_service_policy to the attach point getStatusByCC in the validationForCC composite.

  3. 8. Test using the EM test console.

  4. 9. Test POProcessing using the EM test console. Be sure to select WSS Username Token and specify the user ID/password as weblogic1/welcome1.

  5. 10. Retest, but specify an invalid password. You will see an authentication failure error.

  6. 11. Test validationForCC. But this time, do not specify any WSS Username Token. You will see an error because the SAML token is not present and the message is not signed and encrypted.

Detaching policies

  1. 1. Click on the POProcessing composite link.

  2. 2. Click on the Policies tab.

  3. 3. Select receivePO in the Attach To/Detach From drop-down.

  4. 4. Select the attached wss_username_token_service_policy, click on Detach, and click on OK.

  5. 5. Similarly detach the policy wss11_saml_token_with_message_protection_client_policy from the attach point getCreditCardStatus.

  6. 6. Similarly detach the policy wss11_saml_token_with_message_ protection_service_policy from the attach point getStatusByCC in the validationForCC composite.

Attaching and detaching policies in JDeveloper

To attach/detach policies in JDeveloper, right-click on services, references, and components in the composite view and choose Configure WS Policies. Try to repeat the exercise you did in the EM console by yourself, but this time, use JDeveloper.
Other -----------------
- Oracle SOA Suite 11g R1 : Introducing security policy management
- InfoPath with Microsoft Content Management Server Web Services : Cleaning up the Generated Form
- InfoPath with Microsoft Content Management Server Web Services : Creating the Controls in InfoPath
- Installing Exchange Server 2010 : Post-setup configuration (part 2) - Add a certificate to the Client Access Server role
- Installing Exchange Server 2010 : Post-setup configuration (part 1) - Configure a Send Connector to the Internet
- Installing Exchange Server 2010 : Installing the Edge Transport Server
- BizTalk Server 2009 Operations : Scalability and High Availability
- BizTalk Server 2009 Operations : Configuration and Management
- Windows Server 2003 on HP ProLiant Servers : Migration Methodologies (part 2) - Restructure
- Windows Server 2003 on HP ProLiant Servers : Migration Methodologies (part 1) - ProLiant Migration
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server