|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.crowd.openid.client.action.BaseAction
public class BaseAction
Superclass for WebWork actions. Contains convenience methods for use in actions.
Field Summary | |
---|---|
static String |
AUTHENTICATED_PRINCIPAL_SESSION_KEY
|
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 | |
---|---|
boolean |
containsActionMessages()
Convenience method to check if action contains actionMessages. |
boolean |
containsErrorMessages()
Convenience method to check if action contains errorMessages. |
javax.servlet.http.HttpSession |
getHttpSession()
Convenience method for accessing the HttpSession object. |
OpenIDPrincipal |
getOpenIDPrincipal()
Retrieve the authenticated OpenIDPrincipal. |
String |
getPrincipalName()
Returns the "fullname" attribtue from the profile if present. |
boolean |
isAuthenticated()
Convenience method to check if the user is authenticated. |
void |
setOpenIDPrincipal(OpenIDPrincipal principal)
Puts the OpenIDPrincipal into session. |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doDefault, 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 |
---|
public static final String AUTHENTICATED_PRINCIPAL_SESSION_KEY
Constructor Detail |
---|
public BaseAction()
Method Detail |
---|
public boolean containsErrorMessages()
public boolean containsActionMessages()
public javax.servlet.http.HttpSession getHttpSession()
public void setOpenIDPrincipal(OpenIDPrincipal principal)
principal
- OpenIDPrincipal to put into session.public OpenIDPrincipal getOpenIDPrincipal()
public boolean isAuthenticated()
public String getPrincipalName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |