Skip navigation links

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 3 (10.1.3)
B28985-02


oracle.tip.pc.services.identity
Class FilesS2SAuthenticationService

java.lang.Object
  extended byoracle.tip.pc.services.identity.FilesS2SAuthenticationService

All Implemented Interfaces:
com.collaxa.cube.ws.HeaderHandler

public class FilesS2SAuthenticationService
extends java.lang.Object
implements com.collaxa.cube.ws.HeaderHandler

Constructor Summary
FilesS2SAuthenticationService()
           

 

Method Summary
static java.lang.String authenticate(java.lang.String s2sProxyUser, com.collaxa.cube.engine.types.bpel.CXPartnerLink partnerLink)
          This FilesS2SAuthenticationService.authenticate service provides the login service to the files online services.
 void invoke(com.collaxa.cube.engine.types.bpel.CXPartnerLink partnerLink, java.lang.String operationName, java.util.Map payload, java.util.List header, java.util.Map callProps)
          This header handler method does the S2S authentication with the files web services.
static void setFilesCookies(com.collaxa.cube.engine.types.bpel.CXPartnerLink partnerLink)
          This utility can be used to perform the S2S authentication with the files web services.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

FilesS2SAuthenticationService

public FilesS2SAuthenticationService()

Method Detail

invoke

public void invoke(com.collaxa.cube.engine.types.bpel.CXPartnerLink partnerLink,
                   java.lang.String operationName,
                   java.util.Map payload,
                   java.util.List header,
                   java.util.Map callProps)
This header handler method does the S2S authentication with the files web services. This header handler expects the following: 1) proxy user in the partner link property 'ORA_S2S_PROXY_USER' The cookies required to invoke files web services are stored in the partner link property 'orclS2SCookie'. If this property is set, then this service will not authenticate again. If multiple web service operations are required to be performed in the process across multiple partner links in the same session, then the partner link property 'orclS2SCookie' should be copied to the each of the partner links before copying
Specified by:
invoke in interface com.collaxa.cube.ws.HeaderHandler
See Also:
com.collaxa.cube.ws.HeaderHandler#invoke(com.collaxa.cube.engine.types.bpel.CXPartnerLink, java.lang.String, java.util.Map, java.util.Map, java.util.Map)

setFilesCookies

public static void setFilesCookies(com.collaxa.cube.engine.types.bpel.CXPartnerLink partnerLink)
This utility can be used to perform the S2S authentication with the files web services. The cookies required to invoke files web services are stored in the partner link property 'orclS2SCookie'. If this property is set, then this service will not authenticate again. The cookies are represented in the following format 1) Each cookies is delimited with the string '; ' (without the quotes) 2) Each cookie is represented using the format name=value For example, if there are 2 cookies, cookie1 and cookie2 with values cookie1Value and cookie2Value, then the partner link property 'orclS2SCookie' will be cookie1=cookie1Value; cookie2=cookie2Value If multiple web service operations are required to be performed in the process across multiple partner links in the same session, then the partner link property 'orclS2SCookie' should be copied to the each of the partner links before copying This header handler expects the following: 1) proxy user in the partner link property 'ORA_S2S_PROXY_USER'
Parameters:
partnerLink - The partner link that would invoke the files web services

authenticate

public static java.lang.String authenticate(java.lang.String s2sProxyUser,
                                            com.collaxa.cube.engine.types.bpel.CXPartnerLink partnerLink)
                                     throws FilesS2SAuthenticationException
This FilesS2SAuthenticationService.authenticate service provides the login service to the files online services. The authenticate service provides a cookie that should be presented to invoke the services. The cookies are represented in the following format 1) Each cookies is delimited with the string '; ' (without the quotes) 2) Each cookie is represented using the format name=value For example, if there are 2 cookies, cookie1 and cookie2 with values cookie1Value and cookie2Value, then the partner link property 'orclS2SCookie' will be cookie1=cookie1Value; cookie2=cookie2Value If the invoking partner link is using the FilesS2SAuthenticationService header handler, then the partner link should have a property 'orclS2SCookie' that contains the string returned by this service. If the partner link doesn't have the property set, then the FilesS2SAuthenticationService header handler will create a new session. If multiple web service operations are required to be performed in the process across multiple partner links in the same session, then the partner link property 'orclS2SCookie' should be copied to the each of the partner links before copying
Parameters:
s2sProxyUser - The user who is requesting the services
partnerLink - The partner link that would invoke the files web services
Returns:
String The cookie information required to be provided during the invocation of the services
Throws:
FilesS2SAuthenticationException

Skip navigation links

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 3 (10.1.3)
B28985-02


Copyright © 2006, Oracle. All rights reserved.