public class SessionsClient extends Object
| Constructor and Description |
|---|
SessionsClient(com.sun.jersey.api.client.WebResource webResource,
String username,
String password,
String organization) |
| Modifier and Type | Method and Description |
|---|---|
String |
getSecurityToken()
Get a new security token
The token can be used for subsequent calls
This method can be used to validate basic-auth credential
|
public String getSecurityToken() throws org.codehaus.jettison.json.JSONException, VCommanderException
org.codehaus.jettison.json.JSONException - If there is a syntax errorVCommanderException - If something goes wrongCopyright © 2016–2021. All rights reserved.