Skip to content

Register JndiPropertySource by default in StandardServletEnvironment [SPR-8545] #13189

@spring-projects-issues

Description

@spring-projects-issues

Chris Beams opened SPR-8545 and commented

Following the changes made in #13136, it now makes sense to enable JndiPropertySource by default when using a StandardServletEnvironment, as the overhead is minimal and exceptions are no longer thrown when a property is not found in JNDI.

Remove the jndiPropertySourceEnabled flag altogether and allow users to manipulate the JndiPropertySource through the usual mechanisms available from MutablePropertySources if desired.


Affects: 3.1 M1, 3.1 M2

Issue Links:

Referenced from: commits 6db594c, f0460ce

1 votes, 1 watchers

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions