Class SoapAuthService
java.lang.Object
com.logicaldoc.webservice.AbstractService
com.logicaldoc.webservice.soap.endpoint.SoapAuthService
- All Implemented Interfaces:
 AuthService
- Direct Known Subclasses:
 RestAuthService
Auth Web Service Implementation (SOAP)
- Since:
 - 5.2
 - Author:
 - Matteo Caruso - LogicalDOC
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionStarts a new session.loginApiKey(String apiKey) Starts a new session.voidCloses a session.voidRenews a sessionbooleanChecks if a SID is validMethods inherited from class com.logicaldoc.webservice.AbstractService
convertDateToString, convertStringToDate, getCurrentMessage, isValidateSession, setCurrentMessage, setValidateSession 
- 
Constructor Details
- 
SoapAuthService
public SoapAuthService() 
 - 
 - 
Method Details
- 
login
Description copied from interface:AuthServiceStarts a new session.- Specified by:
 loginin interfaceAuthService- Parameters:
 username- The usernamepassword- The password- Returns:
 - The newly created session identifier(sid)
 - Throws:
 AuthenticationException- the user was not authenticated
 - 
loginApiKey
Description copied from interface:AuthServiceStarts a new session.- Specified by:
 loginApiKeyin interfaceAuthService- Parameters:
 apiKey- The API Key- Returns:
 - The newly created session identifier(sid)
 - Throws:
 AuthenticationException- the user was not authenticated
 - 
logout
Description copied from interface:AuthServiceCloses a session.- Specified by:
 logoutin interfaceAuthService- Parameters:
 sidOrApiKey- identifier of the session or an API Key
 - 
valid
Description copied from interface:AuthServiceChecks if a SID is valid- Specified by:
 validin interfaceAuthService- Parameters:
 sidOrApiKey- identifier of the session or an API Key- Returns:
 - if the session is valid
 
 - 
renew
Description copied from interface:AuthServiceRenews a session- Specified by:
 renewin interfaceAuthService- Parameters:
 sidOrApiKey- identifier of the session or an API Key
 
 -