public class UserPasswordPanelRenderer extends Object
| 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 Textbox |
createPasswordTextbox(boolean enabled)
Create textbox for password
|
protected PasswordPolicyService |
getPasswordPolicyService() |
protected PermissionFacade |
getPermissionFacade() |
protected UserService |
getUserService() |
void |
render(Component component,
CustomPanel abstractPanelConfiguration,
Object object,
DataType dataType,
WidgetInstanceManager widgetInstanceManager) |
void |
setPasswordPolicyService(PasswordPolicyService passwordPolicyService) |
void |
setPermissionFacade(PermissionFacade permissionFacade) |
void |
setUserService(UserService userService) |
public void render(Component component,
CustomPanel abstractPanelConfiguration,
Object object,
DataType dataType,
WidgetInstanceManager widgetInstanceManager)
protected Combobox createEncryptionChooser(UserModel user, boolean enabled)
user - user for which the password is being editedenabled - should the combobox be enabledprotected 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 © 2017 SAP SE. All Rights Reserved.