Class RestAuthClient
- java.lang.Object
 - 
- com.logicaldoc.webservice.rest.client.AbstractRestClient
 - 
- com.logicaldoc.webservice.rest.client.RestAuthClient
 
 
 
- 
- All Implemented Interfaces:
 AuthService
public class RestAuthClient extends AbstractRestClient implements AuthService
Auth Web Service client (RESTful).- Since:
 - 6.9
 - Author:
 - Marco Meschieri - LogicalDOC, Alessandro Gasparini - LogicalDOC
 
 
- 
- 
Constructor Summary
Constructors Constructor Description RestAuthClient(String endpoint) 
 - 
 
- 
- 
Constructor Detail
- 
RestAuthClient
public RestAuthClient(String endpoint)
 
 - 
 
- 
Method Detail
- 
login
public String login(String username, String password) throws Exception
- Specified by:
 loginin interfaceAuthService- Throws:
 Exception
 
- 
logout
public void logout(String sid)
- Specified by:
 logoutin interfaceAuthService
 
- 
loginPost
public String loginPost(String username, String password) throws Exception
- Specified by:
 loginPostin interfaceAuthService- Throws:
 Exception
 
- 
loginPostJSON
public String loginPostJSON(String jsonstr) throws Exception
- Specified by:
 loginPostJSONin interfaceAuthService- Throws:
 Exception
 
- 
getSid
public String getSid()
- Specified by:
 getSidin interfaceAuthService
 
 - 
 
 -