public interface RemoteLoginManager extends Remote
login() methods and disposal via logout().| Modifier and Type | Method and Description |
|---|---|
NamedValue[] |
login(String username,
String password,
NamedValue[] options,
AttributeRequest[] userAttributes)
Start a session authenticated as the given user.
|
void |
logout()
Disconnects the current session, if any.
|
NamedValue[] login(String username, String password, NamedValue[] options, AttributeRequest[] userAttributes) throws FdkException
username - The username.password - The password.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.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.FdkExceptionvoid logout()
throws FdkException
FdkExceptionCopyright © 2025. All rights reserved.