
be.tomcools.rickrollsecurity.RickRollConfigurationProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rickroll-security-spring-boot-starter Show documentation
Show all versions of rickroll-security-spring-boot-starter Show documentation
Redirects common security endpoints to Rick Astley - Never Gonna Give You Up
package be.tomcools.rickrollsecurity;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import java.util.ArrayList;
import java.util.List;
@Configuration
@ConfigurationProperties(prefix = "rickroll")
public class RickRollConfigurationProperties {
private List paths;
public List getPaths() {
if(paths == null) {
return new ArrayList<>();
}
return paths;
}
public void setPaths(List paths) {
this.paths = paths;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy