com.atlassian.bamboo.rest
Class Login
java.lang.Object
ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.webwork.AbstractAction
com.atlassian.bamboo.rest.Login
- All Implemented Interfaces:
- ErrorCollection, BambooSessionAware, ReturnUrlAware
public class Login
- extends AbstractAction
This class lets a remote user login to obtain a session to access the REST API
Constructor Summary |
Login()
|
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
addError, addError, addErrorCollection, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, doesLabelKeyHaveMatchingDescription, getAsPreformattedText, getBambooSession, getBreadCrumbs, getBuildManager, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentUrl, getDescriptionFromLabelKey, getFlushedErrorMessages, getReturnUrl, getUser, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, hasAnyErrors, hasBuilds, hasPerm, isEnableSignup, isSelectFieldAndNull, setAuthenticationContext, setBambooPermissionManager, setBuildManager, setCookieCutter, setErrorMessages, setHtmlUtils, setReturnUrl, setWebInterfaceManager, setWebResourceManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Login
public Login()
setUsername
public void setUsername(String username)
- Passed in by the caller - as an http param
- Parameters:
username
- The name of the user logging in
setPassword
public void setPassword(String password)
- Passed in by the caller - as an http param
- Parameters:
password
-
doExecute
public String doExecute()
throws Exception
- Description copied from class:
AbstractAction
- Places the current user on the page
- Overrides:
doExecute
in class AbstractAction
- Returns:
- webwork success status
- Throws:
Exception
- something nasty went wrong
getSessionId
public String getSessionId()
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.