retrieveCredential(namespace)
Allows a user who is authenticated in a namespace to retrieve the authentication credentials for that namespace. These credentials can then be used to connect to a datasource that uses the same authentication mechanism as the namespace. This mechanism allows the user to avoid having to authenticate with the datasource.
The following limitations apply:
- A user can only retrieve their own credentials.
- The credentiasl are encrypted and can only be accessed with the correct csk that can decrypt it.
Signatures
- Java and Apache Axis
-
public XmlEncodedXML retrieveCredential(java.lang.String namespace)
- C# .NET
-
public xmlEncodedXML retrieveCredential(string namespace)
References
- Part of the following method sets:
- Implemented by the following services:
-
The services that implement the terminateSessions method, along with the associated SOAP actions, are listed in the following table.
Table 1. Services implementing the terminateSessions method. Service
SOAP Action
saCAMService
http://www.ibm.com/xmlns/prod/cognos/sacamsrvc-auth/201404/
What's new
- New in Version 10.2.2 — Connecting to a datasource using namespace credentials
-
This method was added.
Input parameters
Use the following parameters when calling this method.
- namespace
- Specifies the namespace that the user is authenticated in.
This argument
- is of type string
is encoded as type
xs:string
- is of type string
Return values
This method returns the following values.
- credential
- The credential that will be passed to the datasource.
This result
- is of type bibus » xmlEncodedXML
is encoded as type
tns:xmlEncodedXML
- is of type bibus » xmlEncodedXML