public class WritableUserModelProxy extends UserModelDelegate
UserModel.RequiredAction
Modifier and Type | Field and Description |
---|---|
protected FilePropertiesFederationProvider |
provider |
delegate
EMAIL, FIRST_NAME, LAST_NAME, USERNAME
Constructor and Description |
---|
WritableUserModelProxy(UserModel delegate,
FilePropertiesFederationProvider provider) |
Modifier and Type | Method and Description |
---|---|
void |
setUsername(String username)
Updates the properties file if the username changes.
|
void |
updateCredential(UserCredentialModel cred) |
void |
updateCredentialDirectly(UserCredentialValueModel cred) |
addRequiredAction, deleteRoleMapping, getApplicationRoleMappings, getAttribute, getAttributes, getCredentialsDirectly, getEmail, getFederationLink, getFirstName, getId, getLastName, getRealmRoleMappings, getRequiredActions, getRoleMappings, getUsername, grantRole, hasRole, isEmailVerified, isEnabled, isTotp, removeAttribute, removeRequiredAction, setAttribute, setEmail, setEmailVerified, setEnabled, setFederationLink, setFirstName, setLastName, setTotp
protected FilePropertiesFederationProvider provider
public WritableUserModelProxy(UserModel delegate, FilePropertiesFederationProvider provider)
public void setUsername(String username)
setUsername
in interface UserModel
setUsername
in class UserModelDelegate
username
- public void updateCredentialDirectly(UserCredentialValueModel cred)
updateCredentialDirectly
in interface UserModel
updateCredentialDirectly
in class UserModelDelegate
public void updateCredential(UserCredentialModel cred)
updateCredential
in interface UserModel
updateCredential
in class UserModelDelegate
Copyright © 2015. All Rights Reserved.