Skip navigation links

Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite
10g (10.1.3.2)

B32189-01


oracle.ifs.fdk
Class TrustedLoginManager


public interface class TrustedLoginManager

Web Services login manager for trusted applications. A trusted application does not need to provide a user credential. Instead, the application identity is verified using WS-Security.


Method Summary
 NamedValue[] login(java.lang.String application, java.lang.String username, NamedValue[] options, AttributeRequest[] userAttributes)
          Log in a user from a trusted application.

 

Method Detail

login

NamedValue[] login(java.lang.String application,
                   java.lang.String username,
                   NamedValue[] options,
                   AttributeRequest[] userAttributes)
                   throws FdkException
Description copied from interface: TrustedLoginManager
Log in a user from a trusted application.

Use RemoteLoginManager.logout() to disconnect the session.

Parameters:
application - The application name. Should be a string that identifies the calling application. Required.
username - The username as the servers knows it. The session will be created for this user. Required.
options - Options that should be set on the session. NOTE: Currently no options are supported, this argument is ignored and null can be safely passed.
userAttributes - Optional attributes on the user item that should be returned. Can be null.
Returns:
A NamedValue[] set of properties that contains the following keys (listed below as defined constants and literal strings):
WebServicesConstants.LOGIN_USER ("LOGIN_USER") - The user item, which includes the requested attributes.
WebServicesConstants.SESSION_TIMEOUT ("SESSION_TIMEOUT") - The session inactivity timeout, in seconds.
WebServicesConstants.TRANSACTION_TIMEOUT ("TRANSACTION_TIMEOUT") - The transaction inactivity timeout, in seconds.
Throws:
FdkException

Skip navigation links

Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite
10g (10.1.3.2)

B32189-01


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