Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.3.0)
E15995-02


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
 GroupSpaceWSContext context = new GroupSpaceWSContext();
 context.setEndPoint("http://host:port/webcenter/SpacesWebService");
 context.setSamlIssuerName(<issuer-name>);
 GroupSpaceWSClient client = new GroupSpaceWSClient(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 getRecipientKeyAlias()
          Getter for the recipient key alias
 java.lang.String getSamlIssuerName()
           
 java.lang.String getUserName()
          Deprecated. getUsername(name)
 void setEndPoint(java.lang.String endPoint)
           
 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. setUsername(name)

 

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()

setUserName

public void setUserName(java.lang.String userName)
Deprecated. setUsername(name)

getUserName

public java.lang.String getUserName()
Deprecated. getUsername(name)

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
11g Release 1 (11.1.1.3.0)
E15995-02


Copyright © 2009, 2010, Oracle. All rights reserved.