public class PasswordEditorChip extends AbstractChip implements SpecialParamEditor
| Modifier and Type | Field and Description |
|---|---|
protected int |
minPasswordLength |
static java.lang.String |
REPEAT_NEW |
static java.lang.String |
SET_NEW_PASSWORD |
protected java.lang.String |
theNewPassword |
protected java.lang.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(java.lang.String encoding) |
java.util.List |
getAttributeNames() |
java.lang.String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
java.lang.String |
getNewPassword() |
java.lang.String |
getPasswordFromDatabase() |
java.lang.String |
getRepeat() |
User |
getUser() |
ComposedType |
getUserType() |
void |
processEvents(java.util.Map events)
Handles all incoming requests for this chip.
|
void |
reload() |
void |
save() |
void |
setMainAttributeName(java.lang.String name) |
void |
setParameter(java.lang.String parameter) |
void |
setParameters(java.util.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 java.lang.String SET_NEW_PASSWORD
public static final java.lang.String REPEAT_NEW
protected java.lang.String theNewPassword
protected java.lang.String theRepeat
protected int minPasswordLength
public PasswordEditorChip(DisplayState displayState, Chip parent)
public java.lang.String getJSPURI()
public void processEvents(java.util.Map events)
processEvents in interface Chippublic void save()
save in interface SpecialSaveChipprotected void checkPasswordPolicyCompliance(java.lang.String encoding)
public void reload()
reload in interface SpecialReloadChippublic java.lang.String getNewPassword()
public java.lang.String getRepeat()
public void setMainAttributeName(java.lang.String name)
setMainAttributeName in interface SpecialEditorpublic java.util.List getAttributeNames()
getAttributeNames in interface SpecialEditorpublic java.lang.String getPasswordFromDatabase()
public boolean canRead()
public boolean canChange()
public User getUser()
public ComposedType getUserType()
public void setParameter(java.lang.String parameter)
setParameter in interface SpecialEditorpublic void setParameters(java.util.Map parameterMap)
SpecialParamEditorsetParameters in interface SpecialParamEditorparameterMap - map containing parameters for this editorCopyright © 2017 SAP SE. All Rights Reserved.