- build
- password
Populates the password. This attribute is required.
- roles
Populates the roles. This method is a shortcut for calling
#authorities(String...), but automaticall
- username
Populates the username. This attribute is required.
- authorities
Populates the authorities. This attribute is required.
- disabled
Defines if the account is disabled or not. Default is false.
- accountExpired
Defines if the account is expired or not. Default is false.
- accountLocked
Defines if the account is locked or not. Default is false.
- credentialsExpired
Defines if the credentials are expired or not. Default is false.
- passwordEncoder
Encodes the current password (if non-null) and any future passwords supplied to
#password(String).