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") LoginResponse loginUserInDomainWithHashOfPassword(String userName, String domain, String hashedPassword)
userName
- user account namedomain
- domain name, if empty defaults to ROOThashedPassword
- hashed password (by default MD5)@Named(value="logout") void logoutUser(String sessionKey)
sessionKey
- user session keyCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.