public class UserPasswordPanelRenderer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
SCLASS_EDITOR_CONFIRM |
protected static java.lang.String |
SCLASS_EDITOR_SPACER |
| Constructor and Description |
|---|
UserPasswordPanelRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected Combobox |
createEncryptionChooser(UserModel user,
boolean enabled)
Create combobox containing list of password encryption methods to choose from
|
protected <any> |
createPasswordChangeListener(UserModel user,
Textbox passwordTextbox,
Textbox passwordConfirmationTextbox,
Combobox encryptionChooser,
Label messageLabel,
WidgetInstanceManager widgetInstanceManager)
Create listener for password change
|
protected Component |
createPasswordContainer() |
protected Textbox |
createPasswordTextbox(boolean enabled)
Create textbox for password
|
protected java.util.Collection<java.lang.String> |
getInstalledPasswordEncodings() |
protected PasswordPolicyService |
getPasswordPolicyService() |
protected PermissionFacade |
getPermissionFacade() |
protected UserService |
getUserService() |
void |
render(Component component,
CustomPanel abstractPanelConfiguration,
java.lang.Object object,
DataType dataType,
WidgetInstanceManager widgetInstanceManager) |
void |
setPasswordPolicyService(PasswordPolicyService passwordPolicyService) |
void |
setPermissionFacade(PermissionFacade permissionFacade) |
void |
setUserService(UserService userService) |
protected static final java.lang.String SCLASS_EDITOR_SPACER
protected static final java.lang.String SCLASS_EDITOR_CONFIRM
public void render(Component component,
CustomPanel abstractPanelConfiguration,
java.lang.Object object,
DataType dataType,
WidgetInstanceManager widgetInstanceManager)
protected Component createPasswordContainer()
protected Combobox createEncryptionChooser(UserModel user, boolean enabled)
user - user for which the password is being editedenabled - should the combobox be enabledprotected java.util.Collection<java.lang.String> getInstalledPasswordEncodings()
protected Textbox createPasswordTextbox(boolean enabled)
enabled - should the combobox be enabledprotected <any> createPasswordChangeListener(UserModel user, Textbox passwordTextbox, Textbox passwordConfirmationTextbox, Combobox encryptionChooser, Label messageLabel, WidgetInstanceManager widgetInstanceManager)
user - user for which the password is being editedpasswordTextbox - textbox containing passwordpasswordConfirmationTextbox - textbox containing password confirmationencryptionChooser - combobox containing password encryption methodsmessageLabel - label for eventual messages (e.g. password and confirmation don't match)widgetInstanceManager - protected UserService getUserService()
public void setUserService(UserService userService)
protected PermissionFacade getPermissionFacade()
public void setPermissionFacade(PermissionFacade permissionFacade)
protected PasswordPolicyService getPasswordPolicyService()
public void setPasswordPolicyService(PasswordPolicyService passwordPolicyService)
Copyright © 2018 SAP SE. All Rights Reserved.