All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.rocketbase.commons.config.RegistrationProperties Maven / Gradle / Ivy

There is a newer version: 4.4.1
Show newest version
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;

    /**
     * should use verify it's email-adress
     */
    private boolean verification = true;

    /**
     * in minutes - default 1 day
     */
    private long verificationExpiration = 1440;

    private String role = "USER";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy