|
||||||||||
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 Boolean |
authenticated
|
protected HttpAuthenticator |
httpAuthenticator
|
protected org.apache.log4j.Logger |
logger
|
protected SOAPPrincipal |
remotePrincipal
|
protected SecurityServerClient |
securityServerClient
|
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 | |
---|---|
SOAPAttribute |
buildAttribute(String key,
String value)
|
SOAPAttribute |
buildAttribute(String key,
String[] values)
|
String |
doDefault()
|
SOAPAttribute |
getAttribute(String name)
|
String |
getFirstAttribute(String name)
|
HttpAuthenticator |
getHttpAuthenticator()
|
String |
getPrincipalName()
|
SOAPPrincipal |
getRemotePrincipal()
|
SecurityServerClient |
getSecurityServerClient()
|
protected javax.servlet.http.HttpSession |
getSession()
|
int |
getTab()
|
boolean |
isAuthenticated()
Checks if a principal is currently authenticated verses the Crowd security server. |
void |
setHttpAuthenticator(HttpAuthenticator httpAuthenticator)
|
void |
setSecurityServerClient(SecurityServerClient securityServerClient)
|
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 SOAPPrincipal remotePrincipal
protected Boolean authenticated
protected SecurityServerClient securityServerClient
protected HttpAuthenticator httpAuthenticator
Constructor Detail |
---|
public BaseAction()
Method Detail |
---|
public String doDefault()
doDefault
in class com.opensymphony.xwork.ActionSupport
public String getPrincipalName() throws InvalidAuthenticationException
InvalidAuthenticationException
public SOAPPrincipal getRemotePrincipal() throws InvalidAuthenticationException
InvalidAuthenticationException
public String getFirstAttribute(String name) throws InvalidAuthenticationException
InvalidAuthenticationException
public boolean isAuthenticated()
true
if and only if the principal is currently authenticated, otherwise false
.public SOAPAttribute getAttribute(String name) throws InvalidAuthenticationException
InvalidAuthenticationException
public SOAPAttribute buildAttribute(String key, String value)
public SOAPAttribute buildAttribute(String key, String[] values)
protected javax.servlet.http.HttpSession getSession()
public int getTab()
public void setTab(int tab)
public SecurityServerClient getSecurityServerClient()
public void setSecurityServerClient(SecurityServerClient securityServerClient)
public HttpAuthenticator getHttpAuthenticator()
public void setHttpAuthenticator(HttpAuthenticator httpAuthenticator)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |