SEC-2153: Can't configure port of ldap-server of security namespace with a property : xml schema require a "xs:positiveInteger" #2378
Labels
in: config
An issue in spring-security-config
in: ldap
An issue in spring-security-ldap
type: enhancement
A general enhancement
type: jira
An issue that was migrated from JIRA
Julien Graglia (Migrated from SEC-2153) said:
I cannot use a property to configure the port of the embeded LDAP server start by the "ldap-server" element of the security namespace.
It fail on XML validation as port is required to be an "xs:positiveInteger".
Note that org.springframework.security.config.ldap.LdapServerBeanDefinitionParser lookup port attribute as a ... String!
I heading to create 2 profiles to use a different port, and activate the profile with the "spring.profiles.active" property.
The text was updated successfully, but these errors were encountered: