Skip to content

Allow placeholder in headers disabled properties #6547

Closed
@rptmat

Description

@rptmat

Summary

In the xml configuration for Spring Security, the xsd fail to validate attribute disabled of the headers element when using a placeholder

Actual Behavior

error thrown: cvc-datatype-valid.1.2.1: '${security.headers.disabled}' is not a valid value for 'boolean'

Expected Behavior

it should work and resolve the property

Configuration

<security:headers disabled="${security.headers.disabled}"/>

Version

5.1.3

Metadata

Metadata

Assignees

Labels

in: webAn issue in web modules (web, webmvc)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions