public class EncryptedPasswordEditorChip extends PasswordEditorChip
PasswordEditorChip with additionally encryption
functionality.| Modifier and Type | Field and Description |
|---|---|
static String |
SET_ENCRYPTION |
minPasswordLength, REPEAT_NEW, SET_NEW_PASSWORD, theNewPassword, theRepeatCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
EncryptedPasswordEditorChip(DisplayState displayState,
Chip parent) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
determinateEncryptingMethod(User user)
Returns the user's currently used password encoding.
|
String |
getEncryptionMethod()
Returns the current password encryption method.
|
List<String> |
getInstalledEncryptionMethods()
Returns all available password encodings.
|
String |
getJSPURI()
Returns "/security/encryptedPasswordEditorChip.jsp".
|
void |
processEvents(Map events)
Processes
SET_ENCRYPTION, all other events will be directed to
PasswordEditorChip.processEvents(Map). |
void |
save() |
void |
setEncryptionMethod(String encryptionMethod)
Sets the encryption method to use.
|
canChange, canRead, checkPasswordPolicyCompliance, getAttributeNames, getNewPassword, getPasswordFromDatabase, getRepeat, getUser, getUserType, reload, setMainAttributeName, setParameter, setParametersaddEventListener, 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_ENCRYPTION
public EncryptedPasswordEditorChip(DisplayState displayState, Chip parent)
public String getJSPURI()
getJSPURI in interface ChipgetJSPURI in class PasswordEditorChipChip.getJSPURI()public void save()
save in interface SpecialSaveChipsave in class PasswordEditorChipSpecialSaveChip.save()public void processEvents(Map events)
SET_ENCRYPTION, all other events will be directed to
PasswordEditorChip.processEvents(Map).processEvents in interface ChipprocessEvents in class PasswordEditorChipChip.processEvents(java.util.Map)public List<String> getInstalledEncryptionMethods()
protected String determinateEncryptingMethod(User user)
public String getEncryptionMethod()
public void setEncryptionMethod(String encryptionMethod)
encryptionMethod - The method to use.Copyright © 2017 SAP SE. All Rights Reserved.