You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2016/09/02 10:56:21 UTC

[jira] [Updated] (TOMEE-1921) [tomee embedded] support to load configuration from a properties file in the classpath

     [ https://issues.apache.org/jira/browse/TOMEE-1921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau updated TOMEE-1921:
--------------------------------------
    Description: 
All Configuration fields are mapped with the following convention for advanced case:

- realm = qualified name and realm.property = value for the realm
- connector.xxx as already available through properties for the connector
- properties.name = value for container properties
- login = , login.property = value for LoginConfigBuilder
- securityConstraint = , securityConstraint.property = value for SecurityConstaintBuilder

this setup needs to call configuration.loadFromClasspath(propertiesPath) method or use the wiring of that method in arquillian tomee embedded adapter or tomee main

  was:
All Configuration fields are mapped with the following convention for advanced case:

- realm = qualified name and realm.property = value for the realm
- connector.xxx as already available through properties for the connector
- properties.name = value for container properties
- login = , login.property = value for LoginConfigBuilder
- securityConstraint = , securityConstraint.property = value for SecurityConstaintBuilder


> [tomee embedded] support to load configuration from a properties file in the classpath
> --------------------------------------------------------------------------------------
>
>                 Key: TOMEE-1921
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1921
>             Project: TomEE
>          Issue Type: Improvement
>            Reporter: Romain Manni-Bucau
>            Assignee: Romain Manni-Bucau
>             Fix For: 7.0.2
>
>
> All Configuration fields are mapped with the following convention for advanced case:
> - realm = qualified name and realm.property = value for the realm
> - connector.xxx as already available through properties for the connector
> - properties.name = value for container properties
> - login = , login.property = value for LoginConfigBuilder
> - securityConstraint = , securityConstraint.property = value for SecurityConstaintBuilder
> this setup needs to call configuration.loadFromClasspath(propertiesPath) method or use the wiring of that method in arquillian tomee embedded adapter or tomee main



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)