public class BaseAction
extends com.opensymphony.xwork2.ActionSupport
Modifier and Type | Field and Description |
---|---|
static String |
AUTHENTICATED_PRINCIPAL_SESSION_KEY |
Constructor and Description |
---|
BaseAction() |
Modifier and Type | Method and Description |
---|---|
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.
|
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getLocaleProvider, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
public static final String AUTHENTICATED_PRINCIPAL_SESSION_KEY
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()
Copyright © 2020 Atlassian. All rights reserved.