Class AuthRegistrationProperties
java.lang.Object
com.broadleafcommerce.auth.user.service.autoconfigure.AuthRegistrationProperties
@ConfigurationProperties("broadleaf.auth.registration")
public class AuthRegistrationProperties
extends Object
Configuration properties for special behavior on user registration.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()booleanIndicates that the registered user's username should always be set from their email.booleanWhether the registration form requires that there be a password confirmation field where the user has to re-enter their password.voidsetEmailAsUsername(boolean emailAsUsername) Indicates that the registered user's username should always be set from their email.voidsetRequirePasswordConfirmationField(boolean requirePasswordConfirmationField) Whether the registration form requires that there be a password confirmation field where the user has to re-enter their password.toString()
- 
Constructor Details- 
AuthRegistrationPropertiespublic AuthRegistrationProperties()
 
- 
- 
Method Details- 
isEmailAsUsernamepublic boolean isEmailAsUsername()Indicates that the registered user's username should always be set from their email.
- 
isRequirePasswordConfirmationFieldpublic boolean isRequirePasswordConfirmationField()Whether the registration form requires that there be a password confirmation field where the user has to re-enter their password. This must match the password field. This decreases the changes the user mistypes their password when registering.
- 
setEmailAsUsernamepublic void setEmailAsUsername(boolean emailAsUsername) Indicates that the registered user's username should always be set from their email.
- 
setRequirePasswordConfirmationFieldpublic void setRequirePasswordConfirmationField(boolean requirePasswordConfirmationField) Whether the registration form requires that there be a password confirmation field where the user has to re-enter their password. This must match the password field. This decreases the changes the user mistypes their password when registering.
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
- 
toString
 
-