Oracle® Content Services Web Services Java API Reference
10g Release 1 (10.1.1)

B19047-01


oracle.ifs.fdk
Interface ServiceToServiceLoginManager


public interface ServiceToServiceLoginManager

Service to Service (S2S) login manager. This manager allows creating new sessions from a trusted, partner service, without providing the any credentials for the user.

For this manager to function, the server must be configured for S2S authentication and the corresponding S2S instance property IFS.DOMAIN.CREDENTIALMANAGER.ServiceToServiceAuthenticationEnabled needs to be set to true


Method Summary
 NamedValue[] login(java.lang.String username, NamedValue[] options, AttributeRequest[] userAttributes)
          Start a session authenticated as the given user.

 

Method Detail

login

public NamedValue[] login(java.lang.String username,
                          NamedValue[] options,
                          AttributeRequest[] userAttributes)
                   throws FdkException
Start a session authenticated as the given user. It is important to pass the username in the format required by the application, currently userid for the default domain, or userid@domain for the non-default domains. Note that the value of the S2S header ORA_S2S_PROXY_USER will be ignored but it must be non-null. The value of the username parameter will be used instead.

Use RemoteLoginManager.logout() to disconnect the session when no longer needed.

Parameters:
username - The username to create the session for.
options - See RemoteLoginManager.login() documentation.
userAttributes - See RemoteLoginManager.login() documentation.
Returns:
See RemoteLoginManager.login() documentation.
Throws:
FdkException

Oracle® Content Services Web Services Java API Reference
10g Release 1 (10.1.1)

B19047-01


Copyright © 2002, 2005, Oracle. All rights reserved.