|
Oracle Content Services Java API Reference Release 1 10.1.2 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Web service login manager. This interface allows creating new sessions
via the login() methods and disposal via logout().
| Method Summary | |
NamedValue[] |
login(java.lang.String username,
java.lang.String password,
NamedValue[] options,
AttributeRequest[] userAttributes)
Start a session authenticated as the given user. |
void |
logout()
Disconnects the current session, if any. |
| Method Detail |
public NamedValue[] login(java.lang.String username,
java.lang.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.
FdkException
public void logout()
throws FdkException
FdkException
|
Oracle Content Services Java API Reference Release 1 10.1.2 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||