Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1921

[tomee embedded] support to load configuration from a properties file in the classpath

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.0.2
    • None
    • None

    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

      Attachments

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: