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 Summary
Constructors Constructor Description AuthRegistrationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
int
hashCode()
boolean
isEmailAsUsername()
Indicates that the registered user's username should always be set from their email.boolean
isRequirePasswordConfirmationField()
Whether the registration form requires that there be a password confirmation field where the user has to re-enter their password.void
setEmailAsUsername(boolean emailAsUsername)
Indicates that the registered user's username should always be set from their email.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.String
toString()
-
-
-
Method Detail
-
isEmailAsUsername
public boolean isEmailAsUsername()
Indicates that the registered user's username should always be set from their email.
-
isRequirePasswordConfirmationField
public 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.
-
setEmailAsUsername
public void setEmailAsUsername(boolean emailAsUsername)
Indicates that the registered user's username should always be set from their email.
-
setRequirePasswordConfirmationField
public 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.
-
canEqual
protected boolean canEqual(Object other)
-
-