@PrePersist
	@PreUpdate
	public void init() {
		this.userId = trim(this.userId);
		this.userName = trim(this.userName);
		this.email = getSafe(trim(this.email), "");
		this.enabled = getSafe(this.enabled, true);
		this.external = getSafe(this.enabled);
		this.role = getSafe(this.role, Role.USER);
	}
Constructor.

@param userId   user id
@param name     user name
@param password password
@param role     role
@deprecated
ngrinder-core/src/main/java/org/ngrinder/model/User.java