|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.atlassian.crowd.security.demo.action.BaseAction
public class BaseAction
| Field Summary | |
|---|---|
protected java.lang.Boolean |
authenticated
|
protected CrowdClient |
crowdClient
|
protected CrowdHttpAuthenticator |
crowdHttpAuthenticator
|
protected org.apache.log4j.Logger |
logger
|
protected User |
remoteUser
|
protected int |
tab
|
| Fields inherited from class com.opensymphony.xwork.ActionSupport |
|---|
LOG |
| Fields inherited from interface com.opensymphony.xwork.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
BaseAction()
|
|
| Method Summary | |
|---|---|
java.lang.String |
doDefault()
|
CrowdClient |
getCrowdClient()
|
CrowdHttpAuthenticator |
getCrowdHttpAuthenticator()
|
java.lang.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)
|
| Methods inherited from class com.opensymphony.xwork.ActionSupport |
|---|
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.log4j.Logger logger
protected int tab
protected User remoteUser
protected java.lang.Boolean authenticated
protected CrowdClient crowdClient
protected CrowdHttpAuthenticator crowdHttpAuthenticator
| Constructor Detail |
|---|
public BaseAction()
| Method Detail |
|---|
public java.lang.String doDefault()
doDefault in class com.opensymphony.xwork.ActionSupport
public java.lang.String getDisplayName()
throws InvalidAuthenticationException
InvalidAuthenticationException
public 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||