Class SoapAuthClient
java.lang.Object
com.logicaldoc.webservice.soap.client.SoapClient<AuthService>
com.logicaldoc.webservice.soap.client.SoapAuthClient
- All Implemented Interfaces:
AuthService
Auth Web Service client (SOAP).
- Since:
- 7.5
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SoapAuthClient
-
-
Method Details
-
login
Description copied from interface:AuthService
Starts a new session.- Specified by:
login
in interfaceAuthService
- Parameters:
username
- The usernamepassword
- The password- Returns:
- The newly created session identifier(sid)
- Throws:
AuthenticationException
- the user was not authenticated
-
logout
Description copied from interface:AuthService
Closes a session.- Specified by:
logout
in interfaceAuthService
- Parameters:
sid
- The session identifier
-
valid
Description copied from interface:AuthService
Checks if a SID is valid- Specified by:
valid
in interfaceAuthService
- Parameters:
sid
- identifier of the session- Returns:
- if the session is valid
-
renew
Description copied from interface:AuthService
Renews a session- Specified by:
renew
in interfaceAuthService
- Parameters:
sid
- identifier of the session
-