public class PasswordEditorChip extends AbstractChip implements SpecialParamEditor
| Modifier and Type | Field and Description |
|---|---|
protected int |
minPasswordLength |
static String |
REPEAT_NEW |
static String |
SET_NEW_PASSWORD |
protected String |
theNewPassword |
protected String |
theRepeat |
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
PasswordEditorChip(DisplayState displayState,
Chip parent)
Creates a new instance of PasswortEditorChip
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canChange() |
boolean |
canRead() |
protected void |
checkPasswordPolicyCompliance(String encoding) |
List |
getAttributeNames() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
String |
getNewPassword() |
String |
getPasswordFromDatabase() |
String |
getRepeat() |
User |
getUser() |
ComposedType |
getUserType() |
void |
processEvents(Map events)
Handles all incoming requests for this chip.
|
void |
reload() |
void |
save() |
void |
setMainAttributeName(String name) |
void |
setParameter(String parameter) |
void |
setParameters(Map parameterMap)
Implement this method in your SpecialEditor to obtain parameters given in the hmc.xml configuration.
|
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, translateFormFieldToEventValueequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEventListener, checkValid, dispose, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getID, getJaloSession, getMenuEntries, getParent, getUniqueName, goFullScreen, isValid, leaveFullScreen, registerUniqueName, removeEventListener, render, translateFormFieldToEventName, translateFormFieldToEventValuepublic static final String SET_NEW_PASSWORD
public static final String REPEAT_NEW
protected String theNewPassword
protected String theRepeat
protected int minPasswordLength
public PasswordEditorChip(DisplayState displayState, Chip parent)
public String getJSPURI()
public void processEvents(Map events)
processEvents in interface Chippublic void save()
save in interface SpecialSaveChipprotected void checkPasswordPolicyCompliance(String encoding)
public void reload()
reload in interface SpecialReloadChippublic String getNewPassword()
public String getRepeat()
public void setMainAttributeName(String name)
setMainAttributeName in interface SpecialEditorpublic List getAttributeNames()
getAttributeNames in interface SpecialEditorpublic String getPasswordFromDatabase()
public boolean canRead()
public boolean canChange()
public User getUser()
public ComposedType getUserType()
public void setParameter(String parameter)
setParameter in interface SpecialEditorpublic void setParameters(Map parameterMap)
SpecialParamEditorsetParameters in interface SpecialParamEditorparameterMap - map containing parameters for this editorCopyright © 2017 SAP SE. All Rights Reserved.