Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-04


oracle.webcenter.spaces.ws.client
Class GroupSpaceWSContext

java.lang.Object
  extended by oracle.webcenter.spaces.ws.client.GroupSpaceWSContext


public final class GroupSpaceWSContext
extends java.lang.Object

This class provides all the client side configuration for connecting to the group spaces web services. This class provides a way to set the context parameters which can be used to configure the Group Space WebService client. Please see the sample code below :

The initialization call from a J2EE application looks like following:


 //Call this once in the init() method of your class i.e. once in a lifecycle
 FactoryFinder.init(); 
 GroupSpaceWSContext context = new GroupSpaceWSContext();
 context.setEndPoint("http://host:port/webcenter/SpacesWebService");
 context.setSamlIssuerName(<issuer-name>);
 GroupSpaceWSClient.setContext(context); 

 

The rest of the details will be picked up by the container from container level keystore and wallet file. The end point can be alternatively set in the connections.xml file which goes as a part of the project.


Nested Class Summary
static class GroupSpaceWSContext.policyType
           

 

Constructor Summary
GroupSpaceWSContext()
           

 

Method Summary
 java.lang.String getEndPoint()
           
 java.lang.String getPoliciesLocation()
           
 GroupSpaceWSContext.policyType getPoliciesType()
           
 java.lang.String getRecipientKeyAlias()
          Getter for the recipient key alias
 java.lang.String getSamlIssuerName()
           
 java.lang.String getUserName()
           
 void setEndPoint(java.lang.String endPoint)
           
 void setPoliciesLocation(java.lang.String policiesLocation)
           
 void setPoliciesType(GroupSpaceWSContext.policyType policiesType)
           
 void setRecipientKeyAlias(java.lang.String recipientKeyAlias)
          Setter for the recipient key alias.
 void setSamlIssuerName(java.lang.String samlIssuerName)
           
 void setUserName(java.lang.String userName)
          Deprecated.  

 

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

 

Constructor Detail

GroupSpaceWSContext

public GroupSpaceWSContext()

Method Detail

setEndPoint

public void setEndPoint(java.lang.String endPoint)

getEndPoint

public java.lang.String getEndPoint()

setPoliciesLocation

public void setPoliciesLocation(java.lang.String policiesLocation)

getPoliciesLocation

public java.lang.String getPoliciesLocation()

setPoliciesType

public void setPoliciesType(GroupSpaceWSContext.policyType policiesType)

getPoliciesType

public GroupSpaceWSContext.policyType getPoliciesType()

setUserName

public void setUserName(java.lang.String userName)
Deprecated. 
This API is no longer supported. In order to set the user name you need to have you own security(login/logout) which will automatically recognize the currently logged in user and will send the logged in user's data.

getUserName

public java.lang.String getUserName()

setSamlIssuerName

public void setSamlIssuerName(java.lang.String samlIssuerName)

getSamlIssuerName

public java.lang.String getSamlIssuerName()

setRecipientKeyAlias

public void setRecipientKeyAlias(java.lang.String recipientKeyAlias)
Setter for the recipient key alias. Clients need to set the recipient key alias as this alias is used by OWSM for data encryption for the policy we use wss10_saml_token_with_message_protection_client_template.
Parameters:
recipientKeyAlias - string alias for recipient key

getRecipientKeyAlias

public java.lang.String getRecipientKeyAlias()
Getter for the recipient key alias
Returns:
the recipient key alias set on this instance

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-04


Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.