Skip to content

Instantly share code, notes, and snippets.

@wkorando
Last active December 30, 2019 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wkorando/c372b2d87ea774a9cae22c0d3739c9ba to your computer and use it in GitHub Desktop.
Save wkorando/c372b2d87ea774a9cae22c0d3739c9ba to your computer and use it in GitHub Desktop.
@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