|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.3.0) E15995-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.webcenter.spaces.ws.client.GroupSpaceWSContext
public final class GroupSpaceWSContext
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 |
---|
public GroupSpaceWSContext()
Method Detail |
---|
public void setEndPoint(java.lang.String endPoint)
public java.lang.String getEndPoint()
public void setUserName(java.lang.String userName)
public java.lang.String getUserName()
public void setSamlIssuerName(java.lang.String samlIssuerName)
public java.lang.String getSamlIssuerName()
public void setRecipientKeyAlias(java.lang.String recipientKeyAlias)
recipientKeyAlias
- string alias for recipient keypublic java.lang.String getRecipientKeyAlias()
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.3.0) E15995-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |