Check if managementServerProperties.getSecurity() is not null
before checking isEnabled(). It is explicitly constructed as null in ManagementServerProperties to prevent class not found errors at runtime when Security is not on the classpath. Fixes gh-2003, fixes gh-2004
Showing
Please register or sign in to comment