Skip to content

Instantly share code, notes, and snippets.

@wkorando
Last active December 30, 2019 17:24
Embed
What would you like to do?
@ConfigurationProperties(prefix="my-org.cli.security")
public class CommandLineSecurityConfigurer {
/**
* The role a user must have to run the application.
*/
private String requiredRole;
public String getRequiredRole() {
return requiredRole;
}
public void setRequiredRole(String requiredRole) {
this.requiredRole = requiredRole;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment