Last active
December 30, 2019 17:24
-
-
Save wkorando/c372b2d87ea774a9cae22c0d3739c9ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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