com.softwareag.cis.plugin.adapter
Class LoginAdapter

java.lang.Object
  extended by com.softwareag.cis.server.Adapter
      extended by com.softwareag.cis.plugin.adapter.util.CommonAdapter
          extended by com.softwareag.cis.plugin.adapter.LoginAdapter
All Implemented Interfaces:
com.softwareag.cis.server.IAdapter, com.softwareag.cis.server.IServerLogConstants, com.softwareag.cis.util.IControlStatusConstants

public class LoginAdapter
extends CommonAdapter

The commonly used adapter when no login page (with it's own adapter) is explicitly specified.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.softwareag.cis.server.Adapter
com.softwareag.cis.server.Adapter.CISAddons, com.softwareag.cis.server.Adapter.FrameMessage, com.softwareag.cis.server.Adapter.ICISStyleAddon, com.softwareag.cis.server.Adapter.LivingPopupFunctions
 
Field Summary
static java.lang.String PARM_INM_GUEST_PASSWORD
           
static java.lang.String PARM_INM_GUEST_USER
           
 
Fields inherited from class com.softwareag.cis.server.Adapter
DT_BARS, DT_LINES, DT_POINTS, FIELD_BOTHIDANDTEXT, FIELD_ONLYID, FIELD_ONLYTEXT, MLMSG, MT_ERROR, MT_ERROR_MULTILINE, MT_SUCCESS, MT_SUCCESS_MULTILINE, MT_WARNING, MT_WARNING_MULTILINE, POP_POS_CLICK
 
Fields inherited from interface com.softwareag.cis.server.IServerLogConstants
LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_WARNING
 
Fields inherited from interface com.softwareag.cis.util.IControlStatusConstants
CS_DISPLAY, CS_EDIT, CS_ERROR, CS_ERROR_DISPLAY, CS_ERROR_NO_FOCUS, CS_FOCUS, CS_INVISIBLE
 
Constructor Summary
LoginAdapter()
           
 
Method Summary
 void about()
           
 void clear()
          Avoid memory leakage (P293803)
 void close()
          CommonAdapter.closePage() if the page is running in pop-up.
 void closePage()
          Close the page.
 void destroy()
          If a session is taken out of the session management then its contents is "destroyed".
 void doClear()
           
 void doSubmit()
          Called on login page submit.
 void endProcess()
          Just close the page without prompting.
 java.lang.String getAbout()
           
 GlobalCommandContext getActionContext()
           
 java.lang.String getLogo()
           
 java.lang.String getPassword()
           
 java.lang.String getSoftwareAGHome()
           
 java.lang.String getStyle()
           
 java.lang.String getUsername()
           
 java.lang.String getUsernameStatus()
           
 void init()
          Called when this adapter instance is being created.
 void popUpSAGHome()
           
 void reactOnDataCollectionStart()
           
 void reactOnDataTransferEnd()
           
 void setActionContext(GlobalCommandContext actionContext)
           
 void setPassword(java.lang.String value)
           
 void setUsername(java.lang.String value)
           
 void setUsernameStatus(java.lang.String value)
           
 void switchToInitialView()
           
 
Methods inherited from class com.softwareag.cis.plugin.adapter.util.CommonAdapter
activate, addRecentlyProcessedAdapter, executeDeferred, executeDeferred, executeEndProcess, executeIfAllowedToLooseFocus, executeNow, findKnownAdapters, findRelatedMenuExtensionId, getAdapter, getAdapterForSubSession, getApplicationContext, getBaseAdapter, getCurrentAdapters, getLocale, getLocale, getPreviousAdapter, getWorkplaceAdapter, handleErrorDuringGetPhase, handleErrorDuringInitPhase, handleErrorDuringInvokePhase, handleErrorDuringSetPhase, handleRefreshRequest, hasBeenActivated, isAlive, isClosed, isDeadAdapter, passivate, reactOnDataCollectionEnd, reactOnDataTransferStart, refreshTargetIfNeeded, registerActivity, removeKnownAdapter, switchToPage, unregisterActivity
 
Methods inherited from class com.softwareag.cis.server.Adapter
addAccessPathExtension, addAdapterListener, addPagePopupCommand, appendHTMLToPageName, applyFilterDataCollection, checkIfAdapterExists, checkIfAdapterExists, checkIfAdapterExists, checkIfAdapterExists, checkIfInDevelopmentMode, checkIsPopupClosing, checkIsPopupOpening, closePagePopup, closeTitleBarPopup, closeWindow, deserialize, findAccessPathExtensions, findAdapter, findAdapter, findAdapter, findAdapter, findAdapter, findAdapter, findAdapter, findAdapter, findAdapter, findAdapterForPage, findAdapterForPage, findAdapterId, findAdapterListener, findAdditionalAdaptersInRepsonse, findCISSessionContext, findCurrentlyProcessedAdapter, findCurrentlyProcessedMethod, findCurrentlyRequestedAdapter, findFilterDataCollection, findFunctionsLivingPopup, findHelpId, findHttpServletRequest, findHttpServletResponse, findInitParam, findInitParamMap, findInteractionObjectInfo, findPageApplication, findPageContextRoot, findPageFileName, findPagePixelHeight, findPagePixelWidth, findPageURL, findRepeatIndex, findSAMLArtifact, findServletContext, findSessionContext, findSessionId, findSubSessionContext, findSubsessionId, findValueRequestProperty, forcePageReload, getCISAddons, getCISContextMenuItems, getCISFIELDTextIdMode, getCISObjects1, getCloseWindow, getDateDisplay, getDecimalSeparator, getDisplayType, getFdiw, getForcePageReload, getFrameMessages, getIntPopupsEnabled, getIsDisplayTypeSWT, getLanguage, getMessageLongText, getMessageShortText, getMessageType, getNextPage, getNextPageId, getNextPagePopupCommands, getNextPopup, getNextPopupFeatures, getNextPopupId, getNextPopupMenuFeatures, getNextPopupModal, getNextPopupOnCloseMethod, getNextPopupOnCloseProperty, getNextPopupOnClosePropertyV, getNextPopupSessionId, getNextPopupSubsessionId, getNextPopupTitle, getPageName, getPagePopupCommands, getRefreshParent, getTimeDisplay, getTimeZoneOffset, getXMLDataMode, includeAdapterInResponse, includeAdapterInResponse, includeAdapterInResponse, includeAdapterInResponse, invokeMethodInTarget, isRunningInPopup, isSubPageRefresh, markSubPageAdapterForDestroy, markThisAdapterForDestroy, openCISPageInNewWindow, openCISPageInTarget, openCISPageInTarget, openCISPageInTarget, openIdValueCombo, openIdValueComboOrPopup, openIdValueHelp, openModelessPopup, openModelessPopup, openModelessPopup, openPageAndRestartSession, openPageInNewWindow, openPageInTarget, openPagePopup, openPagePopup, openPopup, openPopup, openPopupInDiv, openPopupInNewSubSession, outputMessage, outputMessage, outputMessage, processAsDefault, reactOnDataCollectionEndInternal, reactOnHelpRequestForHelpId, reactOnInvokePhaseEnd, reactOnInvokePhaseStart, reactOnMFWorkplaceActivityRestart, reactOnMFWorkplaceActivityStart, reactOnPopupClosedByUser, reactOnPopupMenuClosedByUser, reactOnRequestProcessingStart, reactonStatusBarHelpRequest, refreshParent, refreshScreenOccuranceOfAdapter, refreshScreenOccuranceOfAdapter, refreshScreenOccuranceOfAdapter, refreshTarget, removeAdapterListener, replaceLiteral, replaceLiteral, replaceLiteral, replaceLiteral, replaceLiteralFromProject, replaceLiteralFromProject, replaceLiteralFromProject, replaceLiteralFromProject, repointFocusInScreen, repointFocusInScreen, repointFocusInScreen, serialize, setAdapterName, setApplication, setCISubPageRefresh, setCurrentlyProcessedAdapter, setCurrentlyRequestedAdapter, setDateDisplay, setDecimalSeparator, setDisplayType, setInteractionAdapterId, setInteractionProcess, setIntPopupsEnabled, setIsPopup, setLanguage, setPageFileName, setPageInitParam, setPageInitParamMap, setPageName, setPagePixelHeight, setPagePixelWidth, setPageURL, setParam1, setParam2, setPopupFeatures, setPopupFeatures, setPopupMenuFeatures, setPopupOnCloseMethod, setPopupTitle, setRepeatIndex, setStyle, setTimeDisplay, setTimeZoneOffset, setTraceCheckValue, setXMLDataMode, showPopupMenu, showPopupMenu, sizeTarget, switchScreenOccuranceOfSubsession, switchToPage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARM_INM_GUEST_USER

public static final java.lang.String PARM_INM_GUEST_USER
See Also:
Constant Field Values

PARM_INM_GUEST_PASSWORD

public static final java.lang.String PARM_INM_GUEST_PASSWORD
See Also:
Constant Field Values
Constructor Detail

LoginAdapter

public LoginAdapter()
Method Detail

init

public void init()
Called when this adapter instance is being created.

Specified by:
init in interface com.softwareag.cis.server.IAdapter
Overrides:
init in class com.softwareag.cis.server.Adapter

doSubmit

public void doSubmit()
Called on login page submit.


about

public void about()

getAbout

public java.lang.String getAbout()

getLogo

public java.lang.String getLogo()

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String value)

getUsername

public java.lang.String getUsername()

setUsername

public void setUsername(java.lang.String value)

getUsernameStatus

public java.lang.String getUsernameStatus()

setUsernameStatus

public void setUsernameStatus(java.lang.String value)

switchToInitialView

public void switchToInitialView()

getStyle

public java.lang.String getStyle()
Overrides:
getStyle in class com.softwareag.cis.server.Adapter

doClear

public void doClear()

getSoftwareAGHome

public java.lang.String getSoftwareAGHome()

popUpSAGHome

public void popUpSAGHome()

clear

public void clear()
Avoid memory leakage (P293803)


closePage

public void closePage()
Description copied from class: CommonAdapter
Close the page.

Overrides:
closePage in class CommonAdapter

endProcess

public void endProcess()
Description copied from class: CommonAdapter
Just close the page without prompting.

Overrides:
endProcess in class CommonAdapter

destroy

public void destroy()
Description copied from class: CommonAdapter
If a session is taken out of the session management then its contents is "destroyed".

Specified by:
destroy in interface com.softwareag.cis.server.IAdapter
Overrides:
destroy in class CommonAdapter

close

public void close()
Description copied from class: CommonAdapter
CommonAdapter.closePage() if the page is running in pop-up. CommonAdapter.endProcess() otherwise.

Overrides:
close in class CommonAdapter

reactOnDataCollectionStart

public void reactOnDataCollectionStart()
Specified by:
reactOnDataCollectionStart in interface com.softwareag.cis.server.IAdapter
Overrides:
reactOnDataCollectionStart in class CommonAdapter

reactOnDataTransferEnd

public void reactOnDataTransferEnd()
Specified by:
reactOnDataTransferEnd in interface com.softwareag.cis.server.IAdapter
Overrides:
reactOnDataTransferEnd in class CommonAdapter

setActionContext

public void setActionContext(GlobalCommandContext actionContext)

getActionContext

public GlobalCommandContext getActionContext()