Package com.logicaldoc.webservice.soap
Interface AuthService
- 
- All Known Implementing Classes:
- RestAuthService,- RestAuthSwagger,- SoapAuthClient,- SoapAuthService
 
 public interface AuthServiceAuth Web Service definition interface- Since:
- 5.2
- Author:
- Matteo Caruso - LogicalDOC
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringlogin(String username, String password)Starts a new session.voidlogout(String sid)Closes a session.voidrenew(String sid)Renews a sessionbooleanvalid(String sid)Checks if a SID is valid
 
- 
- 
- 
Method Detail- 
loginString login(String username, String password) throws Exception Starts a new session.- Parameters:
- username- The username
- password- The password
- Returns:
- The newly created session identifier(sid)
- Throws:
- Exception- error in the server application
 
 - 
logoutvoid logout(String sid) Closes a session.- Parameters:
- sid- The session identifier
 
 - 
validboolean valid(String sid) Checks if a SID is valid- Parameters:
- sid- identifier of the session
- Returns:
- if the session is valid
 
 - 
renewvoid renew(String sid) Renews a session- Parameters:
- sid- identifier of the session
 
 
- 
 
-