Modifier and Type | Method and Description |
---|---|
LoginResponse |
loginUserInDomainWithHashOfPassword(String userName,
String domain,
String hashedPassword)
Logs a user into Cloudstack.
|
void |
logoutUser(String sessionKey)
Logs out the user by invalidating the session key
|
@Named(value="login") @GET @Consumes(value="application/json") LoginResponse loginUserInDomainWithHashOfPassword(@QueryParam(value="username") String userName, @QueryParam(value="domain") String domain, @QueryParam(value="password") String hashedPassword)
userName
- user account namedomain
- domain name, if empty defaults to ROOThashedPassword
- hashed password (by default MD5)@Named(value="logout") @GET void logoutUser(@QueryParam(value="sessionkey") String sessionKey)
sessionKey
- user session keyCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.