public class MainChip extends AbstractChip implements ExtraParamHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
CREATE |
static String |
LOGIN_NOT_ALLOWED |
static String |
PASSWORD_PARAM |
static String |
SET_LOGIN |
static String |
SET_PASSWORD |
static String |
SET_REMEMBERME |
static String |
USER_PARAM |
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
MainChip(DisplayState displayState,
Chip parent) |
| Modifier and Type | Method and Description |
|---|---|
Map |
getExtraParams() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
String |
getPassword() |
String |
getUser() |
void |
handleExtraParams(Map extraParams)
Deprecated.
is no longer used, login via url is done in
HMCMasterServlet |
protected static boolean |
hmcLoginDisabled(Collection<UserGroup> groups,
Collection<UserGroup> visitedGroups) |
static boolean |
hmcLoginDisabled(User user) |
boolean |
isAutoLogin() |
boolean |
isLoggedIn() |
boolean |
isRememberMe() |
void |
processEvents(Map events)
Handles all incoming requests for this chip.
|
void |
setAutoLogin(boolean autoLogin) |
void |
setPassword(String string) |
void |
setUser(String string) |
protected void |
transferSession(JaloSession jaloSession,
String login,
String password)
Performs the login by calling the
JaloSession.transfer(Map, boolean) method. |
addEventListener, checkValid, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getMenuEntries, getNameSpace, getNameSpaceFor, getParent, getProposedUniqueName, getProposedUniqueNameFor, getRequestFocus, getSessionIdentifier, getStringValue, getUniqueName, getWindow, goFullScreen, hasVisibleContextMenuEntries, isButtonPushed, isButtonPushed, isErrorQueueEmpty, isValid, leaveFullScreen, notifyEventListeners, notifyEventListeners, postErrorMessage, postInfoMessage, postWindowEvent, refresh, refreshChild, registerUniqueName, removeEventListener, removeInfoMessage, render, render, setClipboard, setParent, setRequestFocus, setValid, setWindowStatus, translateFormFieldToEventName, translateFormFieldToEventValuepublic static final String CREATE
public static final String SET_LOGIN
public static final String SET_PASSWORD
public static final String SET_REMEMBERME
public static final String USER_PARAM
public static final String PASSWORD_PARAM
public static final String LOGIN_NOT_ALLOWED
public MainChip(DisplayState displayState, Chip parent)
public boolean isRememberMe()
public void processEvents(Map events)
ChipprocessEvents in interface Chippublic static boolean hmcLoginDisabled(User user)
protected static boolean hmcLoginDisabled(Collection<UserGroup> groups, Collection<UserGroup> visitedGroups)
public String getJSPURI()
Chip@Deprecated public void handleExtraParams(Map extraParams)
HMCMasterServlethandleExtraParams in interface ExtraParamHandlerpublic boolean isLoggedIn()
public boolean isAutoLogin()
public void setAutoLogin(boolean autoLogin)
public String getPassword()
public String getUser()
public void setPassword(String string)
public void setUser(String string)
public Map getExtraParams()
protected void transferSession(JaloSession jaloSession, String login, String password) throws JaloSecurityException
JaloSession.transfer(Map, boolean) method. Override this method if you
want to customize the login procedure.JaloSecurityExceptionCopyright © 2017 SAP SE. All Rights Reserved.