io.rocketbase.commons.config.RegistrationProperties Maven / Gradle / Ivy
package io.rocketbase.commons.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.annotation.Validated;
@Data
@ConfigurationProperties(prefix = "auth.registration")
@Validated
public class RegistrationProperties {
private boolean enabled = true;
private boolean verification = true;
private long verificationExpiration = 1440;
private String role = "USER";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy