public class BaseAction
extends com.opensymphony.xwork2.ActionSupport
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
authenticated |
protected CrowdClient |
crowdClient |
protected CrowdHttpAuthenticator |
crowdHttpAuthenticator |
protected org.slf4j.Logger |
logger |
protected User |
remoteUser |
protected int |
tab |
| Constructor and Description |
|---|
BaseAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
doDefault() |
CrowdClient |
getCrowdClient() |
CrowdHttpAuthenticator |
getCrowdHttpAuthenticator() |
String |
getDisplayName() |
User |
getRemoteUser() |
protected javax.servlet.http.HttpSession |
getSession() |
int |
getTab() |
boolean |
isAuthenticated()
Checks if a user is currently authenticated verses the Crowd server.
|
void |
setCrowdClient(CrowdClient crowdClient) |
void |
setCrowdHttpAuthenticator(CrowdHttpAuthenticator httpAuthenticator) |
void |
setTab(int tab) |
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validateprotected final org.slf4j.Logger logger
protected int tab
protected User remoteUser
protected Boolean authenticated
protected CrowdClient crowdClient
protected CrowdHttpAuthenticator crowdHttpAuthenticator
public String doDefault()
public String getDisplayName() throws InvalidAuthenticationException
InvalidAuthenticationExceptionpublic User getRemoteUser() throws InvalidAuthenticationException
InvalidAuthenticationExceptionpublic boolean isAuthenticated()
true if and only if the user is currently authenticated, otherwise false.protected javax.servlet.http.HttpSession getSession()
public int getTab()
public void setTab(int tab)
public CrowdClient getCrowdClient()
public void setCrowdClient(CrowdClient crowdClient)
public CrowdHttpAuthenticator getCrowdHttpAuthenticator()
public void setCrowdHttpAuthenticator(CrowdHttpAuthenticator httpAuthenticator)
Copyright © 2019 Atlassian. All rights reserved.