Tuesday, July 31, 2012

Primavera P6-BPM Configuration

P6-BPM Configuration


Steps to integrate Primavera P6 with BPM Server:

  •  Login to P6 admin console:-  http://<host>:<port>/p6/action/adminconfig
  • Under configurations tab, expand ‘Custom’ tree.
  • Go to ‘Primavera P6 Configuration’ -> ‘Database’ -> ‘Insatnce[2]: Standard DB’ -> ‘BPM Settings’.
Configuration Screen

  • Under ‘BPM Settings’, Right-Click on BPM Configuration and Select Configure
BPM Settings

  • In BPM options table, provide details about BPM Server.

BPM Options
·      
  • After changes, you will need to click OK here and Save on the previous screen.
  • Restart the P6 Server.



Monday, July 30, 2012

Web Service Security Policy

This blog explains about accessing Web Services secured with 'Useraname Token' policy:


‘Username Token’ is a WS security policy in which authentication information (user name and password) for accessing services, will be part of request xml header.

Corresponding Oracle WS Security policy is: 'oracle/wss_username_token_client_policy'

Java code to add information to request xml header:

 SecurityPoliciesFeature securityFeatures = new SecurityPoliciesFeature(new String[] { "oracle/wss_username_token_client_policy" });
 ProjectPortType projectPortType = projectService.getProjectPort(securityFeatures);
 Map<String, Object> reqContext = ((BindingProvider)projectPortType).getRequestContext();
 reqContext.put(BindingProvider.USERNAME_PROPERTY, "username");
 reqContext.put(BindingProvider.PASSWORD_PROPERTY, "password");