com.netgrif.application.engine.configuration.properties.SecurityConfigProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine.configuration.properties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import java.util.List;
@Data
@Configuration
@ConfigurationProperties(prefix = "nae.server.security")
public class SecurityConfigProperties {
/**
* Defines whether Cross Site Request Forgery is enabled
*/
private boolean csrf = true;
/**
* Enable CORS (Cross-Origin Resource)
*/
private boolean cors = true;
/**
* List of Origins for CORS
* Example: nae.server.security.allowed-origins=http://localhost:4200
*/
private List allowedOrigins;
/**
* Headers settings
*/
private Headers headers;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy