org.infoglue.deliver.applications.actions
Class ExtranetLoginAction
java.lang.Object
org.infoglue.cms.applications.common.actions.WebworkAbstractAction
org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
org.infoglue.deliver.applications.actions.ExtranetLoginAction
- All Implemented Interfaces:
- java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
public final class ExtranetLoginAction
- extends InfoGlueAbstractAction
This class is meant to be the authentication central for extranet users.
It has methods for login-forms, authenticate-methods and much more.
- See Also:
- Serialized Form
| Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction |
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getLanguageCode, getLocale, getLogger, getLogoutURL, getOriginalFullURL, getParameter, getPrincipalPropertyHashValues, getPrincipalPropertyValue, getPrincipalPropertyValue, getSessionTimeout, getSingleParameter, getThis, getToolId, getToolLocales, getURLBase, hasAccessTo, hasAccessTo, rollbackTransaction, setColorScheme, setLanguageCode, setToolId |
| Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction |
doDefault, execute, getBrowserBean, getCurrentUrl, getError, getErrors, getHttpSession, getInfoGluePrincipal, getLocalizedString, getRequest, getResponse, getRoot, getSession, setCommand, setError, setServletRequest, setServletResponse |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtranetLoginAction
public ExtranetLoginAction()
doExecute
public java.lang.String doExecute()
throws java.lang.Exception
- Description copied from class:
WebworkAbstractAction
- Subclasses implement this
- Specified by:
doExecute in class WebworkAbstractAction
- Throws:
java.lang.Exception
doLoginForm
public java.lang.String doLoginForm()
throws java.lang.Exception
- Throws:
java.lang.Exception
doNoAccess
public java.lang.String doNoAccess()
throws java.lang.Exception
- Throws:
java.lang.Exception
doInvalidLogin
public java.lang.String doInvalidLogin()
throws java.lang.Exception
- Throws:
java.lang.Exception
doCheckUser
public java.lang.String doCheckUser()
throws java.lang.Exception
- Throws:
java.lang.Exception
doAuthenticateUser
public java.lang.String doAuthenticateUser()
throws java.lang.Exception
- Throws:
java.lang.Exception
doLogout
public java.lang.String doLogout()
throws java.lang.Exception
- This command invalidates the current session and then calls the authentication module logout method so it can
do it's stuff. Sometimes it involves redirecting the user somewhere and then we returns nothing in this method.
- Throws:
java.lang.Exception
urlEncode
public java.lang.String urlEncode(java.lang.String string,
java.lang.String encoding)
getEnableExtranetCookies
public boolean getEnableExtranetCookies()
- This method gets if extranet cookies are allowed or not.
- Returns:
setUserName
public void setUserName(java.lang.String userName)
getUserName
public java.lang.String getUserName()
- Description copied from class:
InfoGlueAbstractAction
- Get the username for the currently logged in user
- Overrides:
getUserName in class InfoGlueAbstractAction
setPassword
public void setPassword(java.lang.String password)
getPassword
public java.lang.String getPassword()
setJ_username
public void setJ_username(java.lang.String userName)
getJ_username
public java.lang.String getJ_username()
setJ_password
public void setJ_password(java.lang.String password)
getJ_password
public java.lang.String getJ_password()
getErrorMessage
public java.lang.String getErrorMessage()
getReturnAddress
public java.lang.String getReturnAddress()
setReturnAddress
public void setReturnAddress(java.lang.String returnAddress)
getReferer
public java.lang.String getReferer()
setReferer
public void setReferer(java.lang.String referer)
setStoreUserInfoCookie
public void setStoreUserInfoCookie(java.lang.String storeUserInfoCookie)
Copyright © 2005 InfoGlue.org All Rights Reserved.