How can i access web-app.properties data by key?

How can i acces properties in this files by property key?

Create your own configuration interface: Using Configuration Interfaces - CUBA Platform. Developer’s Manual

Something like:

@Source(type = SourceType.APP)
public interface SalesConfig extends Config {
    @Property("sales.companyName")
    String getCompanyName();

    @Property("sales.ftpPassword")
    @Secret
    String getFtpPassword();
}

Then get it using Configuration bean:

@Inject
protected Configuration configuration;
...
String name = configuration.getConfig(SalesConfig.class).getCompanyName();