I have one utility class where i have one method which requires username and password to connect other url. I need to kept that username in properties file so that i can change
Or using the @Value over the non-static setter method for username eg.
@Value
username
@Value("${app.username}") public void setUserName(String userName) { UtilityClass.userName = userName; }