com.atlassian.bamboo.remoteapi.commands
Class LoginCommand
java.lang.Object
com.atlassian.bamboo.remoteapi.commands.AbstractCommand
com.atlassian.bamboo.remoteapi.commands.LoginCommand
public class LoginCommand
- extends AbstractCommand
This class uses the Bamboo rest api to logonto a Bamboo server.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoginCommand
public LoginCommand()
login
public String login(String serverUrl,
String username,
String password)
- Uses the remote api to login to the bamboo server
- Parameters:
serverUrl
- The URL of the bamboo serverusername
- The usernamepassword
- The password
- Returns:
- The session authentication token used to access the api methods, null if login failed
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.